W3C home > Mailing lists > Public > public-xmlsec-maintwg@w3.org > August 2007

Comments on test case doc

From: Sean Mullan <Sean.Mullan@Sun.COM>
Date: Mon, 13 Aug 2007 15:51:38 -0400
To: public-xmlsec-maintwg@w3.org
Message-id: <46C0B64A.3050707@sun.com>

Hi Juan Carlos,

Here are some initial comments on the test case doc. I'll need to go 
through it again when I have more time.

3.2 Test cases on C14N 1.1

- I think we can manually fill in the output sections of the table now. 
This will help get interoperability testing started.

- I would suggest that for the positive test cases, that we also include 
a signature that can be validated (in addition to the raw c14n output). 
This is how the previous tests for W3C XML DSig were done, and it is 
really helpful for providing test data/vectors (signatures) when 
developing a test suite.

- I agree with Frederick's comment about the negative test cases, that 
is I don't see how they are very useful.

- The example in section 3.2.4.1 gets truncated if you print out the 
document (specifically the CanXML11XMLBaseDoc1 element). It needs to be 
broken up into several lines or left justified.

3.3 Test cases on implicit/explicit rules for canonicalization

- In response to your editorial note, I don't think what you described 
is a valid sequence of transforms. The Base64 transform is a decoding 
transform, not an encoding transform. Section 6.6.2 of the XML Signature 
Rec. describes how it behaves if an XPath node-set is input. Does this 
answer your question?
Received on Monday, 13 August 2007 19:55:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:22:01 GMT