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

Validating the width attribute to td element (in XHTML)

From: ewitness - Ben Fowler <bfowler@ewitness.co.uk>
Date: Sun, 20 Jan 2002 02:31:33 +0800
Message-Id: <l03130305b86ed5cbe95a@[]>
To: www-validator@w3.org
I am tracking down an apparent idiosyncracy in the validation of the td
which can be evinced through the W3C validator. I belong to class of purist who
feels that all validators should give the same result and is curious when this
does not happen.

Here is a minimal file which has the problem:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

<html xmlns="http://www.w3.org/1999/xhtml">
	<meta name="generator" content="BBEdit 6.5" />
		<td width="25%">
		<td width="25">

Now when I validate this XML against my copy of the dtd the first td element
is considered in error, as 25% is not a number. This file validates without
errors on the W3C validator. The nearest that I can get to deciding why
this is,
is the possibility that the Pixels entity in the DTD is CDATA and the apparent
constraint is not enforceable by a validator. (That statement may be nonsense).

I cannot find any discussion about this on the web or usenet, and at the moment
the search facility at the W3C is down, hence my posting about a problem which
may have a very obvious explanation to the experts here: Perhaps what I take
to be a validator is actually something else.

Incidentally, had it been possible to download the archives as it is
with, say, the conglomerate project
<URL: http://lists.copyleft.no/pipermail/conglomerate/ > then
I would have done so.

I suppose that my being in minority of ones means that everyone
else here has an aversion to plain text bordering on the pathological,
a superfast always-on connection to the Internet and the the latest
version of Internet Whatever that renders fancy pages as quickly as
vi does text.


(P.S. And a really good anti-virus program to go with that).
<URL: http://www.computrainer.com/html/improvements_to_3d.html >
<URL: http://rr.sans.org/homeoffice/protecting.php >
<URL: http://mail.lab.net/lists/archive/risks-exploder/2000-May.txt >
<URL: http://www.flipchip.net/win98opt.htm >
<URL: http://catless.ncl.ac.uk/Risks/20.66.html >
<URL: http://www.videoguys.com/WinME_Tweaks.html >
<URL: http://www.macfixit.com/archives/september.01.b.shtml >
<URL: http://people.ne.mediaone.net/atltech/pmfaq1.html >
Received on Saturday, 19 January 2002 21:32:31 UTC

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