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

Re: Y5 Exclusive C145n interop; was Re: c14n/exc-c14n interop samples

From: Aleksey Sanin <aleksey@aleksey.com>
Date: Mon, 03 Jun 2002 22:33:41 -0700
Message-ID: <3CFC5135.1020001@aleksey.com>
To: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>
Cc: merlin <merlin@baltimore.ie>, w3c-ietf-xmldsig@w3.org
Hi, Merlin!

One more question about tests from merlin-c14n-three.tar.gz 
<http://lists.w3.org/Archives/Public/w3c-ietf-xmldsig/2002AprJun/att-0228/01-merlin-c14n-three.tar.gz> 

The result of 11th transform in c14n-10.txt after Exc-C14N looks as follows:

 1 <bar:Something xmlns:bar="http://example.org/bar">
 2     <foo:Nothing>
 3       <foo:Something xmlns:foo="http://example.org/foo">
 4         <bar:Something>
 5           <foo:Something>
 6             <foo:Nothing>
 7               <foo:Something xmlns:foo="http://example.org/foo">
 8                 <baz:Something 
xmlns:baz="http://example.org/baz"></baz:Something>
 9               </foo:Something>
10             </foo:Nothing>
11           </foo:Something>
12         </bar:Something>
13       </foo:Something>
14     </foo:Nothing>
15   </bar:Something>

and I wonder why do we have xmlns:foo="http://example.org/foo" 
declaration on line 7?
According to http://www.w3.org/TR/xml-exc-c14n/#sec-Specification the 
namespace
node is rendered if and only if it is visibly utilized and it's prefix 
and value do not appear
in the ns_rendered list. In this case, 
xmlns:foo="http://example.org/foo" is already
added to the ns_rendered list by line 3 and from my point of view it 
should not be
rendered on line 7.

Thanks,

Aleksey.

>
> --On Freitag, 31. Mai 2002 13:18 +0100 merlin <merlin@baltimore.ie> 
> wrote:
>
>> Hi Christian,
>>
>> I've tweaked the input document slightly to show a few more
>> edge cases if you're interested; see attached:
>>
>> Merlin
>
Received on Tuesday, 4 June 2002 01:32:46 GMT

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