diff options
author | ot <ot@localhost> | 2007-05-07 18:30:50 +0000 |
---|---|---|
committer | ot <ot@localhost> | 2007-05-07 18:30:50 +0000 |
commit | f98dc820dff91800a2b39427b8a766f7dad74036 (patch) | |
tree | 52e39c179f4bb57367aba3bc981b02f6e9930e18 /htdocs/dev | |
parent | 2e720107b8d86e64ee2ad7521a1866cdcc3e128a (diff) | |
download | markup-validator-f98dc820dff91800a2b39427b8a766f7dad74036.zip markup-validator-f98dc820dff91800a2b39427b8a766f7dad74036.tar.gz markup-validator-f98dc820dff91800a2b39427b8a766f7dad74036.tar.bz2 |
test cases for well-formed xml docs
Diffstat (limited to 'htdocs/dev')
-rw-r--r-- | htdocs/dev/tests/4476-svg_nodoctype.svg | 3 | ||||
-rwxr-xr-x | htdocs/dev/tests/index.html | 23 | ||||
-rwxr-xr-x | htdocs/dev/tests/xhtml1-missing-doctype-and-xmlns.xhtml | 10 |
3 files changed, 32 insertions, 4 deletions
diff --git a/htdocs/dev/tests/4476-svg_nodoctype.svg b/htdocs/dev/tests/4476-svg_nodoctype.svg new file mode 100644 index 0000000..7502f35 --- /dev/null +++ b/htdocs/dev/tests/4476-svg_nodoctype.svg @@ -0,0 +1,3 @@ +<svg xmlns="http://www.w3.org/2000/svg"/> +<!-- this is a really, really minimal SVG document. No XML declaration, no doctype --> + diff --git a/htdocs/dev/tests/index.html b/htdocs/dev/tests/index.html index de338cf..348b340 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.76 2007-04-30 14:34:06 ot Exp $" ---><!--#set var="date" value="\$Date: 2007-04-30 14:34:06 $" +<!--#set var="revision" value="\$Id: index.html,v 1.77 2007-05-07 18:30:50 ot Exp $" +--><!--#set var="date" value="\$Date: 2007-05-07 18:30:50 $" --><!--#set var="title" value="The W3C Markup Validation Service: Tests" --><!--#set var="relroot" value="../../" --><!--#include virtual="../../header.html" --> @@ -407,8 +407,23 @@ All these documents should validate, without "pretty print" for the document typ <h3 id="well-formed">Docs that should be Well Formed</h3> <p>well formed but no doctype. The validator could mark them as well formed, but not mention validity?</p> <ul> - <li><a href="../../check?uri=http://impressive.net/people/gerald/2000/10/18/test-staroffice-doc.xml;ss">XML output from OpenOffice 5.2</a> - ("Build/Tag number OpenOffice605"), many namespaces</li> + <li><a href="../../check?uri=http://impressive.net/people/gerald/2000/10/18/test-staroffice-doc.xml;ss">validate</a> - + <a href="http://validator.w3.org/check?uri=http://impressive.net/people/gerald/2000/10/18/test-staroffice-doc.xml;ss">with v.w.o</a> - + <a href="http://impressive.net/people/gerald/2000/10/18/test-staroffice-doc.xml">View</a>: + XML output from OpenOffice 5.2 + ("Build/Tag number OpenOffice605"), many namespaces + </li> + + <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4476-svg_nodoctype.svg;ss">validate</a> - + <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4476-svg_nodoctype.svg;ss">with v.w.o</a> - + <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4476-svg_nodoctype.svg">View</a>: + Very minimal SVG document, no document type. + </li> + <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-missing-doctype-and-xmlns.xhtml;ss">validate</a> - + <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-missing-doctype-and-xmlns.xhtml;ss">with v.w.o</a> - + <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-missing-doctype-and-xmlns.xhtml">View</a>: + XHTML document without doctype, served as XML. + </li> </ul> <h3 id="encodings">Various Encodings</h3> diff --git a/htdocs/dev/tests/xhtml1-missing-doctype-and-xmlns.xhtml b/htdocs/dev/tests/xhtml1-missing-doctype-and-xmlns.xhtml new file mode 100755 index 0000000..1381810 --- /dev/null +++ b/htdocs/dev/tests/xhtml1-missing-doctype-and-xmlns.xhtml @@ -0,0 +1,10 @@ +<html> + <head> + <title>xhtml1-missing-doctype-and-xmlns.html</title> + </head> + <body> + <p>This is a simple bogus HTML doc with neither a doctype nor + an xmlns attribute on its root element. + </p> + </body> +</html> |