- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Sat, 25 Oct 2003 13:10:38 +0200
- To: Pierre St-Laurent <p_st_laurent@globetrotter.net>
- Cc: www-validator@w3.org
* Pierre St-Laurent wrote: >The code example of "Referencing Style Elements when serving as XML" >(Section C-14 of http://www.w3.org/TR/xhtml1/#guidelines ) doesn't >validate if we change the doctype from xhtml 1.0 strict to xhtml 1.1. > >I get an error from the validator : > >Line 8, column 26: there is no attribute "id" (explain...). > > <style type="text/css" id="internalStyle"> > >The error is absent from the same code with a xhtml 1.0 strict doctype. Please complain to <www-html-editor@w3.org>. The Validator is right, the DTDs are wrong, suboptimal, whatever. XHTML 1.0 **Second Edition** was the first HTML/XHTML specification that declared an id attribute for the <style> element, XHTML M12N / XHTML 1.1 are however based on XHTML 1.0 First Edition. I do not understand this change nor do I understand C.14.
Received on Saturday, 25 October 2003 07:10:39 UTC