Bug 49692

Summary: xmlsec 1.4.3 not compatible with xmlbeans 2.4.0
Product: Security - Now in JIRA Reporter: coheigea <coheigea>
Component: EncryptionAssignee: XML Security Developers Mailing List <security-dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: Java 1.4.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description coheigea 2010-08-03 06:23:21 UTC
See this bug for details:

https://issues.apache.org/jira/browse/WSS-235

IdResolver.java was refactored from release xmlsec/1.3.0 to xmlsec/1.4.3.

Symptoms:
java.lang.NullPointerException
    at org.apache.xml.security.utils.IdResolver.isElement(Unknown Source)
    at org.apache.xml.security.utils.IdResolver.getEl(Unknown Source)
    at org.apache.xml.security.utils.IdResolver.getElementBySearching(Unknown Source)
    at org.apache.xml.security.utils.IdResolver.getElementById(Unknown Source)
    at org.apache.xml.security.utils.resolver.implementations.ResolverFragment.engineResolve(Unknown Source)
    at org.apache.xml.security.utils.resolver.ResourceResolver.resolve(Unknown Source)

Problem:
Under certain circumstances, the ID attribute of an XML node in the XMLBeans DOM implementation is treated as !nodeCanHavePrefixUri