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

validator/share/templates/en_US error_messages.cfg,1.1,1.2

From: Olivier Thereaux <ot@dev.w3.org>
Date: Sun, 28 Nov 2004 10:34:40 +0000
To: www-validator-cvs@w3.org
Message-ID: <E1CYMO8-0005lZ-3z@lionel-hutz.w3.org>

Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv22157

Modified Files:
	error_messages.cfg 
Log Message:
adding an explanation for that awful 'VI delimiter' error message

Index: error_messages.cfg
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/error_messages.cfg,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- error_messages.cfg	19 Nov 2004 07:00:30 -0000	1.1
+++ error_messages.cfg	28 Nov 2004 10:34:37 -0000	1.2
@@ -468,6 +468,18 @@
 </msg>
 <msg 107>
   original = "the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified"
+  verbose <<.EOF.
+  <div class="ve mid-107">
+    <p>"VI delimiter" is a technical term for the equal sign. This error message 
+    means that the name of an attribute and the equal sign cannot be omitted 
+    when specifying an attribute. A common cause for this error message is 
+    the use of "Attribute Minimization" in document types where it is not allowed, 
+    in <a href="http://www.w3.org/TR/xhtml1/#h-4.5">XHTML</a> for instance.</p>
+    <p>How to fix: For attributes such as compact, checked or selected, do not write
+    e.g &lt;option selected ... but rather &lt;option selected="selected" ...
+    </p>
+  </div>
+.EOF.
 </msg>
 <msg 108>
   original = "there is no attribute %1"
Received on Sunday, 28 November 2004 10:34:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:08 UTC