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

Re: MarkUp Validator's new clothes

From: Terje Bless <link@pobox.com>
Date: Fri, 16 Apr 2004 22:37:54 +0200
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: olivier Thereaux <ot@w3.org>, validators community <www-validator@w3.org>
Message-ID: <b02010202-1033-F0C1A86F8FE511D88B730030657B83E8@[193.157.66.23]>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bjoern Hoehrmann <derhoermi@gmx.net> wrote:

>A number of problems can be solved if the validator would report the
>current open element(s)

This is certainly possible to do, but I don't know if it can be easily done in
a manner that is actually usefull. One problem I forsee is that the listing of
open elements will be distracting for a great many error messages, and
misleading for a few of the rest, leaving the net benefit from this rather
less than initially envisioned.

If you want to take a stab at this, getting open elements information is a
simple commandline switch to onsgmls; and you'll need to modify the error
output parsing as well as the HTML display code to implement it.

Just as a reminder; the error parsing code is, as you know, very fragile. So
thread carefully when you modify it!

- -- 
"Temper Temper! Mr. Dre? Mr. NWA? Mr. AK, cominĀ“
 straight outta Compton and y'all better make way?"            -- eminem

-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.0.3

iQA/AwUBQIBEIKPyPrIkdfXsEQIeQQCgplTrIrSG6Nsjatz1C470JoEiITgAniNd
I2YiFM4xu119pUuwPNamdkzb
=g8mO
-----END PGP SIGNATURE-----
Received on Friday, 16 April 2004 16:51:48 GMT

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