W3C home > Mailing lists > Public > www-validator-cvs@w3.org > December 2010

markup-validator commit: Update Tidy related information.

From: Mercurial notifier <nobody@w3.org>
Date: Tue, 14 Dec 2010 20:22:07 +0000
Message-Id: <E1PSbNv-0003cO-Ok@mcbain.w3.org>
To: markup-validator updates <www-validator-cvs@w3.org>
changeset:   3191:45a1d08f64b4
tag:         tip
user:        Ville Skyttä <ville.skytta@iki.fi>
date:        Tue Dec 14 22:21:57 2010 +0200
files:       htdocs/config/validator.conf htdocs/detailed-form.html htdocs/detailed-form_directinput.html htdocs/docs/help.html htdocs/docs/install_win.html htdocs/whatsnew.html share/templates/en_US/opt_show_tidy.tmpl share/templates/en_US/soap_warnings.tmpl share/templates/en_US/table.tmpl share/templates/en_US/ucn_warnings.tmpl share/templates/en_US/warnings.tmpl
description:
Update Tidy related information.


diff -r ae77614001a4 -r 45a1d08f64b4 htdocs/config/validator.conf
--- a/htdocs/config/validator.conf	Tue Dec 14 00:19:48 2010 +0200
+++ b/htdocs/config/validator.conf	Tue Dec 14 22:21:57 2010 +0200
@@ -33,7 +33,7 @@
   # are always cached in memory.
   #Cache = validator
 
-  # configuration file for HTML Tidy Module, if available
+  # configuration file for HTML::Tidy Module, if available
   TidyConf = $Base/htdocs/config/tidy.conf
 
   <SGML>
diff -r ae77614001a4 -r 45a1d08f64b4 htdocs/detailed-form.html
--- a/htdocs/detailed-form.html	Tue Dec 14 00:19:48 2010 +0200
+++ b/htdocs/detailed-form.html	Tue Dec 14 22:21:57 2010 +0200
@@ -23,7 +23,7 @@
 </tr>
 <tr>
         <td><input id="<!--#echo var="fieldset_id" -->-ss" name="ss" type="checkbox" value="1" /><label title="Show Page Source" for="<!--#echo var="fieldset_id" -->-ss">Show Source</label></td>
-        <td colspan="2"><input id="<!--#echo var="fieldset_id" -->-st" name="st" type="checkbox" value="1" /><label for="<!--#echo var="fieldset_id" -->-st">Clean up Markup with HTML Tidy</label>
+        <td colspan="2"><input id="<!--#echo var="fieldset_id" -->-st" name="st" type="checkbox" value="1" /><label for="<!--#echo var="fieldset_id" -->-st">Clean up Markup with HTML-Tidy</label>
         </td>
         
 
diff -r ae77614001a4 -r 45a1d08f64b4 htdocs/detailed-form_directinput.html
--- a/htdocs/detailed-form_directinput.html	Tue Dec 14 00:19:48 2010 +0200
+++ b/htdocs/detailed-form_directinput.html	Tue Dec 14 22:21:57 2010 +0200
@@ -20,7 +20,7 @@
 </tr>
 <tr>
         <td><input id="<!--#echo var="fieldset_id" -->-ss" name="ss" type="checkbox" value="1" /><label title="Show Page Source" for="<!--#echo var="fieldset_id" -->-ss">Show Source</label></td>
-        <td colspan="2"><input id="<!--#echo var="fieldset_id" -->-st" name="st" type="checkbox" value="1" /><label for="<!--#echo var="fieldset_id" -->-st">Clean up Markup with HTML Tidy</label>
+        <td colspan="2"><input id="<!--#echo var="fieldset_id" -->-st" name="st" type="checkbox" value="1" /><label for="<!--#echo var="fieldset_id" -->-st">Clean up Markup with HTML-Tidy</label>
         </td>
         
 
diff -r ae77614001a4 -r 45a1d08f64b4 htdocs/docs/help.html
--- a/htdocs/docs/help.html	Tue Dec 14 00:19:48 2010 +0200
+++ b/htdocs/docs/help.html	Tue Dec 14 22:21:57 2010 +0200
@@ -326,8 +326,19 @@
       </p>
 
     <h4 id="cleanup">I don't want error messages, I want you to clean up my page!</h4>
-       <p>The Markup Validator can not do this for you. You may want to have a look
-	at tools such as <a href="http://tidy.sourceforge.net">HTML Tidy</a>.</p>
+      <p>
+        Have a look at tools such as
+        <a href="http://tidy.sourceforge.net/">HTML Tidy</a> and
+        <a href="http://www.tidyp.com/">tidyp</a>. When selected, the
+        "Clean up Markup with HTML-Tidy" option will output a "cleaned"
+        version of the input document in case it was not valid, done with
+        <a href="http://search.cpan.org/dist/HTML-Tidy/">HTML-Tidy</a>, using
+        the Markup Validator's default HTML-Tidy configuration. Note that there
+        are no guarantees about the validity or other aspects of that output,
+        and there are many options to configure in these tools that may result
+        in better clean up than the Validator's default options for your
+        document, so you may want to try out them locally.
+      </p>
 
     <h4 id="icon">"valid" icons</h4>
   <h5 id="icon-usage">My document is valid, can I use your "valid" icon?</h5>
diff -r ae77614001a4 -r 45a1d08f64b4 htdocs/docs/install_win.html
--- a/htdocs/docs/install_win.html	Tue Dec 14 00:19:48 2010 +0200
+++ b/htdocs/docs/install_win.html	Tue Dec 14 22:21:57 2010 +0200
@@ -297,7 +297,7 @@
   # Location of template files
   Templates = $Base/share/templates
 
-  # configuration file for HTML Tidy Module, if available
+  # configuration file for HTML::Tidy Module, if available
   TidyConf = $Base/htdocs/config/tidy.conf
 
   &lt;SGML&gt;
diff -r ae77614001a4 -r 45a1d08f64b4 htdocs/whatsnew.html
--- a/htdocs/whatsnew.html	Tue Dec 14 00:19:48 2010 +0200
+++ b/htdocs/whatsnew.html	Tue Dec 14 22:21:57 2010 +0200
@@ -182,7 +182,8 @@
           <li>
             Enhancement: improved error handling and diagnostics for problems
             occurred when decoding Content-Encodings, when cleaning up
-            markup with Tidy, and when interfacing with the HTML5 validator.
+            markup with HTML-Tidy, and when interfacing with the HTML5
+            validator.
           </li>
           <li>
             Enhancement: recognition of more (non-recommended) aliases for
@@ -259,8 +260,8 @@
           <li>
             Bug fix:
             <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7592">"wide
-              characters"</a> in Tidy's output caused an error which prevented
-            the whole Tidy output from being displayed.
+              characters"</a> in HTML-Tidy's output caused an error which
+            prevented the whole tidied output from being displayed.
           </li>
           <li>
             Bug fix: there were
@@ -279,8 +280,8 @@
           </li>
           <li>
             Bug fix: the state of the "validate error pages", verbosity,
-            error grouping, and "clean up with Tidy" options were not always
-            preserved.
+            error grouping, and "clean up with HTML-Tidy" options were not
+            always preserved.
           </li>
           <li>
             Bug fix: several issues in error message locators in shown
@@ -510,7 +511,7 @@
         </p>
         <ul>
           <li>
-            Bug Fix: processing of documents through HTML Tidy would be
+            Bug Fix: processing of documents through HTML-Tidy would be
             triggered even when not requested. The fix should provide a
             noticeable performance boost.
           </li>
@@ -673,7 +674,7 @@
             Improved interface for better usability, accessibility.
           </li>
           <li>
-            New feature: automatic cleanup of markup (with Tidy).
+            New feature: automatic cleanup of markup (with HTML-Tidy).
           </li>
           <li>
             New feature: additional XML-Well-Formedness check, for more
diff -r ae77614001a4 -r 45a1d08f64b4 share/templates/en_US/opt_show_tidy.tmpl
--- a/share/templates/en_US/opt_show_tidy.tmpl	Tue Dec 14 00:19:48 2010 +0200
+++ b/share/templates/en_US/opt_show_tidy.tmpl	Tue Dec 14 22:21:57 2010 +0200
@@ -1,9 +1,10 @@
   <div id="tidy">
-    <h3>Cleaned-up Source Listing with "Tidy"</h3>
+    <h3>Cleaned-up Source Listing with "HTML-Tidy"</h3>
 
     <p>Below is the <em>cleaned up</em> markup for your document, 
