On Monday 2006-01-09 15:07 -0500, Adam Kuehn wrote: > Darn it. I hit "send" by mistake, before I verified this > claim. That is, of course, not correct. Only one ID per element is > allowed. I hate having to print retractions, but that's what I get > for doing this stuff while I'm busy with other things. Apologies, all.
This statement can be made more generally: documents must not repeat an attribute name within the same tag. In the XML spec, this is a well-formedness constraint: # Well-formedness constraint: Unique Att Spec # # An attribute name MUST NOT appear more than once in the same start-tag # or empty-element tag. -- http://www.w3.org/TR/REC-xml/#uniqattspec I suspect SGML (on which HTML4 is technically based) says something about it as well. At the very least, the W3C validator gives the nsgmls or SP error message: # duplicate specification of attribute "CLASS". -David -- L. David Baron <URL: http://dbaron.org/ > Technical Lead, Layout & CSS, Mozilla Corporation
pgpRrXg5DISlt.pgp
Description: PGP signature
______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
