Link fixes from HEAD validator-0_7-branch
authorville
Mon, 02 Apr 2007 10:25:49 +0000
branchvalidator-0_7-branch
changeset 2278 075fd6de04e9
parent 2273 c596c1792b13
Link fixes from HEAD
htdocs/docs/errors.html
htdocs/todo.html
htdocs/whatsnew.html
misc/docs_errors.pl
share/templates/en_US/error_messages.cfg
--- a/htdocs/docs/errors.html	Mon Apr 02 09:34:46 2007 +0000
+++ b/htdocs/docs/errors.html	Mon Apr 02 10:25:49 2007 +0000
@@ -1,5 +1,5 @@
-<!--#set var="revision" value="\$Id: errors.html,v 1.35.2.3 2006-11-14 23:35:11 ot Exp $"
---><!--#set var="date" value="\$Date: 2006-11-14 23:35:11 $"
+<!--#set var="revision" value="\$Id: errors.html,v 1.35.2.4 2007-04-02 10:25:49 ville Exp $"
+--><!--#set var="date" value="\$Date: 2007-04-02 10:25:49 $"
 --><!--#set var="title" value="Error Explanations for The W3C Markup Validation Service"
 --><!--#set var="relroot" value="../"
 --><!--#include virtual="../header.html" -->
@@ -77,12 +77,17 @@
         <dd><div class="ve mid-63">
     <p>
       You have used character data somewhere it is not permitted to appear.
-      Mistakes that can cause this error include putting text directly in the
-      body of the document without wrapping it in a container element (such as
-      a &lt;p&gt;aragraph&lt;/p&gt;) or forgetting to quote an attribute value
+      Mistakes that can cause this error include:
+    </p>
+    <ul>
+      <li>putting text directly in the body of the document without wrapping 
+      it in a container element (such as a &lt;p&gt;aragraph&lt;/p&gt;), or</li>
+      <li>forgetting to quote an attribute value
       (where characters such as "%" and "/" are common, but cannot appear
-      without surrounding quotes).
-    </p>
+      without surrounding quotes), or</li>
+      <li>using XHTML-style closing tags (such as &lt;meta ... /&gt;) in HTML 4.01 or 
+      earlier. (Fix: remove the extra / character)</li>
+    </ul> 
   </div>
 	<p>
 	  <a href="../feedback.html?errmsg_id=63#errormsg"
@@ -231,7 +236,7 @@
       or "&lt;marquee&gt;" (this is usually fixed by using CSS to achieve
       the desired effect instead).</li>
       <li>by using upper-case tags in XHTML (in XHTML attributes and elements
-      must be all lower-case.</li>
+      must be all lower-case).</li>
     </ul>
   </div>
 	<p>
@@ -252,7 +257,7 @@
     </p>
     <p>
       If this error occured in a script section of your document, you should probably
-      read this <a href="http://validator.w3.org/docs/help.html#faq-javascript">FAQ entry</a>.
+      read this <a href="help.html#faq-javascript">FAQ entry</a>.
     </p>
   </div>
 	<p>
@@ -337,7 +342,7 @@
       check that they are both allowed in the chosen document type, and/or
       use CSS instead of this attribute. If you received this error when using the 
       &lt;embed&gt; element to incorporate flash media in a Web page, see the 
-      <a href="docs/help.html#faq-flash">FAQ item on valid flash</a>.
+      <a href="help.html#faq-flash">FAQ item on valid flash</a>.
     </p>
   </div>
 	<p>
@@ -545,11 +550,14 @@
             Your best bet is to replace the character with the nearest equivalent
             ASCII character, or to use an appropriate <a
               href="http://www.w3.org/MarkUp/html3/latin1.html">character
-            entity</a>. For more information on Character Encoding on the web, see <a
-              href="http://ppewww.ph.gla.ac.uk/%7Eflavell/aflavell.html">Alan
+            entity</a>.
+            <!-- http://groups.google.com/group/uk.net.web.authoring/browse_frm/thread/54c97b9c6fb89751
+            For more information on Character Encoding on the web, see <a
+              href="http://ppewww.physics.gla.ac.uk/%7Eflavell/aflavell.html">Alan
             Flavell</a>'s excellent <a
-            href="http://ppewww.ph.gla.ac.uk/%7Eflavell/charset/">HTML Character Set Issues</a>
-            reference.
+              href="http://ppewww.physics.gla.ac.uk/%7Eflavell/charset/">HTML Character
+            Set Issues</a> reference.
+            -->
           </p>
           <p>
             This error can also be triggered by formatting characters embedded in
--- a/htdocs/todo.html	Mon Apr 02 09:34:46 2007 +0000
+++ b/htdocs/todo.html	Mon Apr 02 10:25:49 2007 +0000
@@ -1,5 +1,5 @@
-<!--#set var="revision" value="\$Id: todo.html,v 1.61 2004-11-14 08:39:41 ville Exp $"
---><!--#set var="date" value="\$Date: 2004-11-14 08:39:41 $"
+<!--#set var="revision" value="\$Id: todo.html,v 1.61.2.1 2007-04-02 10:25:49 ville Exp $"
+--><!--#set var="date" value="\$Date: 2007-04-02 10:25:49 $"
 --><!--#set var="title" value="TODO List for The W3C Markup Validation Service"
 --><!--#set var="relroot" value="./"
 --><!--#include virtual="header.html" -->
@@ -70,7 +70,7 @@
         <ul>
         <li>
           Clarify the wording regarding valid characters in
