Re: c14n test vectors

2007-05-29 Thread Raul Benito
Hi Marcelo, It is strange, I think that Merlin interop test is our unittest suite. Can you send the differences? Regards, Raul On 5/28/07, Da Cruz Pinto, Juan M <[EMAIL PROTECTED]> wrote: Hi Everybody, Are there any unit tests in the code to test c14n interoperability? I've been tryi

RE: c14n test vectors

2007-05-29 Thread Da Cruz Pinto, Juan M
Hi Raul, I'm attaching the files which where different in my case (for merlin-c14n-three). Again, I'm still trying to figure out what I did wrong, but the steps I did where quite simple. I'm also attaching a file called "xpaths01.txt" which holds the XPath expressions used to filter the XML conte

Re: c14n test vectors

2007-05-29 Thread Raul Benito
We have this test vector in our test suite. And they are passing, can you look at this data: xml-se/data/interop/c14n/Y4 And the test code xml-sec/src_unitTests/org/apache/xml/security/test/c14n/implementations/ExclusiveC14NInterop.java Regards, Raul On 5/29/07, Da Cruz Pinto, Juan M <[EMAIL

RE: c14n test vectors

2007-05-29 Thread Da Cruz Pinto, Juan M
Raul, Thanks for your answer! I've been looking at the code of that class, and I noticed that a signature verification is done, and then the c14n parts are extracted from the XMLSignature object, using something similar to signature.getSignedInfo().item(i).getContentsAfterTransformation().getBy te

Signature and children - redundant namespace declarations

2007-05-29 Thread Brent Putman
When I generate a signature using XMLSignature, the library is redundantly adding the signature namespace declaration on every child element of the ds:Signature element. Is there any way that this behavior can be avoided or turned off? Am I doing something wrong? I looked in the docs, I couldn't