W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2002

Re: Tags lacking a terminating '>' are spotted

From: Liam Quinn <liam@htmlhelp.com>
Date: Wed, 13 Feb 2002 18:34:29 -0500 (EST)
To: "Richard A. O'Keefe" <ok@atlas.otago.ac.nz>
cc: <html-tidy@w3.org>
Message-ID: <Pine.LNX.4.33L2.0202131831520.2554-100000@localhost.localdomain>
On Thu, 14 Feb 2002, Richard A. O'Keefe wrote:

> Why on _earth_ would the SGML designers make this entirely harmless feature
> depend on SHORTTAG?  As far as I can see, the only benefit is to make SGML
> parsers slower (because they'd have to make an otherwise unnecessary check
> of SHORTTAG) and to link this feature with an extremely dangerous one (<>).
>
> However, the fact that they _are_ linked means that people who develop
> HTML pages using an SGML parser to check them for validity (like me) still
> need to use HTML Tidy to check that <>, </>, <x//, <x<y> and so on are not
> used, because an SGML parser won't complain about them.

In the case of nsgmls, it will complain if you use -wmin-tag on the
command line.  The WDG HTML Validator [*] uses this when warnings are
enabled.

[*] http://www.htmlhelp.com/tools/validator/

-- 
Liam Quinn
Received on Wednesday, 13 February 2002 18:34:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:51 GMT