-    as processed through <a href="http://tidy.sourceforge.net/">HTML Tidy</a>.</p>
-    <p>Tidy is a third-party software not developed at W3C,
+    as processed through
+    <a href="http://search.cpan.org/dist/HTML-Tidy/">HTML-Tidy</a>.</p>
+    <p>HTML-Tidy is a third-party software not developed at W3C,
        and its output is <em>provided without any guarantee</em>.</p>
     <pre class="source"><TMPL_VAR NAME="tidy_output" ESCAPE="HTML"></pre>
 
diff -r ae77614001a4 -r 45a1d08f64b4 share/templates/en_US/soap_warnings.tmpl
--- a/share/templates/en_US/soap_warnings.tmpl	Tue Dec 14 00:19:48 2010 +0200
+++ b/share/templates/en_US/soap_warnings.tmpl	Tue Dec 14 22:21:57 2010 +0200
@@ -96,7 +96,7 @@
   <m:warning><m:messageid>W28</m:messageid><m:message>Using Direct Input mode: UTF-8 character encoding assumed</m:message></m:warning>
 </TMPL_IF>
 <TMPL_IF NAME="W29">
-  <m:warning><m:messageid>W29</m:messageid><m:message>Error cleaning up markup with HTML Tidy</m:message></m:warning>
+  <m:warning><m:messageid>W29</m:messageid><m:message>Error cleaning up markup with HTML-Tidy</m:message></m:warning>
 </TMPL_IF>
 
 <TMPL_IF NAME="W@@">
diff -r ae77614001a4 -r 45a1d08f64b4 share/templates/en_US/table.tmpl
--- a/share/templates/en_US/table.tmpl	Tue Dec 14 00:19:48 2010 +0200
+++ b/share/templates/en_US/table.tmpl	Tue Dec 14 22:21:57 2010 +0200
@@ -154,7 +154,7 @@
                         <TMPL_IF NAME="opt_show_tidy">
                         	checked="checked"
                         </TMPL_IF>
-    		         /><label for="st">Clean up Markup with HTML Tidy</label></td>
+    		         /><label for="st">Clean up Markup with HTML-Tidy</label></td>
             </tr>
 
     </table>
diff -r ae77614001a4 -r 45a1d08f64b4 share/templates/en_US/ucn_warnings.tmpl
--- a/share/templates/en_US/ucn_warnings.tmpl	Tue Dec 14 00:19:48 2010 +0200
+++ b/share/templates/en_US/ucn_warnings.tmpl	Tue Dec 14 22:21:57 2010 +0200
@@ -580,10 +580,10 @@
 </TMPL_IF>
 <TMPL_IF NAME="W29">
 	<message type="warning">
-		<title>Error cleaning up markup with HTML Tidy.</title>
+		<title>Error cleaning up markup with HTML-Tidy.</title>
 		<description>
 		    <p>
-		      An error occurred while cleaning up markup with HTML Tidy.  The reported
+		      An error occurred while cleaning up markup with HTML-Tidy.  The reported
 		      error was:<br />
 		      <TMPL_VAR NAME="W29_msg" ESCAPE="HTML">
 		    </p>
@@ -598,4 +598,4 @@
 	<message type="warning">
 		<title>W@@</title>
 	</message>
-</TMPL_IF>
\ No newline at end of file
+</TMPL_IF>
diff -r ae77614001a4 -r 45a1d08f64b4 share/templates/en_US/warnings.tmpl
--- a/share/templates/en_US/warnings.tmpl	Tue Dec 14 00:19:48 2010 +0200
+++ b/share/templates/en_US/warnings.tmpl	Tue Dec 14 22:21:57 2010 +0200
@@ -540,9 +540,9 @@
 </TMPL_IF>
 
 <TMPL_IF NAME="W29">
-  <li class="msg_warn" id="W29"><p><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Error cleaning up markup with HTML Tidy.</span></p>
+  <li class="msg_warn" id="W29"><p><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Error cleaning up markup with HTML-Tidy.</span></p>
     <p>
-      An error occurred while cleaning up markup with HTML Tidy.  The reported
+      An error occurred while cleaning up markup with HTML-Tidy.  The reported
       error was:<br />
       <TMPL_VAR NAME="W29_msg" ESCAPE="HTML">
     </p>
Received on Tuesday, 14 December 2010 20:22:10 UTC

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