validator/httpd/cgi-bin check,1.336,1.337

Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv2074/httpd/cgi-bin

Modified Files:
	check 
Log Message:
Adding number of errors to XML output. This closes Bug #773.


Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.336
retrieving revision 1.337
diff -u -d -r1.336 -r1.337
--- check	4 Sep 2004 22:36:29 -0000	1.336
+++ check	5 Sep 2004 10:27:13 -0000	1.337
@@ -2368,16 +2368,17 @@
 <!DOCTYPE result [
   <!ELEMENT result (meta, warnings?, messages?)>
   <!ATTLIST result
-    version CDATA #FIXED '0.9'
+    version CDATA #FIXED '0.9.1'
   >
 
-  <!ELEMENT meta (uri, modified, server, size, encoding, doctype)>
+  <!ELEMENT meta (uri, modified, server, size, encoding, doctype, errors)>
   <!ELEMENT uri      (#PCDATA)>
   <!ELEMENT modified (#PCDATA)>
   <!ELEMENT server   (#PCDATA)>
   <!ELEMENT size     (#PCDATA)>
   <!ELEMENT encoding (#PCDATA)>
   <!ELEMENT doctype  (#PCDATA)>
+  <!ELEMENT errors   (#PCDATA)>
 
   <!ELEMENT warnings (warning)+>
   <!ELEMENT warning  (#PCDATA)>
@@ -2401,6 +2402,7 @@
     <size>), &ent($File->{Size}), qq(</size>
     <encoding>), &ent($File->{Charset}->{Use}), qq(</encoding>
     <doctype>), &ent($File->{DOCTYPE}), qq(</doctype>
+    <errors>), $errs, qq(</errors>
   </meta>
 );
 

Received on Sunday, 5 September 2004 10:27:15 UTC