W3C home > Mailing lists > Public > www-validator@w3.org > July 2005

Quasi Wellformedness

From: Christoph Päper <christoph.paeper@tu-clausthal.de>
Date: Tue, 19 Jul 2005 00:14:02 +0200
Message-ID: <42DC29AA.6000707@tu-clausthal.de>
To: www-validator@w3.org

Dear W3C Markup Validator developers,

many HTML authors are not familiar with the 'SHORTTAG' SGML features, 
neither are most available browsers (even acknowledged in 
<http://www.w3.org/TR/html401/appendix/notes.html#h-B.3>). Therefore I 
suggest to add an option for "quasi wellformedness" check of HTML 
documents to the Extended Interface, where 'FEATURES', esp. 'MINIMIZE', 
in the SGML declaration of HTML 
<http://www.w3.org/TR/html401/sgml/sgmldecl.html> are changed, see for 
which has

         EMPTY    NO  -- no <> --
         UNCLOSED NO  -- no <foo<bar> --
         NETENABL NO  -- no <foo/bar/ --
         EMPTY    NO  -- no </> --
         UNCLOSED NO  -- no </foo<bar> --
         DEFAULT  YES -- <foo> = <foo bar="default"> --
         OMITNAME NO  -- <foo bar="baz">, not <foo baz> --
         VALUE    NO  -- <foo bar="baz">, not <foo bar=baz> --.

I prefer

         EMPTY    YES -- </> --


         OMITNAME YES -- <foo baz>, "boolean" attributes --

and maybe you want

       OMITTAG  NO,

too. Note that HTML (4 at least) already uses Web SGML (Annexes J an K 
of ISO 8879):

   <!SGML  "ISO 8879:1986 (WWW)"

So there was actually no need to restrict 'SHORTTAG' to the simple 
format ('YES' or 'NO'), except for backwards compatibility. I assume 
there is also something like /character reference close/ (CRC) or /~ 
end/ (CRE) -- ';', which could be required.

I think this has been suggested before, when I used to follow this 
mailing list, but I couldn't find it mentioned in the bugtracker.


	Christoph Päper
Received on Monday, 18 July 2005 22:14:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:52 UTC