Re: Possible bug in exclusive canonicalization

2005-02-03 Thread Raul Benito
Hi, This fix will be unnecesary in the next release of xmlsec(1.2.1 release). Are you going to write a book(or chapter) about xml-sec? Are you goint to strees the library a little. If you find any problem please don't hesitate to report, in order to be include in the 1.2.1 release. Regards, Raul

Re: Possible bug in exclusive canonicalization

2005-02-03 Thread Elliotte Harold
On further investigation this bug appears to be related to the reuse of the Canonicalizer object. Changing the processTests method to create a new Canonicalizer before canonicalizing each document as follows fixes the problem. private static void processTests(DocumentBuilder domBuilder, Ele

Possible bug in exclusive canonicalization

2005-02-03 Thread Elliotte Harold
When processing xmltest/invalid/002.xml from the W3C XML conformance test suite using exclusive canonicalization with comments in XML-Security 1.2, the results are: However, the input document is: 002.ent is The result should be This bug is seen by my program which follows. It would be nic