summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlink <link@localhost>2005-02-04 13:37:36 +0000
committerlink <link@localhost>2005-02-04 13:37:36 +0000
commit6f98d48b4f073f838b904452e4e3988cab3626a3 (patch)
tree452eaf0c728d7e7b666490c8f057df96b96e32c2
parent6bf1d2f510b61f73e4b337963c2a87bec220a44c (diff)
downloadmarkup-validator-6f98d48b4f073f838b904452e4e3988cab3626a3.zip
markup-validator-6f98d48b4f073f838b904452e4e3988cab3626a3.tar.gz
markup-validator-6f98d48b4f073f838b904452e4e3988cab3626a3.tar.bz2
Adding testcase for Bug #978 (XML Decl missing final "?").
-rwxr-xr-xhtdocs/dev/tests/bogus-xmlpi.html9
-rwxr-xr-xhtdocs/dev/tests/index.html5
2 files changed, 12 insertions, 2 deletions
diff --git a/htdocs/dev/tests/bogus-xmlpi.html b/htdocs/dev/tests/bogus-xmlpi.html
new file mode 100755
index 0000000..0b2c2ec
--- /dev/null
+++ b/htdocs/dev/tests/bogus-xmlpi.html
@@ -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 4a64e3b..ddf026f 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.47 2005-02-04 13:12:21 link Exp $"
---><!--#set var="date" value="\$Date: 2005-02-04 13:12:21 $"
+<!--#set var="revision" value="\$Id: index.html,v 1.48 2005-02-04 13:37:36 link Exp $"
+--><!--#set var="date" value="\$Date: 2005-02-04 13:37:36 $"
--><!--#set var="title" value="The W3C Markup Validation Service: Tests"
--><!--#set var="relroot" value="../../"
--><!--#include virtual="../../header.html" -->
@@ -91,6 +91,7 @@
<li><a href="../../check?uri=http://validator.w3.org/dev/tests/bogus-fpi.html;ss">bogus FPI #1: lowercase "doctype".</a></li>
<li><a href="../../check?uri=http://validator.w3.org/dev/tests/bogus-fpi2.html;ss">bogus FPI #2: HTML 4.01 "Strict"</a></li>
<li><a href="../../check?uri=http://validator.w3.org/dev/tests/bogus-fpi3.html;ss">bogus FPI #3: XHTML 1.1 "Strict"</a></li>
+ <li><a href="../../check?uri=http://validator.w3.org/dev/tests/bogus-xmlpi.html;ss">bogus XML Decl (missing final "?")</a></li>
<li><a href="../../check?uri=http://validator.w3.org/dev/tests/xhtml1-blank-1st-line.html;ss">XHTML1, blank first line</a>
(<a href="http://lists.w3.org/Archives/Public/www-validator/2000JanMar/0144.html">should be marked as invalid</a>)</li>
<li><a href="../../check?uri=http://validator.w3.org/dev/tests/xhtml1-bogus-element.html;ss">XHTML1, bogus element</a></li>