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

markup-validator commit: Improve "NET-enabling start-tag requires SHORTTAG YES" warning explanation.

From: Mercurial notifier <nobody@w3.org>
Date: Wed, 16 Nov 2011 22:28:21 +0000
Message-Id: <E1RQnxt-00084Z-TF@mcbain.w3.org>
To: markup-validator updates <www-validator-cvs@w3.org>
changeset:   3258:78e60f589ddd
user:        Ville Skyttä <ville.skytta@iki.fi>
date:        Thu Nov 17 00:24:10 2011 +0200
files:       htdocs/docs/errors.html share/templates/en_US/error_messages.cfg
description:
Improve "NET-enabling start-tag requires SHORTTAG YES" warning explanation.

The behavior is not exclusive to strict doctypes nor HTML 4.01.


diff -r 70128d3804c4 -r 78e60f589ddd htdocs/docs/errors.html
--- a/htdocs/docs/errors.html	Mon Nov 14 22:45:43 2011 +0200
+++ b/htdocs/docs/errors.html	Thu Nov 17 00:24:10 2011 +0200
@@ -650,12 +650,12 @@
         <dt id="ve-247">247: NET-enabling start-tag requires SHORTTAG YES</dt>
         <dd><div class="ve mid-247">
     <p>
-      The sequence &lt;FOO /&gt; can be interpreted in at least two different ways,
-      depending on the DOCTYPE of the document. For HTML 4.01 Strict, the '/'
-      terminates the tag &lt;FOO (with an implied '&gt;').  However, since many
-      browsers don't interpret it this way, even in the presence of an HTML 4.01 Strict
-     DOCTYPE, it is best to avoid it completely in pure HTML documents and 
-     reserve its use solely for those written in XHTML.
+      The sequence &lt;FOO /&gt; can be interpreted in at least two different
+      ways, depending on the DOCTYPE of the document. For HTML 4.01 and earlier,
+      the '/' terminates the tag &lt;FOO (with an implied '&gt;'). However,
+      since many browsers don't interpret it this way, even in the presence of
+      a "Strict" DOCTYPE, it is best to avoid it completely in pure HTML
+      documents and reserve its use solely for those written in XHTML.
     </p>
   </div>
 	<p>
diff -r 70128d3804c4 -r 78e60f589ddd share/templates/en_US/error_messages.cfg
--- a/share/templates/en_US/error_messages.cfg	Mon Nov 14 22:45:43 2011 +0200
+++ b/share/templates/en_US/error_messages.cfg	Thu Nov 17 00:24:10 2011 +0200
@@ -1224,12 +1224,12 @@
   verbose <<.EOF.
   <div class="ve mid-247">
     <p>
-      The sequence &lt;FOO /&gt; can be interpreted in at least two different ways,
-      depending on the DOCTYPE of the document. For HTML 4.01 Strict, the '/'
-      terminates the tag &lt;FOO (with an implied '&gt;').  However, since many
-      browsers don't interpret it this way, even in the presence of an HTML 4.01 Strict
-     DOCTYPE, it is best to avoid it completely in pure HTML documents and 
-     reserve its use solely for those written in XHTML.
+      The sequence &lt;FOO /&gt; can be interpreted in at least two different
+      ways, depending on the DOCTYPE of the document. For HTML 4.01 and earlier,
+      the '/' terminates the tag &lt;FOO (with an implied '&gt;'). However,
+      since many browsers don't interpret it this way, even in the presence of
+      a "Strict" DOCTYPE, it is best to avoid it completely in pure HTML
+      documents and reserve its use solely for those written in XHTML.
     </p>
   </div>
 .EOF.
Received on Wednesday, 16 November 2011 22:28:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:47 UTC