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

[VE][247] New Error Message Suggestion

From: Gerrit Kaiser <gk@planetgk.de>
Date: Sun, 31 Aug 2003 17:07:01 +0200
To: www-validator@w3.org
Message-Id: <C607C7D0-DBC4-11D7-BE02-000A959DE382@planetgk.de>

This error occured when feeding the validator a HTML4.01 
(strict)-document with markup that uses the short tag-closing method 
mandatory in XML but not allowed in HTML4 (e.g. <img />)
The current error message reads as follows:
NET-enabling start-tag requires SHORTTAG YES

Which is, well, not exactly self-explanatory for the average web 
author. An explanation that needs an explanation is a bad explanation 
;), and therefore I suggest to change the message to something along 
the lines of:

This error commonly occures when you close an empty element with '/>'. 
This is not allowed in the version of HTML you are using. Either 
rethink your choice of the doctype or remove the '/' from the element's 
start tag.

{Gerrit Kaiser} Oldenburg, Germany
Received on Sunday, 31 August 2003 11:14:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:38 UTC