[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: 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] |
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
|