diff options
author | ot <ot@localhost> | 2007-06-26 09:04:41 +0000 |
---|---|---|
committer | ot <ot@localhost> | 2007-06-26 09:04:41 +0000 |
commit | 49a400d17d2873eb9c3e4171049c5e336a3f41a1 (patch) | |
tree | c038f875a51bf507df830f1dadac69e84f064703 | |
parent | 31fb60499565202332ad15b814c4c4dc28ae69e6 (diff) | |
download | markup-validator-49a400d17d2873eb9c3e4171049c5e336a3f41a1.zip markup-validator-49a400d17d2873eb9c3e4171049c5e336a3f41a1.tar.gz markup-validator-49a400d17d2873eb9c3e4171049c5e336a3f41a1.tar.bz2 |
adding a number of test cases for documents without doctype. sgml or xml, well-formed or not
-rwxr-xr-x | htdocs/dev/tests/index.html | 5 | ||||
-rw-r--r-- | htdocs/dev/tests/sgml-nodoctype-syntaxok.html | 1 | ||||
-rw-r--r-- | htdocs/dev/tests/xml-nodoctype-notwf.xml | 3 | ||||
-rw-r--r-- | htdocs/dev/tests/xml-nodoctype-wf.xml | 2 |
4 files changed, 9 insertions, 2 deletions
diff --git a/htdocs/dev/tests/index.html b/htdocs/dev/tests/index.html index 11b6fc5..b3a1ee0 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.79 2007-06-26 09:03:09 ot Exp $" ---><!--#set var="date" value="\$Date: 2007-06-26 09:03:09 $" +<!--#set var="revision" value="\$Id: index.html,v 1.80 2007-06-26 09:04:41 ot Exp $" +--><!--#set var="date" value="\$Date: 2007-06-26 09:04:41 $" --><!--#set var="title" value="The W3C Markup Validation Service: Tests" --><!--#set var="relroot" value="../../" --><!--#include virtual="../../header.html" --> @@ -380,6 +380,7 @@ All these documents should validate, without "pretty print" for the document typ <li><a href="../../check?uri=http://www.w3.org/TR/1998/REC-xml-19980210.xml">XML 1.0</a></li> </ul> <h4 id="invalid_nodoctype">Missing Doctype</h4> +<p>See also <a href="well-formed">Docs that should be Well Formed</a> for examples of doctype-less but well-formed XML documents.</p> <ul> <li> <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-missing-doctype-and-xmlns.html;ss">validate</a> - diff --git a/htdocs/dev/tests/sgml-nodoctype-syntaxok.html b/htdocs/dev/tests/sgml-nodoctype-syntaxok.html new file mode 100644 index 0000000..9e20df0 --- /dev/null +++ b/htdocs/dev/tests/sgml-nodoctype-syntaxok.html @@ -0,0 +1 @@ +<foo>
\ No newline at end of file diff --git a/htdocs/dev/tests/xml-nodoctype-notwf.xml b/htdocs/dev/tests/xml-nodoctype-notwf.xml new file mode 100644 index 0000000..a5e751c --- /dev/null +++ b/htdocs/dev/tests/xml-nodoctype-notwf.xml @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="UTF-8"?> +<foo bar=quz /> +<zog>&& &a<zo/G>
\ No newline at end of file diff --git a/htdocs/dev/tests/xml-nodoctype-wf.xml b/htdocs/dev/tests/xml-nodoctype-wf.xml new file mode 100644 index 0000000..18b16ca --- /dev/null +++ b/htdocs/dev/tests/xml-nodoctype-wf.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<foo />
\ No newline at end of file |