|
[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)
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








