W3C home > Mailing lists > Public > www-style@w3.org > January 2006

Re: Selectors: section 6.5: Error

From: <leslie.brown@evidian.com>
Date: Fri, 6 Jan 2006 09:42:53 +0100
To: www-style@w3.org
Message-ID: <OFF51C113C.84EB5E9A-ONC12570EE.002EB831@evcl.evidian.com>
I'm just speculating here (not a developer)...

As multiple occurrences of the same ID indicate an error anyway, would a 
pragmatic solution (in the sense of simplifying code)  be to use the LAST 
one encountered?

This would be consistent with the deletion+insertion case mentioned 

> Physically, the determination could be done when the ID attribute is
> encountered in the initial parse or as the result of the deletion or
> insertion of an ID attribute (and possibly its containing element).

...and would possibly be closer to the author's intention when 
"forgetting" to delete the original element before inserting an element 
with a duplicate ID.

Les Brown
Received on Friday, 6 January 2006 08:41:49 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:22 UTC