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

Original Message From: "Michael Sokolov" 
> On 10/16/2012 6:47 AM, Andrew Welch wrote:
>>>> 3. Avoid using URLs, the globally unique benefit
>>>> is far outweighed by the confusion cost
>>> Are you recommending that URNs be used rather than URLs?
>> I'm advocating simple strings for simple cases, for example for a
>> config file someone might be tempted to use:
>> xmlns:c="http://mycomp.com/someproduct/v1.1/config/";
>> whereas they could just do:
>> xmlns:c="config"
> My preference is to use the same string for prefix and namespace:
> xmlns:config="config"

In that case, wouldn't it be easier to just do:


and side step the who namespace issue altogether?

Pete Cordell
Codalogic Ltd
Twitter: http://twitter.com/petecordell
Interface XML to C++ the easy way using C++ XML
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
for more info

[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