RE: exc c14n bugs
"John Boyer" <[email protected]> Tue, 4 Jun 2002 09:19:38 -0700
| Newsgroups | gmane.ietf.xmldsig |
|---|---|
| Message-ID | <[email protected]> |
Hi Merlin,
Not to be obtuse, but could you please explain exactly why the default
namespace declaration in element C disappears:
<merlin>
Ref: http://www.w3.org/Signature/Drafts/xml-exc-c14n.html
1) Bug in the Specification
Consider the following document:
<A xmlns="http://example.org/">
<b:B xmlns:b="http://example.org/b" xmlns="">
<C xmlns="http://example.org/">
</b:B>
</A>
Because we inherit xmlns="" behaviour from c14n, this
will be rendered so:
<A xmlns="http://example.org/">
<b:B xmlns="" xmlns:b="http://example.org/b">
<C></C>
</b:B>
</A>
<snip/>
</merlin>
Thanks,
John Boyer