OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Re: URIs, concrete (was Re: [xml-dev] Un-ask the question)

[ Lists Home | Date Index | Thread Index ]

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@ktlim.com, UTF-7: +Z5de+pBU-




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS