[dsdl-comment] Re: [xml-dev] DSDL: use cases: namespace declaration notation

From: james anderson <james.anderson@setf.de>
Date: Fri Jun 14 2002 - 14:00:35 UTC

Michael Kay wrote:
>
> > Actually, I think we disagree only on the point of whether
> > non-qualified names in the absence of a default namespace are
> > "in" a namespace. We both agree that they can be treated as
> > being in a null namespace, and both theory and practice
> > proceed nicely from that point.
>
> There is no null namespace. We can say that the namespace of a name is
> null, meaning that the name is in no namespace; but it is wrong to say
> that the name is in the null namespace, because there is no such thing.
>
> Of course, there is a set of names containing all names that are in no
> namespace, and since a namespace is essentially a set of names (despite
> the assertion of the Namespaces REC to the contrary), it would have been
> easy and elegant to define this set as a namespace; but the spec chose
> not to do that. Every namespace is a set of names, but not every set of
> names is a namespace.

There is a set of names which is named "".

  [Definition:] An XML namespace is a collection of names, identified by a URI reference [RFC2396], ...

The null prefix is bound to this set by default. The null prefix is the only prefix which a conforming document can bind to this
namespace. In which ways is this set of names not a namespace?

...

--
DSDL comments
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-comment-request@dsdl.org
(mailto:dsdl-comment-request@dsdl.org?Subject=unsubscribe)
Received on Fri Jun 14 09:52:41 2002

This archive was generated by hypermail 2.1.8 : Fri Dec 03 2004 - 14:00:26 UTC