validator/share/templates/en_US soap_warnings.tmpl,1.1,1.2 ucn_warnings.tmpl,1.1,1.2 valid.tmpl,1.22,1.23 warnings.tmpl,1.22,1.23

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

Modified Files:
	soap_warnings.tmpl ucn_warnings.tmpl valid.tmpl warnings.tmpl 
Log Message:
re-wording for documents checked with xml-wf only

Index: valid.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/valid.tmpl,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- valid.tmpl	7 May 2007 19:17:58 -0000	1.22
+++ valid.tmpl	22 May 2007 06:45:17 -0000	1.23
@@ -36,11 +36,17 @@
 <TMPL_ELSE>
     was checked and found to be 
     <TMPL_IF NAME="xmlwf_only">well-formed<TMPL_ELSE>valid</TMPL_IF>
-    <TMPL_VAR NAME="file_version" ESCAPE="HTML">.  This means that the
-    resource in question identified itself as
+    <TMPL_VAR NAME="file_version" ESCAPE="HTML">.  
+    <TMPL_IF NAME="xmlwf_only">This means that we were not able to determine 
+    the exact document type, but that the document passed the XML well-formedness
+    syntax check. If you wish to wish to perform formal validation of the document,
+    you can use the "Document Type:" option of the validator.
+    <TMPL_ELSE>
+    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>
 </TMPL_IF>
   </p>
 <TMPL_IF NAME="have_badge">

Index: ucn_warnings.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/ucn_warnings.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ucn_warnings.tmpl	1 Aug 2006 06:10:54 -0000	1.1
+++ ucn_warnings.tmpl	22 May 2007 06:45:17 -0000	1.2
@@ -33,6 +33,9 @@
 <TMPL_IF NAME="W09">
   <warning><message>No DOCTYPE found! Attempting validation with <TMPL_VAR NAME="W09_dtd" ESCAPE="HTML">.</message></warning>
 </TMPL_IF>
+<TMPL_IF NAME="W09xml">
+  <warning><message>No DOCTYPE found! Checking XML syntax only.</message></warning>
+</TMPL_IF>
 <TMPL_IF NAME="W10">
   <warning><message>Unknown Namespace Found</message></warning>
 </TMPL_IF>

Index: warnings.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/warnings.tmpl,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- warnings.tmpl	29 Mar 2007 06:17:55 -0000	1.22
+++ warnings.tmpl	22 May 2007 06:45:17 -0000	1.23
@@ -237,6 +237,24 @@
 
   </li>
 </TMPL_IF>
+<TMPL_IF NAME="W09xml">
+  <li class="msg_warn" id="W09xml"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">No <code>DOCTYPE</code> found! Checking XML syntax only.</span>
+  
+    <p>
+      The DOCTYPE Declaration was not recognized or is missing. This
+      probably means that the Formal Public Identifier contains a spelling
+      error, or that the Declaration is not using correct syntax, or that 
+      your XML document is not using a DOCTYPE Declaration.
+    </p>
+    <p>
+      Validation of the document has been skipped, and a simple check of the well-formedness
+      of the XML syntax has been performed instead.
+    </p>
+    <p>Learn <a href="docs/help.html#faq-doctype">how to add a doctype to your document</a> 
+    from our <acronym title="Frequently Asked Questions">FAQ</acronym>, or use the validator's
+    option to validate your XML document against a specific Document Type</p>
+  </li>
+</TMPL_IF>
 <TMPL_IF NAME="W10">
   <li class="msg_warn" id="W10"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Unknown Namespace Found</span>
   

Index: soap_warnings.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/soap_warnings.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- soap_warnings.tmpl	2 Nov 2005 08:14:58 -0000	1.1
+++ soap_warnings.tmpl	22 May 2007 06:45:17 -0000	1.2
@@ -33,6 +33,10 @@
 <TMPL_IF NAME="W09">
   <m:warning><m:message>No DOCTYPE found! Attempting validation with <TMPL_VAR NAME="W09_dtd" ESCAPE="HTML">.</m:message></m:warning>
 </TMPL_IF>
+<TMPL_IF NAME="W09xml">
+  <m:warning><m:message>No DOCTYPE found! Checking XML syntax only.</m:message></m:warning>
+</TMPL_IF>
+Checking XML syntax only
 <TMPL_IF NAME="W10">
   <m:warning><m:message>Unknown Namespace Found</m:message></m:warning>
 </TMPL_IF>

Received on Tuesday, 22 May 2007 06:45:21 UTC