[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
Mike Brown wrote:
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

This is not a problem.  Under Simon's interpretation, the "lang"
attribute is in the same namespace as the element, to wit,
"http://www.w3.org/1999/xhtml".  There is no conflict between
this and the "xml:lang" attribute, which is in a separate namespace.

The same goes for the "attribute versioning" example.

> > <x:y xmlns:x="http://example.com/" x:a="1" a="2" />

This is a different issue: the "a" attribute under Simon's
interpretation is in the same namespace as the element --
which is also the same namespace as the "x:a" attribute.

Everyone agrees that a namespace is a collection of related
names, whether they be for elements or attributes.  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.

-- 
Kian-Tat Lim, ktl@k..., UTF-7: +Z5de+pBU-

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.