W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > January to March 2002

Additional test cases for Exclusive XML Canonicalization

From: Gregor Karlinger <gregor.karlinger@cio.gv.at>
Date: Tue, 26 Mar 2002 12:32:08 +0100
To: "Joseph M. Reagle Jr. \(Joseph M. Reagle Jr.\)" <reagle@w3.org>
Cc: "XMLSigWG" <w3c-ietf-xmldsig@w3.org>, "John Boyer" <jboyer@PureEdge.com>, "Donald Eastlake" <Donald.Eastlake@motorola.com>
Message-ID: <00c301c1d4b9$ddb21b80$a28730c2@iaik.at>
Joseph,

please find attached four additional test cases for 
C14N and EC14N. 

Each test file is XML and contains:

  - The XML to be filtered with an XPath Transform according
    to XMLDSIG

  - The XPath to be applied to the XML

  - The intended output of canonicalizing the result of the
    XPath transform with C14N, together with annotations what
    the test case should show

  - The intended output of canonicalizing the result of the
    XPath transform with EXC-C14N, together with annotations
    what the test case should show

So, the following steps are necessary to use the test cases:

  1. Get the bytes of the test case file

  2. Apply a XPath Transform with the appropriate XPath 
     (specified in a comment in the test case file)

  3. Apply C14N and EXC-C14N respectively to the result of
     the XPath Transform.

  4. Compare the result of C14N and EXC-C14N respectively
     with the intended result shown as comment in the
     test case file.

Liebe Gruesse/Regards, 
---------------------------------------------------------------
DI Gregor Karlinger
mailto:gregor.karlinger@iaik.at
http://www.iaik.at
Institute for Applied Information Processing and Communications
Austria
---------------------------------------------------------------
 


Received on Tuesday, 26 March 2002 06:32:17 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.29 : Thursday, 13 January 2005 12:10:15 GMT