This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
From XHTML1 Transitional DTD: <!ENTITY % Length "CDATA"> <!-- nn for pixels or nn% for percentage length --> ------- The DTD imples that the unit lengths for image width and height should *not* be specified when declared in pixels. Yet the following does not result in an error or warning: img src ="foo.jpg" width="200px" height="100px" alt=""
(In reply to comment #0) > The DTD imples that the unit lengths for image width and height should *not* be > specified when declared in pixels. Actually, no, the DTD only states that the length is CDATA, which has no constraint for units or any such things. > <!ENTITY % Length "CDATA"> This is only a comments... And therefore not something a DTD-aware parser can enforce. > <!-- nn for pixels or nn% for percentage length --> Enforcing such constraints would be the job for a full conformance checker, not a "mere" validator. Closing as "not a bug" for this particular tool, although obviously the need for something beyond validation is known.