How can I validate an XML Signature when a namespace prefix changes?
问题 All, I am testing some java code that validates an XML digital signature. I am using the standard JSR 105 API in the JDK. I am using an Exclusive Canonicalization method and an Enveloped signature. The incoming XML message looks something like this: <doc xmlns:a="urn:abc.my.domain.com"> <a:x>12345</a:x> </doc> This message goes through a complex system with various XML parsers (CXF, JAXB, XSLT, etc.) and somehow gets changed to this: <doc xmlns:b="urn:abc.my.domain.com"> <b:x>12345</b:x> <