summaryrefslogtreecommitdiffstats
path: root/htdocs/dev
diff options
context:
space:
mode:
authorot <ot@localhost>2007-03-22 07:32:53 +0000
committerot <ot@localhost>2007-03-22 07:32:53 +0000
commit20c8f475b2c1c20e730d0a2632de201a442ec862 (patch)
tree7b431942cb1946182b120b6cde3ee57cc2f48db0 /htdocs/dev
parent60fcfaaa1c97dc4a9d1a3a7a991e7aa297e431a2 (diff)
downloadmarkup-validator-20c8f475b2c1c20e730d0a2632de201a442ec862.zip
markup-validator-20c8f475b2c1c20e730d0a2632de201a442ec862.tar.gz
markup-validator-20c8f475b2c1c20e730d0a2632de201a442ec862.tar.bz2
duplicating the test case for a document with a bogus XML declaration:
* one served as text/html * one served as application/xhtml+xml
Diffstat (limited to 'htdocs/dev')
-rwxr-xr-xhtdocs/dev/tests/bogus-xmlpi.xhtml9
-rwxr-xr-xhtdocs/dev/tests/index.html11
2 files changed, 17 insertions, 3 deletions
diff --git a/htdocs/dev/tests/bogus-xmlpi.xhtml b/htdocs/dev/tests/bogus-xmlpi.xhtml
new file mode 100755
index 0000000..0b2c2ec
--- /dev/null
+++ b/htdocs/dev/tests/bogus-xmlpi.xhtml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+ <head><title>Bogus XML PI Test</title></head>
+ <body>
+ <p>This is a test of XHTML with a bogus XML Decl.</p>
+ </body>
+</html>
diff --git a/htdocs/dev/tests/index.html b/htdocs/dev/tests/index.html
index def4263..c29a849 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.64 2007-03-09 06:39:59 ot Exp $"
---><!--#set var="date" value="\$Date: 2007-03-09 06:39:59 $"
+<!--#set var="revision" value="\$Id: index.html,v 1.65 2007-03-22 07:32:53 ot Exp $"
+--><!--#set var="date" value="\$Date: 2007-03-22 07:32:53 $"
--><!--#set var="title" value="The W3C Markup Validation Service: Tests"
--><!--#set var="relroot" value="../../"
--><!--#include virtual="../../header.html" -->
@@ -316,7 +316,12 @@ All these documents should validate, without "pretty print" for the document typ
<li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi.html;ss">bogus FPI #1: lowercase "doctype".</a></li>
<li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi2.html;ss">bogus FPI #2: HTML 4.01 "Strict"</a></li>
<li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-fpi3.html;ss">bogus FPI #3: XHTML 1.1 "Strict"</a></li>
- <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-xmlpi.html;ss">bogus XML Decl (missing final "?")</a></li>
+ <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-xmlpi.xhtml;ss">validate</a> -
+ <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-xmlpi.xhtml;ss">with v.w.o</a> -
+ <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-xmlpi.xhtml">bogus XML Decl (missing final "?")</a></li>
+ <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-xmlpi.html;ss">validate</a> -
+ <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-xmlpi.html;ss">with v.w.o</a> -
+ <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/bogus-xmlpi.html">bogus XML Decl, served as text/html (missing final "?")</a></li>
</ul>
<ul>
<li><a href="../../check?uri=file%3A///etc/passwd">a file: URL</a></li>