W3C home > Mailing lists > Public > xml-names-editor@w3.org > February 2003

Re: Fwd: Re: [jdom-interest] Namespace issues, et al

From: Richard Tobin <richard@cogsci.ed.ac.uk>
Date: Mon, 24 Feb 2003 13:56:36 GMT
Message-Id: <200302241356.NAA25866@mcpherson.cogsci.ed.ac.uk>
To: Malachi de AElfweald <malachi@tremerechantry.com>
Cc: Tim Bray <tbray@textuality.com>, xml-names-editor@w3.org

As Tim says, the "href" attribute is in no namespace.  An appendix to
Namespaces 1.0 talked of namespaces that were "per-element partitions"
of an ordinary namespace, but that has been removed in 1.1 due to
widespread confusion about it.

As to the sentence you quote:

  The namespace name for an unprefixed attribute name is always null.

Note that it says the namespace *name* is null, not that it's in a
null namespace.  The namespace name of an element that is in no
namespace is null.  This terminology was introduced (as part of
"expanded names") in XPath, and has been merged in to Namespaces 1.1.
See section 2.1 where the terminology is defined:

  [Definition: An expanded name is a pair consisting of a namespace
  name and a local name. ] [Definition: For a name in a namespace, the
  namespace name is the IRI identifying the namespace. For a name that
  is not in a namespace, the namespace name is null.

-- Richard
Received on Monday, 24 February 2003 08:56:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:56:48 UTC