[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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


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


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?

...

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.