[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] namespaces redux
- From: "Pete Cordell" <petexmldev@codalogic.com>
- To: "Michael Sokolov" <sokolov@ifactory.com>,"Andrew Welch" <andrew.j.welch@gmail.com>
- Date: Wed, 17 Oct 2012 10:56:16 +0100
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:
<config.foo>...</config.foo>
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]