I have a Java application for signing XML documents. After upgrading Java to the latest version (Java7u25) it stops working. I get the following error:
javax
i faced the same issue and also tracked it down to the code snippets mentioned by Cerber. I'm curious whether this is a bug or a change made on purpose.
With the information given in this thread Java XML DOM: how are id Attributes special? i was able to get things back to work again.
In a nutshell the 'ID' attribute has to be of type 'xs:ID' (and not e.g. 'xs:string') for the Dereferencer to find it. Also note that depending on your use of a DocumentBuilderFactory the XML schema must be set.