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

RE: exc c14n bugs

From: John Boyer <JBoyer@PureEdge.com>
Date: Tue, 4 Jun 2002 09:19:38 -0700
Message-ID: <7874BFCCD289A645B5CE3935769F0B523287BE@tigger.PureEdge.com>
To: "merlin" <merlin@baltimore.ie>, <w3c-ietf-xmldsig@w3.org>



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
Received on Tuesday, 4 June 2002 12:20:09 GMT

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