XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] namespaces redux

>> My preference is to use the same string for prefix and namespace:
>>
>> xmlns:config="config"
>
> Then why bother to use namespaces at all?  The sole virtue of
> namespaces is that they can be globally unique.  Using trivial
> namespace URIs, one gets the complication and pain of namespaces and
> none of the benefit.

That's not the case though... they provide name disambiguation within
the same document - with xmlns:config="config" you could happily embed
xhtml fragments if needed, or any other xml you like in your "config"
xml.  Equally a different company elsewhere in the globe, or across
the street, can do the same in their "config" xml.  Happy days.

The only problem is if your "config" markup wants to mix with their
"config" markup, and the chances are so near zero there's no need for
the uniqueness.



-- 
Andrew Welch
http://andrewjwelch.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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

Copyright 1993-2007 XML.org. This site is hosted by OASIS