-          <a href="docs/errors.html#bad-char">errors.html</a> (cf.
+          <a href="docs/errors.html#ve-139">errors.html</a> (cf.
           <a href="http://lists.w3.org/Archives/Public/www-validator/2001AprJun/0049.html">this</a>
           message from <a href="mailto:clemens.radl@uni-tuebingen.de">Clemens Radl</a>.
           Thanks Clemens!)
--- a/htdocs/whatsnew.html	Mon Apr 02 09:34:46 2007 +0000
+++ b/htdocs/whatsnew.html	Mon Apr 02 10:25:49 2007 +0000
@@ -1,5 +1,5 @@
-<!--#set var="revision" value="\$Id: whatsnew.html,v 1.51.2.14 2006-11-14 06:34:46 ot Exp $"
---><!--#set var="date" value="\$Date: 2006-11-14 06:34:46 $"
+<!--#set var="revision" value="\$Id: whatsnew.html,v 1.51.2.15 2007-04-02 10:25:49 ville Exp $"
+--><!--#set var="date" value="\$Date: 2007-04-02 10:25:49 $"
 --><!--#set var="title" value="What's New at The W3C Markup Validation Service"
 --><!--#set var="relroot" value="./"
 --><!--#include virtual="header.html" -->
@@ -484,7 +484,7 @@
           Added support for <code>ISO-2022-JP</code> and <code>Shift_JIS</code>
           character encodings.
           Thanks to <a href="http://www.w3.org/People/asada/">Takuya
-          Asada</a>, <a href="http://www.w3.org/People/all#mimasa">Masayasu
+          Asada</a>, <a href="http://www.w3.org/People/mimasa/">Masayasu
           Ishikawa</a>, and <a href="http://www.w3.org/People/D%C3%BCrst/">Martin
           D&uuml;rst</a> for their patches and advice.
         </p>
--- a/misc/docs_errors.pl	Mon Apr 02 09:34:46 2007 +0000
+++ b/misc/docs_errors.pl	Mon Apr 02 10:25:49 2007 +0000
@@ -2,7 +2,7 @@
 ##
 ## Generates HTML documentation of error messages and explanations
 ## for W3C Markup Validation Service
-## $Id: docs_errors.pl,v 1.3.2.1 2006-11-14 06:27:33 ot Exp $
+## $Id: docs_errors.pl,v 1.3.2.2 2007-04-02 10:25:49 ville Exp $
 
 ## Pragmas.
 use strict;
@@ -110,6 +110,9 @@
 		$single_error{id} = $error_id;
 		$single_error{verbose} = $RSRC->{msg}->{$error_id}->{verbose};
 		push @{$errors}, \%single_error;
+                # Fix up relative paths (/check vs /docs/errors.html)
+                s/href="docs\//href="/
+                    for $single_error{original}, $single_error{verbose};
 	    }
 
 	}
--- a/share/templates/en_US/error_messages.cfg	Mon Apr 02 09:34:46 2007 +0000
+++ b/share/templates/en_US/error_messages.cfg	Mon Apr 02 10:25:49 2007 +0000
@@ -240,12 +240,17 @@
   <div class="ve mid-63">
     <p>
       You have used character data somewhere it is not permitted to appear.
-      Mistakes that can cause this error include putting text directly in the
-      body of the document without wrapping it in a container element (such as
-      a &lt;p&gt;aragraph&lt;/p&gt;) or forgetting to quote an attribute value
+      Mistakes that can cause this error include:
+    </p>
+    <ul>
+      <li>putting text directly in the body of the document without wrapping 
+      it in a container element (such as a &lt;p&gt;aragraph&lt;/p&gt;), or</li>
+      <li>forgetting to quote an attribute value
       (where characters such as "%" and "/" are common, but cannot appear
-      without surrounding quotes).
-    </p>
+      without surrounding quotes), or</li>
+      <li>using XHTML-style closing tags (such as &lt;meta ... /&gt;) in HTML 4.01 or 
+      earlier. (Fix: remove the extra / character)</li>
+    </ul> 
   </div>
 .EOF.
 </msg>
@@ -394,7 +399,7 @@
       or "&lt;marquee&gt;" (this is usually fixed by using CSS to achieve
       the desired effect instead).</li>
       <li>by using upper-case tags in XHTML (in XHTML attributes and elements
-      must be all lower-case.</li>
+      must be all lower-case).</li>
     </ul>
   </div>
 .EOF.
@@ -419,7 +424,7 @@
     </p>
     <p>
       If this error occured in a script section of your document, you should probably
-      read this <a href="http://validator.w3.org/docs/help.html#faq-javascript">FAQ entry</a>.
+      read this <a href="docs/help.html#faq-javascript">FAQ entry</a>.
     </p>
   </div>
 .EOF.
@@ -809,11 +814,14 @@
             Your best bet is to replace the character with the nearest equivalent
             ASCII character, or to use an appropriate <a
               href="http://www.w3.org/MarkUp/html3/latin1.html">character
-            entity</a>. For more information on Character Encoding on the web, see <a
-              href="http://ppewww.ph.gla.ac.uk/%7Eflavell/aflavell.html">Alan
+            entity</a>.
+            <!-- http://groups.google.com/group/uk.net.web.authoring/browse_frm/thread/54c97b9c6fb89751
+            For more information on Character Encoding on the web, see <a
+              href="http://ppewww.physics.gla.ac.uk/%7Eflavell/aflavell.html">Alan
             Flavell</a>'s excellent <a
-            href="http://ppewww.ph.gla.ac.uk/%7Eflavell/charset/">HTML Character Set Issues</a>
-            reference.
+              href="http://ppewww.physics.gla.ac.uk/%7Eflavell/charset/">HTML Character
+            Set Issues</a> reference.
+            -->
           </p>
           <p>
             This error can also be triggered by formatting characters embedded in