validator/htdocs/dev/tests xhtml1-missing-doctype-and-xmlns.xhtml,1.1,1.2

Update of /sources/public/validator/htdocs/dev/tests
In directory hutz:/tmp/cvs-serv5008/htdocs/dev/tests

Modified Files:
	xhtml1-missing-doctype-and-xmlns.xhtml 
Log Message:
for documents served as XML, and for which the root element is not <html>,
the fallback to XHTML is not a great choice. Instead, we can perform a basic xml-wf checking,
and report a positive result for these.



Index: xhtml1-missing-doctype-and-xmlns.xhtml
===================================================================
RCS file: /sources/public/validator/htdocs/dev/tests/xhtml1-missing-doctype-and-xmlns.xhtml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- xhtml1-missing-doctype-and-xmlns.xhtml	7 May 2007 18:30:50 -0000	1.1
+++ xhtml1-missing-doctype-and-xmlns.xhtml	7 May 2007 19:17:58 -0000	1.2
@@ -6,5 +6,6 @@
     <p>This is a simple bogus HTML doc with neither a doctype nor
     an xmlns attribute on its root element.
     </p>
+<img />
   </body>
 </html>

Received on Monday, 7 May 2007 19:18:09 UTC