- From: Shane McCarron <shane@aptest.com>
- Date: Tue, 18 Dec 2007 13:30:25 -0600
- To: Daniele Nicotra <daniele.nicotra@gmail.com>
- CC: "www-html-editor@w3.org" <www-html-editor@w3.org>
The XHTML 1.0 Second Edition spec contains a DTD, and that DTD [1] indicates the style element takes an id attribute. The normative DTD itself at [2] also says this. Your document, on the other hand, claims to be XHTML 1.1. XHTML 1.1 Second Edition DOES indeed permit the id attribute on the style element. It is not yet a Recommendation, nor is the updated XHTML Modularization 1.1 on which it depends. Perhaps the validator is not using the latest version of the XHTML 1.1 Second Edition DTD because it is not yet a rec? [1] http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict [2] http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd Daniele Nicotra wrote: > Hello Dustin. > It's not me saying that but the w3c validator. > I provide here a link to validate a simple document I created just to test this: > http://validator.w3.org/check?uri=http%3A%2F%2Fsanpioxct.freehostia.com%2Ftest.php&charset=%28detect+automatically%29&doctype=Inline&group=0&verbose=1 > > If it is possible to use the "id" attribute with <style> tag, then the > problem must be in the validator, is it so? > > Please let me know. > > -- Shane P. McCarron Phone: +1 763 786-8160 x120 Managing Director Fax: +1 763 786-8180 ApTest Minnesota Inet: shane@aptest.com
Received on Tuesday, 18 December 2007 19:30:50 UTC