W3C home > Mailing lists > Public > public-xmlsec@w3.org > June 2013

Updated corrected draft: A notice about the XML canonicalization version 2.0 test cases

From: <Frederick.Hirsch@nokia.com>
Date: Tue, 4 Jun 2013 20:10:02 +0000
To: <wa.evolution@gmail.com>
CC: <PRATIK.DATTA@ORACLE.COM>, <public-xmlsec@w3.org>
Message-ID: <1CB2E0B458B211478C85E11A404A2B2701BB5218@008-AM1MPN1-034.mgdnok.nokia.com>
Pratik and I have updated the Editors Draft to correct the text in section 3.4, Namespace Re-declarations. Thanks for pointing out the error.

Please see http://www.w3.org/2008/xmlsec/Drafts/c14n-20/test-cases/Overview.html#sec-Redecl for the corrected material.

I have also generated a redline linked from the document status section but because of a tooling update it shows incorrectly changes in the examples themselves (I verifying diff'ing the source that they are the same).

All, separately I'll start a CfC to publish an update to this Note with this correction.

regards, Frederick

Frederick Hirsch

On Jun 4, 2013, at 11:20 AM, Hirsch Frederick (Nokia-CIC/Boston) wrote:


Thanks for noting this.

The two sections are different - the first paragraph of each is different and the example files are different files, see that example 26 has 3 namespace declarations, example 29 only has 2 and so on.

Section 3.3 looks correct - it certainly makes sense and corresponds to the examples.

I believe there is a mistake in section 3.4. The first paragraph is correct and outlines the example, but the text describing the result of canonicalization seems to be wrong and replicates that in 3.3 and  does not correspond to the example files (e.g. there is no  'c')

Pratik, do you have correct text for section 3.4 in your repository? I believe we need to reconstruct the correct text for 3.4.

regards, Frederick

Frederick Hirsch

On Jun 3, 2013, at 9:54 AM, ext hakim wahab wrote:


I was implementing the XML canonicalization version 2.0. But when reading the test cases [ http://www.w3.org/TR/xml-c14n2-testcases ] to understand more how it works, I have found that the part:
3.3 Sorting namespace declarations [ http://www.w3.org/TR/xml-c14n2-testcases/#sec-Sort ]
and the part:
3.4 Namespace Re-declarations [ http://www.w3.org/TR/xml-c14n2-testcases/#sec-Redecl ]

are the same.

May you take a look please and notify me whether it is just a mistake or something else.

And thanks,

Best regards,
WAHAB Abdel Hakim,
Computer Engineer at TrustTIC
Received on Tuesday, 4 June 2013 20:09:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:19 UTC