summaryrefslogtreecommitdiffstats
path: root/htdocs/dev/tests
diff options
context:
space:
mode:
authorot <ot@localhost>2007-04-18 06:32:52 +0000
committerot <ot@localhost>2007-04-18 06:32:52 +0000
commit44f4d02df2eef81a585df71cdc6c7e8726656192 (patch)
treef8cc232acd6d3411b2375eb7b59606cae7a4ef34 /htdocs/dev/tests
parentf7548ae2f16f3b158d67e10fb3906bbeca104a0f (diff)
downloadmarkup-validator-44f4d02df2eef81a585df71cdc6c7e8726656192.zip
markup-validator-44f4d02df2eef81a585df71cdc6c7e8726656192.tar.gz
markup-validator-44f4d02df2eef81a585df71cdc6c7e8726656192.tar.bz2
Since we have a number of different sources for errors (xml-wf, parsing, ...)
better make sure that they are sorted before output (+test case)
Diffstat (limited to 'htdocs/dev/tests')
-rw-r--r--htdocs/dev/tests/errors_sorting.smi18
-rwxr-xr-xhtdocs/dev/tests/index.html10
2 files changed, 26 insertions, 2 deletions
diff --git a/htdocs/dev/tests/errors_sorting.smi b/htdocs/dev/tests/errors_sorting.smi
new file mode 100644
index 0000000..0e43129
--- /dev/null
+++ b/htdocs/dev/tests/errors_sorting.smi
@@ -0,0 +1,18 @@
+<!DOCTYPE smil PUBLIC "-//W3C//DTD SMIL 2.0//EN"
+ "http://www.w3.org/2001/SMIL20/WD/SMIL20.dtd">
+
+<!--
+ Expected Behavior: The file has the SMIL 2.0 DOCTYPE declaration,
+ and an unrecognized default namespace attribute on the
+ smil element. This should result in the user agent issuing
+ an error.
+-->
+
+<smil xmlns="http://www.example.org/smil/foo">
+ <soul />
+ <body>
+ <img id="smile" end="activateEvent"src="../images/smile.jpg"/>
+ </body>
+ <soul/>
+</smil>
+
diff --git a/htdocs/dev/tests/index.html b/htdocs/dev/tests/index.html
index 650fdf2..8fbeef5 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.74 2007-04-18 02:34:41 ot Exp $"
---><!--#set var="date" value="\$Date: 2007-04-18 02:34:41 $"
+<!--#set var="revision" value="\$Id: index.html,v 1.75 2007-04-18 06:32:52 ot Exp $"
+--><!--#set var="date" value="\$Date: 2007-04-18 06:32:52 $"
--><!--#set var="title" value="The W3C Markup Validation Service: Tests"
--><!--#set var="relroot" value="../../"
--><!--#include virtual="../../header.html" -->
@@ -359,6 +359,12 @@ All these documents should validate, without "pretty print" for the document typ
<a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/smil20-profile-doctype.smi">view</a>:
SMIL 2.0 with bogus xmlns and missing space between attributes
</li>
+ <li>
+ <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/errors_sorting.smi">validate</a> -
+ <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/errors_sorting.smi">with v.w.o</a> -
+ <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/errors_sorting.smi">view</a>:
+ SMIL 2.0 with bogus xmlns, xml ill-formedness and bogus elements (used to test sorting of errors)
+ </li>
</ul>
<h5>Various often-invalid site</h5>