Re: Names beginning with "xml"

>> I would expect more people to intuitively guess the meaning of id=
>> than xml:id=

For example, what will the parser do with this:

<node xml:id="123">aaa</node>
<node xml:id="123">bbb</node>

what about this?

<node xml:id="a123">aaa</node>
<node xml:id="a123">bbb</node>

...what will id('123') and id('a123') return etc

It's really not obvious at all, and often it's different to the
behaviour you want anyway.


-- 
Andrew Welch
http://andrewjwelch.com

Received on Monday, 20 August 2012 10:48:09 UTC