W3C home > Mailing lists > Public > www-validator-cvs@w3.org > May 2005

validator/share/templates/en_US valid.tmpl,1.11,1.12

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 17 May 2005 05:21:32 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1DXuWK-0004nt-TK@lionel-hutz.w3.org>

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

Modified Files:
	valid.tmpl 
Log Message:
Modifying the results when a page is "tentatively" valid versus valid.
- removing redundant "tentatively valid" from banner
- specific text (taken from old, not used warning text)
  see http://www.w3.org/Bugs/Public/show_bug.cgi?id=1392
- specific class for the "tentatively valid" banner, can be used to set 
  another style than the usual valid one.



Index: valid.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/valid.tmpl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- valid.tmpl	16 May 2005 08:41:45 -0000	1.11
+++ valid.tmpl	17 May 2005 05:21:30 -0000	1.12
@@ -1,6 +1,6 @@
 <div id="result">
 <TMPL_IF NAME="is_tentative">
-  <h2 class="valid">This Page Is <em>Tentatively</em> Valid <TMPL_VAR NAME="file_version" ESCAPE="HTML"> (Tentatively Valid)!</h2>
+  <h2 class="tentative_valid">This Page Is <em>Tentatively</em> Valid <TMPL_VAR NAME="file_version" ESCAPE="HTML"></h2>
 <TMPL_ELSE>
   <h2 class="valid">This Page Is Valid <TMPL_VAR NAME="file_version" ESCAPE="HTML">!</h2>
 </TMPL_IF>
@@ -18,12 +18,22 @@
     The document located at
     &lt;<a href="<TMPL_VAR NAME="file_uri" ESCAPE="HTML">"><TMPL_VAR NAME="file_uri" ESCAPE="HTML"></a>&gt;
 </TMPL_IF>
+<TMPL_IF NAME="is_tentative">
+    was checked and found to be <em>tentatively</em> valid <TMPL_VAR NAME="file_version" ESCAPE="HTML">.
+    This means that with the use of some fallback or override mechanism, 
+    we successfully performed a formal validation using an SGML or XML 
+    Parser. In other words, the document would validate as 
+    <TMPL_VAR NAME="file_version" ESCAPE="HTML"> if you changed the markup
+    to match the changes we have performed automatically, but 
+    <strong>it will not be valid until you make these changes</strong>.
+<TMPL_ELSE>
     was checked and found to be valid
     <TMPL_VAR NAME="file_version" ESCAPE="HTML">.  This means that the
     resource in question identified itself as
     "<TMPL_VAR NAME="file_version" ESCAPE="HTML">" and that we successfully
     performed a formal validation using an SGML or XML Parser (depending on
     the markup language used).
+</TMPL_IF>
   </p>
 <TMPL_IF NAME="have_badge">
   <p>
Received on Tuesday, 17 May 2005 05:21:39 UTC

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