Hi,
I'm hoping you can help me. We are having a problem with
canonicalisation in our Java application. It appears to be mangling
unicode characters in a UTF-8 when run on a Windows PC using it's
default charset of cp1252.
We have XMLSEC in our Java endorsed directory.
When we call the canonicalisation transform:
Transform transform = XML_SIGNATURE_FACTORY.newTransform(
CanonicalizationMethod.EXCLUSIVE, (TransformParameterSpec) null);
It seems to trigger some reserialisation of the XML document using the
default charset instead of using the charset defined for the XML
document to be signed.
Regards,
Greg.