summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2007-10-04 05:22:06 +0000
committerot <ot@localhost>2007-10-04 05:22:06 +0000
commitad3d36a7da529e3066d47171da6e52043f69511d (patch)
tree8b4c0c165c1c6e1ec3293bba0e364aa13a9e27d2
parent6c5405d582c93cf3037c8cd79738cae041b83f66 (diff)
downloadmarkup-validator-ad3d36a7da529e3066d47171da6e52043f69511d.zip
markup-validator-ad3d36a7da529e3066d47171da6e52043f69511d.tar.gz
markup-validator-ad3d36a7da529e3066d47171da6e52043f69511d.tar.bz2
preparse W11 test
-rw-r--r--htdocs/dev/tests/W11-ht401-namespace.html13
-rwxr-xr-xhtdocs/dev/tests/index.html12
2 files changed, 22 insertions, 3 deletions
diff --git a/htdocs/dev/tests/W11-ht401-namespace.html b/htdocs/dev/tests/W11-ht401-namespace.html
new file mode 100644
index 0000000..fc05364
--- /dev/null
+++ b/htdocs/dev/tests/W11-ht401-namespace.html
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>html401-strict</title>
+ <meta name="generator" content="TextMate http://macromates.com/">
+ <meta name="author" content="olivier Thereaux">
+ <!-- Date: 2007-03-07 -->
+</head>
+<body>
+<p>Sample HTML 4.01 Strict document, with proper FPI, no SI. This document has a namespace declaration in the html root element, which should not happen in HTML 4.01.</p>
+</body>
+</html>
diff --git a/htdocs/dev/tests/index.html b/htdocs/dev/tests/index.html
index 3501a21..914381f 100755
--- a/htdocs/dev/tests/index.html
+++ b/htdocs/dev/tests/index.html
@@ -1,5 +1,5 @@
-<!--#set var="revision" value="\$Id: index.html,v 1.95 2007-10-03 10:51:41 ot Exp $"
---><!--#set var="date" value="\$Date: 2007-10-03 10:51:41 $"
+<!--#set var="revision" value="\$Id: index.html,v 1.96 2007-10-04 05:22:05 ot Exp $"
+--><!--#set var="date" value="\$Date: 2007-10-04 05:22:05 $"
--><!--#set var="title" value="The W3C Markup Validation Service: Tests"
--><!--#set var="relroot" value="../../"
--><!--#include virtual="../../header.html" -->
@@ -361,7 +361,6 @@ All these documents should validate, without "pretty print" for the document typ
<a href="shorttags.html">view</a> -
sample HTML 4 document using the (valid, but problematic) shorttags features
</li>
-
</ul>
<h4 id="wrong_mime">Valid Documents served with a wrong media type</h4>
@@ -486,6 +485,13 @@ All these documents should validate, without "pretty print" for the document typ
XHTML 1.0 missing space between attributes (<a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=2689" title="Bug 2689 - documents with no whitespace between attributes validate">Bug 2689</a>)
</li>
+ <li>
+ <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/W11-ht401-namespace.html;ss">validate</a> -
+ <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/W11-ht401-namespace.html;ss">with v.w.o</a>
+
+ <a href="W11-ht401-namespace.html">view</a>:
+ HTML 4.01 with xmlns attribute on root element (should trigger a validation error, and preparse warning W11)
+ </li>
</ul>