W3C home > Mailing lists > Public > www-validator@w3.org > October 2003

Re: Possible bug in Validation service

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
Message-ID: <3f9d92b8.6959847@smtp.bjoern.hoehrmann.de>

* 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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:38 UTC