santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raul Benito" <r...@apache.org>
Subject Re: c14n test vectors
Date Tue, 29 May 2007 13:38:27 GMT
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 <juan.m.da.cruz.pinto@intel.com> wrote:
> 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 content. Each of the 9 XPath
> expressions is used for the tests from 00 to 26 (they repeat for
> inclusive, exclusive & exclusive with inclusive prefix list... which are
> the first 27 tests). The last test (c14n-27.txt) just canonicalizes the
> entire SignedInfo subtree.
>
> Thanks in advanced,
> Marcelo.
>
>
>
> -----Original Message-----
> From: raul.benito.garcia@gmail.com [mailto:raul.benito.garcia@gmail.com]
> On Behalf Of Raul Benito
> Sent: Tuesday, May 29, 2007 05:07
> To: security-dev@xml.apache.org
> Subject: Re: c14n test vectors
>
> 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 <juan.m.da.cruz.pinto@intel.com>
> wrote:
> >
> >
> >
> >
> > Hi Everybody,
> >
> >
> >
> > Are there any unit tests in the code to test c14n interoperability?
> I've
> > been trying to test the "merlin-c14n-three" test vectors, but some of
> the
> > tests inside it are failing.
> >
> > My environment:
> >
> > -          XML Security 1.4.1 library
> >
> > -          Using XMLUtils.circumventBug2650(document) to spread
> namespaces
> > declaration.
> >
> > -          Using XMLUtils.createDSctx(...) to create a namespace
> context.
> >
> > -          Using XPathAPI.selectNodeList(document, xpath, nsc) to
> select the
> > XPath node-set.
> >
> > -          Using
> > Canonicalizer.canonicalizeXPathNodeSet(NodeList) to
> > canonicalize the XPath node-set.
> >
> >
> >
> > The tests (of merlin-c14n-three) that are failing are 03, 10, 18 & 19.
> I'm
> > quite sure I'm doing something wrong... but don't now what.
> >
> >
> >
> > Thanks in advanced!
> >
> > Marcelo.
>
>
> --
> http://r-bg.com
>
>


-- 
http://r-bg.com

Mime
View raw message