- From: Daniel Veillard <veillard@redhat.com>
- Date: Mon, 7 Feb 2005 06:59:17 -0500
- To: Anne van Kesteren <fora@annevankesteren.nl>
- Cc: public-xml-id@w3.org
On Mon, Feb 07, 2005 at 12:41:32PM +0100, Anne van Kesteren wrote: > >>Although I am too late for last call comments I was wondering if > >>the WG could clarify which ID attribute should get presedence when > >>multiple are applied to a single element. > > > >Could you explain what you mean by "presedence" there ? > > # <p xmlns="http://www.w3.org/1999/xhtml" id="foo" xml:id="bar"/> > > Which ID attribute is considered to be the ID attribute of the element? > (What is the value of the ID attribute of this element when I request > it.) Or can a well-formed XML document have multiple ID attributes per > element albeit invalid XML? the later. An invalid but well-formed XML document can have multiple attribute of type ID per element. #bar and #foo will both point to it, non validity generated a loss of unicity, that's all. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
Received on Monday, 7 February 2005 11:59:20 UTC