- From: Andrew Welch <andrew.j.welch@gmail.com>
- Date: Mon, 20 Aug 2012 11:47:42 +0100
- To: David Carlisle <davidc@nag.co.uk>
- Cc: public-microxml@w3.org
>> 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