W3C home > Mailing lists > Public > www-validator@w3.org > February 2001

Problem with your HTML validation service and XML

From: Morten M. Christensen <mmc@navigosystems.com>
Date: Wed, 21 Feb 2001 17:50:41 -0500 (EST)
Message-ID: <3A944678.1AC2B110@navigosystems.com>
To: www-validator@w3.org, gerald@w3.org
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.

Morten Christensen,
AArhus, Denmark


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

    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

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