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

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 UTC