validator/httpd/cgi-bin check,1.515,1.516

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

Modified Files:
	check 
Log Message:
Better Error Msg for missing xmlns


Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.515
retrieving revision 1.516
diff -u -d -r1.515 -r1.516
--- check	1 May 2007 15:04:29 -0000	1.515
+++ check	7 May 2007 14:42:31 -0000	1.516
@@ -2285,7 +2285,9 @@
     $err->{char} = $location->{ColumnNumber};
     $err->{num}  = "no-xmlns";
     $err->{type} = "E";
-    $err->{msg}  = "Missing xmlns attribute for element ".$element->{Name};
+    $err->{msg}  = "Missing xmlns attribute for element ".$element->{Name} . ". 
+    The value should be: $CFG->{Types}->{$doctype}->{Namespace}";
+    
 
     # ...
     $self->{_file}->{'Is Valid'} = FALSE;
@@ -2301,7 +2303,7 @@
     $err->{char} = $location->{ColumnNumber};
     $err->{num}  = "wrong-xmlns";
     $err->{type} = "E";
-    $err->{msg}  = "Wrong xmlns attribute for element $element->{Name}. " .
+    $err->{msg}  = "Wrong xmlns attribute for element $element->{Name}. ".
       "The value should be: $CFG->{Types}->{$doctype}->{Namespace}";
 
     # ...

Received on Monday, 7 May 2007 14:42:34 UTC