XML Digital Signature throws NAMESPACE_ERR exception under OpenJDK 11 that works under Java SE 8, 9 and 10
Sean Mullan
sean.mullan at oracle.com
Fri Feb 15 21:27:04 UTC 2019
On 2/14/19 5:54 PM, Joe Wang wrote:
>> his is the ASCII code for a carriage return, encoded in XML. I don't
>> know why that behavior is different in JDK 11. This would be a
>> question for the XML developers. I have copied Joe Wang, to see if he
>> might know.
>
> Hi Sean,
>
> There hasn't been functional change to that area between JDK 10 and 11
> that I'm aware of. If you believe there's a behavior change, or you
> could isolate the issue down to the java.xml/xml processor, please file
> a bug. I'll be happy to investigate.
Never mind, I determined that this was a change in the way XML signature
data was being base64 encoded. It seems like an innocuous change though
and doesn't appear to break anything.
--Sean
More information about the security-dev
mailing list