W3C home > Mailing lists > Public > www-validator@w3.org > January 2002

Re: Validating the width attribute to td element (in XHTML)

From: Gannon Dick <gdick@gte.net>
Date: Mon, 21 Jan 2002 01:06:25 -0600
Message-ID: <000c01c1a24a$24966440$9a89e041@home2>
To: <www-validator@w3.org>
Might be an SP problem with the W3 Validator.
There is some fine print to read ...

More likely it's just a problem with the DTD mechanism which has no way to differentiate
character sets (in the Regular Expression sense) ... it's all PCDATA.

Using MSXML2.DOMDocument.4.0[.3.0] against the DTD throws no errors either.  BTW the width attribute is only defined in the 'transitional' DTD, the 'strict' DTD does not have it ... so if changed to 'strict' the validation then fails, as it should.

ABTW, for a pristine validation with the W3 Validator, declare the Character Encoding ...
e.g. <meta http-equiv="Content-type" content="text/html; charset=utf-8" />

Gannon Dick
mailto:gdick@gte.net



Received on Monday, 21 January 2002 02:02:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:00 GMT