- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 03 Oct 2007 10:42:11 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/share/templates/en_US In directory hutz:/tmp/cvs-serv633/share/templates/en_US Modified Files: soap_warnings.tmpl ucn_warnings.tmpl warnings.tmpl Log Message: Fix for http://www.w3.org/Bugs/Public/show_bug.cgi?id=3663 Checking if doctype-less documents display patterns specific to SVG (svg root element, with or without version/baseProfile attributes) and, upon detection, applying "fake" doctype override to help validation of doctype-less SVG 1.0, 1.1 (including Tiny and Basic). Index: ucn_warnings.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/ucn_warnings.tmpl,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- ucn_warnings.tmpl 3 Sep 2007 06:57:42 -0000 1.7 +++ ucn_warnings.tmpl 3 Oct 2007 10:42:09 -0000 1.8 @@ -82,7 +82,9 @@ <TMPL_IF NAME="W24"> <warning><messageid>W24</messageid><message>Rare or unregistered Character Encoding detected</message></warning> </TMPL_IF> - +<TMPL_IF NAME="W25"> + <warning><messageid>W25</messageid><message><TMPL_VAR NAME="W25_dtd" ESCAPE="HTML"> document without DOCTYPE detected</message></warning> +</TMPL_IF> <TMPL_IF NAME="W@@"> <warning><messageid>W@@</messageid><message></message></warning> </TMPL_IF> Index: soap_warnings.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/soap_warnings.tmpl,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- soap_warnings.tmpl 3 Sep 2007 06:57:42 -0000 1.8 +++ soap_warnings.tmpl 3 Oct 2007 10:42:09 -0000 1.9 @@ -82,6 +82,9 @@ <TMPL_IF NAME="W24"> <m:warning><m:messageid>W24</m:messageid><m:message>Rare or unregistered Character Encoding detected</m:message></m:warning> </TMPL_IF> +<TMPL_IF NAME="W25"> + <m:warning><m:messageid>W25</m:messageid><m:message><TMPL_VAR NAME="W25_dtd" ESCAPE="HTML"> document without DOCTYPE detected</m:message></m:warning> +</TMPL_IF> <TMPL_IF NAME="W@@"> <m:warning><m:messageid>W@@</m:messageid><m:message></m:message></m:warning> Index: warnings.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/warnings.tmpl,v retrieving revision 1.32 retrieving revision 1.33 diff -u -d -r1.32 -r1.33 --- warnings.tmpl 2 Oct 2007 02:43:41 -0000 1.32 +++ warnings.tmpl 3 Oct 2007 10:42:09 -0000 1.33 @@ -453,7 +453,14 @@ </li> </TMPL_IF> - +<TMPL_IF NAME="W25"> + <li class="msg_warn" id="W25"><p><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg"><TMPL_VAR NAME="W25_dtd" ESCAPE="HTML"> document without DOCTYPE detected.</span></p> + + <p>This document does not declare any DOCTYPE. A Doctype declaration is generally + needed for validation, but the checked document uses markup specific to <TMPL_VAR NAME="W25_dtd" ESCAPE="HTML">, which may be used without DOCTYPE. </p> + <p>Validation was performed as if the DOCTYPE for <TMPL_VAR NAME="W25_dtd" ESCAPE="HTML"> was present. If this automatic detection is not correct, <a href="http://www.w3.org/QA/2002/04/valid-dtd-list.html" title="W3C QA - Recommended list of DTDs you can use in your Web document">adding a DOCTYPE declaration</a> will help validate without ambiguity.</p> + </li> +</TMPL_IF> <TMPL_IF NAME="W@@"> <li class="msg_warn" id="W@@">
Received on Wednesday, 3 October 2007 10:42:19 UTC