- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 05 May 2008 01:52:16 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/htdocs/dev/tests
In directory hutz:/tmp/cvs-serv32620/htdocs/dev/tests
Modified Files:
index.html
Added Files:
xhtml1-missing-doctype-has-xmlns.html
xhtml1-missing-doctype-has-xmlns.xhtml
Log Message:
adding a couple of test cases of XHTML documents (could be identified by the namespace)
without doctype. One is served as text/html, another with application/xhtml+xml
How the validator should handle these is not very well defined (?)
--- NEW FILE: xhtml1-missing-doctype-has-xmlns.html ---
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>xhtml1-missing-doctype-and-xmlns.html</title>
</head>
<body>
<p>This is a simple XHTML doc without a doctype, but has
an xmlns attribute on its root element.
</p>
</body>
</html>
Index: index.html
===================================================================
RCS file: /sources/public/validator/htdocs/dev/tests/index.html,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- index.html 12 Feb 2008 06:59:53 -0000 1.104
+++ index.html 5 May 2008 01:52:13 -0000 1.105
@@ -566,6 +566,18 @@
XHTML, no DOCTYPE, no xmlns (thus invalid)
</li>
<li>
+ <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-missing-doctype-has-xmlns.html;ss">validate</a> -
+ <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-missing-doctype-has-xmlns.html;ss">with v.w.o</a> -
+ <a href="xhtml1-missing-doctype-has-xmlns.html">view</a>:
+ XHTML, no DOCTYPE, has xmlns (served as text/html)
+ </li>
+ <li>
+ <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-missing-doctype-has-xmlns.xhtml;ss">validate</a> -
+ <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-missing-doctype-has-xmlns.xhtml;ss">with v.w.o</a> -
+ <a href="xhtml1-missing-doctype-has-xmlns.xhtml">view</a>:
+ XHTML, no DOCTYPE, has xmlns (served as application/xhtml+xml)
+ </li>
+ <li>
<a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xml-nodoctype-notwf.xml;ss">validate</a> -
<a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xml-nodoctype-notwf.xml;ss">with v.w.o</a> -
<a href="xml-nodoctype-notwf.xml">view</a>:
--- NEW FILE: xhtml1-missing-doctype-has-xmlns.xhtml ---
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>xhtml1-missing-doctype-and-xmlns.html</title>
</head>
<body>
<p>This is a simple XHTML doc without a doctype, but has
an xmlns attribute on its root element. It is served as application/xhtml+xml.
</p>
<img />
</body>
</html>
Received on Monday, 5 May 2008 01:52:49 UTC