Re: validator error?

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 UTC