Re: Differences between validator output and nsgmls output

On Wed, 4 Aug 2004, Jirka Kosek wrote:

> I always thought that validator internally uses nsgmls from SP package.
> However if you try validator on the following page
>
> http://www.pixy.cz/blogg/clanky/w3-validator-bugs/valid.html
>
> you will get no errors.

That's a classic case of a reduced SGML form.  The validator is correct
insofar as it is checking against the HTML spec.  The bug is in the spec
itself.

Solution is to use a slightly stricter parse mode.  See
http://valet.webthing.com/page/parsemode.html

Your nsgmls.exe may have been run with different options, or using a
doctored version of the SGMLDECL for HTML.

-- 
Nick Kew

Received on Wednesday, 4 August 2004 10:46:35 UTC