- From: Anne van Kesteren <fora@annevankesteren.nl>
- Date: Tue, 24 Aug 2004 21:08:35 +0200
- To: Grant Husbands <www-html-editor@grant.x43.net>
- CC: www-html-editor@w3.org
> I've recently been validating a document that has an id attribute on a > script tag. According to the XHTML 1.0 DTD, that seems to be valid. > According to the XHTML 1.1 DTD, it does not seem to be valid. However, > Appendix A in XHTML 1.1 does not list the removal of that id as a change > from XHTML 1.0. Also, two of the four validators that I've tried (Page Valet > and ARealValidator) claim that id isn't a valid attribute of script, anyway, > regardless of the XHTML DTD used (I've e-mailed the authors of those, > separately). > > The id for the script in the page I'm validating is going to be removed, > because it's not very useful, but XHTML 1.1 would seem to be in error in > removing that attribute, according to its own appendix. > > Or am I barking up the wrong tree? I used to think that too (although it was about a different ID attribute)[1]. Now I think of it again, it probably has to do with the fact that XHTML 1.1 only marks the changes between XHTML 1.0 *First Edition* and XHTML 1.1, not between XHTML 1.1 and XHTML 1.0 *Second Edition*. I still think the W3C should update the XHTML Modularization Second Edition working draft (XHTML 1.1 was based on the First Edition) to include the ID, CLASS and possibly the TITLE attributes on every element. [1]<http://annevankesteren.nl/archives/2003/08/html-id> -- Anne van Kesteren <http://annevankesteren.nl/>
Received on Tuesday, 24 August 2004 19:09:08 UTC