W3C home > Mailing lists > Public > www-validator@w3.org > August 2004

Re: Differences between validator output and nsgmls output

From: Nick Kew <nick@webthing.com>
Date: Wed, 4 Aug 2004 15:45:59 +0100 (BST)
To: Jirka Kosek <jirka@kosek.cz>
Cc: www-validator@w3.org
Message-ID: <Pine.LNX.4.53.0408041541330.2014@hugin.webthing.com>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:08 UTC