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

Re: Re: URIs, concrete (was Re: Un-ask the question)


Re:  Re: URIs

Kian-Tat Lim wrote:

> Everyone agrees that a namespace is a collection of related
> names, whether they be for elements or attributes.

I most emphatically do *not* agree with this [*].

An XML namespace as defined by "Namespaces in XML" is *not* a
collection of related names in any meaningful sense.

The "collection of names, identified by a URI reference"
mentioned in [XMLNS] section 1 paragraph 4 consists of
the countably infinite set of qualified names that have
that URI as their namespace name.  That's it.

For example, in:

    <html:html xmlns:html="http://www.w3.org/1999/xhtml">
	<html:head>
	    <html:OZZY-R00LZ/>
	</html:head>
	<html:body/>
    </html:html>

the first child of the 'html:head' element does not belong
to the XHTML vocabulary, is not defined in any of the XHTML DTDs,
and may not appear in a valid XHTML document; yet it is
unquestionably, incontrovertibly "in the XHTML namespace".
This is not a useful distinction.


> The whole
> problem seems to me to be a dispute between those who think
> names in no namespace belong to no collection and thus should
> be avoided and those who think names in no namespace are
> "locally scoped" -- defined in some ineffable way by their
> parent but not belonging explicitly to the parent's namespace.


That sounds about right.  I think the whole problem
goes away once we dispose of the notion that "being
in a namespace" has any more semantic import than,
say, "starts with a vowel".


[*] Unless by "namespace" you mean what [XMLNS] calls a
   "Traditional Namespace."  Then I agree.


--Joe English

  jenglish@f...

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.