- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 17 May 2005 05:21:32 +0000
- To: www-validator-cvs@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
<<a href="<TMPL_VAR NAME="file_uri" ESCAPE="HTML">"><TMPL_VAR NAME="file_uri" ESCAPE="HTML"></a>>
</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