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

Re: validator error?

From: Nick Kew <nick@webthing.com>
Date: Wed, 12 Feb 2003 22:47:57 +0000 (GMT)
To: "Gannon J. Dick" <gdick@verizon.net>
cc: Joseph Konczal <joseph.konczal@nist.gov>, www-validator@w3.org
Message-ID: <Pine.LNX.4.21.0302122242030.1711-100000@jarl.webthing.com>

On Wed, 12 Feb 2003, Gannon J. Dick wrote:

> Open SP is a SAX parser,

Strictly speaking, SAX is an XML API.  Setting that aside, you're
right of course.

> I may be totally wrong about this, but I'm sure some of the W3C Validator
> experts can be more specific.

Your answer looks good to me.

> > HTML 4.01 Transitional    162
> > HTML 4.01 Strict          131

A little surprising.  But it's not too hard to concoct an example.
For example, an HTML document using XHTML syntax in the HEAD section:
  <meta ..... />
In HTML strict, that's one error.  But in Transitional, the / terminates
the meta element, and the > then becomes (valid) loose body text,
implying </head><body> so the remainder of the HEAD and the <body>
generate a long cascade of essentially-bogus errors.

-- 
Nick Kew
Received on Wednesday, 12 February 2003 17:48:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:05 GMT