Hi,

When I parse an XML file with a x509 certificate in it, Xerces transforms
the newlines in the x509 certificate (these certificates usually break
lines at column 64) and transforms those into spaces:

parser->resetDocumentPool();
parser->parse(*input);
*document = parser->getDocument();

Later on, Apache Santuario is not able to verify the signature of the XML
message, because the digest does not match: newlines were replaced by
spaces.

How can I tell Xerces to parse the XML message as it is, i.e. don't convert
newlines in space, at least in the x509 certificate?

Thanks.

João M. S. Silva

Reply via email to