W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > July to September 2000

C14n and Default namespace

From: John Boyer <jboyer@PureEdge.com>
Date: Mon, 28 Aug 2000 16:58:06 -0700
To: "XML DSig" <w3c-ietf-xmldsig@w3.org>
Hello all,

I am writing to ask (esp. implementers) about the feasibility of a
behavioral tweak to c14n.

In the XPath data model, a non-empty default namespace is represented by a
namespace node, but an empty default namespace is represented by the absence
of a namespace node.

Therefore, when there is no default namespace node in a node-set, we cannot
tell whether that is so because it was excluded or because the namespace
declaration is actually empty.

To deal with this issue, I start out the namespace context of every element
by putting xmlns="" if the element has no default namespace.  Someone
expressed minor annoyance over the verbosity of this.

Question is, do you want it changed to the following:

If there is no default namespace node, then
    if the parent is omitted from the node-set or if the parent's default
namespace is non-empty, then generate an xmlns=""


     John Boyer
      Development Team Leader,
      Distributed Processing and XML
      PureEdge Solutions Inc.
      Creating Binding E-Commerce
      v: 250-479-8334, ext. 143  f: 250-479-3772
      1-888-517-2675   http://www.PureEdge.com

(image/gif attachment: LINE.gif)

(image/jpeg attachment: PureEdge.jpg)

Received on Monday, 28 August 2000 19:58:05 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:21:34 UTC