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

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 UTC