Problem with your HTML validation service and XML

Dear Sirs,

I have enchanted a big problem with the HTML Validation Service, when
validating Transitional HTML documents that are well formed, like the
extract below. This is really annoying, since this makes it impossible
to have a proven valid Transitional HTML file which is also XML ready
(for later conversion to XHTML).... BTW: I can not use XHTML yet,
because your other XHTML validator will fail on some width, height
attributes that I am using to keep compatibility with old browsers.

Sincerely,
Morten Christensen,
AArhus, Denmark

-------

INPUT (notice the XML compliant end '/' of the meta tag.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en"><head>
<meta content="text/html;charset=iso-8859-1" http-equiv="content-Type"
/>
...

OUTPUT:
    Line 3, column 72:

       ... ml;charset=iso-8859-1" http-equiv="content-Type" />
                                                             ^

     Error: character data is not allowed here

Received on Monday, 26 February 2001 22:07:39 UTC