W3C home > Mailing lists > Public > www-validator@w3.org > August 2006

Re: Valid Site html section non validating in xhtml..

From: J. Greenlees <jaqui@jaqui-greenlees.net>
Date: Thu, 10 Aug 2006 15:33:12 -0700
Message-ID: <44DBB428.50706@jaqui-greenlees.net>
To: David Dorward <david@dorward.me.uk>
CC: www-validator@w3.org

David Dorward wrote:
> On Thu, Aug 10, 2006 at 02:18:20AM -0700, J. Greenlees wrote:
>> Non Valid code in xml docuents with css:
>>   <p>
>>     <a href="http://validator.w3.org/check?uri=referer"><img
>>         src="http://www.w3.org/Icons/valid-xhtml10"
>>         alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>
>>   </p>
> If I understand your argument correctly:
> The validity of some markup is dependent on the DTD specified in the
> Doctype, not the use (or otherwise) or a stylesheet.
> The height and width attributes exist for all published versions of
> XHTML, including Strict variants. Arguably, they belong there as they
> describe the image rather then define its presentation (at least so
> long as you use them to specify the actual pixel dimensions of the
> image).
Except that when validating against the XHTML Strict DTD the image width 
and height attributes cause a failed validation, since they are 
[i]not[/i] included in the DTD attribute list for images.
by putting them into a style statement the error goes away.
Received on Thursday, 10 August 2006 22:32:52 UTC

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