Francisco Sepulveda wrote:
I'm sorry Sean for bothering you ... I have just figure out that one specify that in the DOMSignContext part of the code ... =)

Correct.

I'm sure that using the getElementByID method of the Document class is a good point to start right? ... So far i did that but i get Exception in thread "main" java.lang.NullPointerException: parent cannot be null That is because i must use an xml schema to demostrate that the ID attribute is a valid "ID Attribute" for the
xml document being signed?

Correct, or you need to use some other way to locate that element. If you don't use a schema, you will need to also manually register the element with the ID attribute by calling the setIdAttributeNS method of DOMSignContext. This will allow the implementation to resolve the Reference URI.

--Sean

Reply via email to