diff options
author | ot <ot@localhost> | 2005-12-09 03:50:19 +0000 |
---|---|---|
committer | ot <ot@localhost> | 2005-12-09 03:50:19 +0000 |
commit | 44af9895e25b2ea4bf47f78467ba9c2c90d55efe (patch) | |
tree | c3281f14bd44276bf24cabc543a7833c32204c1b | |
parent | 9b5a85e9366eca75682bf64ea76944b1ea9b572a (diff) | |
download | markup-validator-44af9895e25b2ea4bf47f78467ba9c2c90d55efe.zip markup-validator-44af9895e25b2ea4bf47f78467ba9c2c90d55efe.tar.gz markup-validator-44af9895e25b2ea4bf47f78467ba9c2c90d55efe.tar.bz2 |
additional test for doc with no charset
-rw-r--r-- | htdocs/dev/tests/.htaccess | 5 | ||||
-rwxr-xr-x | htdocs/dev/tests/index.html | 8 | ||||
-rwxr-xr-x | htdocs/dev/tests/nocharset_notutf8.html | 24 |
3 files changed, 35 insertions, 2 deletions
diff --git a/htdocs/dev/tests/.htaccess b/htdocs/dev/tests/.htaccess index 778ad29..d5a194f 100644 --- a/htdocs/dev/tests/.htaccess +++ b/htdocs/dev/tests/.htaccess @@ -2,3 +2,8 @@ RemoveCharset .html # note - this only works in apache 2.0.24 and later </Files> +<Files nocharset_notutf8.html> +RemoveCharset .html +# note - this only works in apache 2.0.24 and later +</Files> + diff --git a/htdocs/dev/tests/index.html b/htdocs/dev/tests/index.html index 4ec955f..1f284af 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.54 2005-12-09 01:25:12 ot Exp $" ---><!--#set var="date" value="\$Date: 2005-12-09 01:25:12 $" +<!--#set var="revision" value="\$Id: index.html,v 1.55 2005-12-09 03:50:19 ot Exp $" +--><!--#set var="date" value="\$Date: 2005-12-09 03:50:19 $" --><!--#set var="title" value="The W3C Markup Validation Service: Tests" --><!--#set var="relroot" value="../../" --><!--#include virtual="../../header.html" --> @@ -205,6 +205,10 @@ All these documents should validate, without "pretty print" for the document typ <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/nocharset.html;ss">with v.w.o</a> - <a href="nocharset.html">view</a>: XHTML 1.0 Strict, no charset</li> + <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/nocharset_notutf8.html;ss">validate</a> - + <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/nocharset_notutf8.html;ss">with v.w.o</a> - + <a href="nocharset_notutf8.html">view</a>: + XHTML 1.0 Strict, no charset, cannot be interpreted as utf-8</li> <li><a href="../../check?uri=http://www.w3.org/2001/06/utf-8-test/UTF-8-demo.html">UTF-8 sample text (correct)</a>, <a href='http://www.w3.org/2001/06/utf-8-test/'>more positive tests</a></li> <li><a href="../../check?uri=http://www.w3.org/2001/06/utf-8-wrong/UTF-8-test.html">UTF-8 stress test (wrong cases)</a>, diff --git a/htdocs/dev/tests/nocharset_notutf8.html b/htdocs/dev/tests/nocharset_notutf8.html new file mode 100755 index 0000000..4e7d3ea --- /dev/null +++ b/htdocs/dev/tests/nocharset_notutf8.html @@ -0,0 +1,24 @@ +<!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>test XHTML 1.0 Strict document</title> + <meta name="revision" + content="$Id: nocharset_notutf8.html,v 1.1 2005-12-09 03:50:19 ot Exp $" /> +</head> +<body> + +<p> +This is a test XHTML 1.0 Strict document, served with no character encoding declaration. It has non-utf8 chars (below - the doc is actually iso-20022-jp), so the validator should break miserably, but send in the warning about no charset nonetheless. +</p> + +<p>ロレムイプスムドロルシトアメット</p> + +<p> +See: <a href="./">W3C HTML Validation Service: Tests</a> +</p> + +</body> + +</html> + |