summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlink <link@localhost>2001-07-16 07:54:05 +0000
committerlink <link@localhost>2001-07-16 07:54:05 +0000
commit7d5d8070e217e9540a047ebd4f70a8dba77ac853 (patch)
tree977a213939febeecb694942cb6c83f8a4f83aa77
parenta47e236534c916707e3ad681e4170bc776dfcf91 (diff)
downloadmarkup-validator-7d5d8070e217e9540a047ebd4f70a8dba77ac853.zip
markup-validator-7d5d8070e217e9540a047ebd4f70a8dba77ac853.tar.gz
markup-validator-7d5d8070e217e9540a047ebd4f70a8dba77ac853.tar.bz2
Adding test case for Non-SGML Numeric Character References.
-rwxr-xr-xhtdocs/dev/tests/index.html6
-rwxr-xr-xhtdocs/dev/tests/nonSGML-chars.html30
2 files changed, 34 insertions, 2 deletions
diff --git a/htdocs/dev/tests/index.html b/htdocs/dev/tests/index.html
index 65a06f8..5e3b555 100755
--- a/htdocs/dev/tests/index.html
+++ b/htdocs/dev/tests/index.html
@@ -5,7 +5,7 @@
<title>W3C HTML Validation Service: Tests</title>
<link rev="made" href="mailto:gerald@w3.org">
<meta name="revision"
- content="$Id: index.html,v 1.30 2001-05-10 09:02:22 gerald Exp $">
+ content="$Id: index.html,v 1.31 2001-07-16 07:54:05 link Exp $">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000ee" vlink="#551a8b">
@@ -83,6 +83,8 @@
<li><a href="/check?uri=http://www.w3.org/2001/01/xml-latin1.html;ss;sp;noatt">us-ascii xml document with a latin1 character</a> (should be invalid)
<li><a href="/check?uri=http://validator.w3.org/dev/tests/no-newlines.html;ss;sp;noatt">no newlines</a>
<li><a href="/check?uri=file%3A///etc/passwd">a file: URI</a>
+<li><a href="/check?uri=http://localhost/dev/tests/nonSGML-chars.html">Non-SGML Chars.</a>
+
</ul>
<h2><a name="invalid">Docs that are probably invalid</a></h2>
@@ -110,7 +112,7 @@
src="http://validator.w3.org/images/vh40.gif" height=31 width=88
align=right border=0 alt="Valid W3C HTML 4.0!"></a>
<a href="/feedback.html">Gerald Oskoboiny</A><br>
- $Date: 2001-05-10 09:02:22 $
+ $Date: 2001-07-16 07:54:05 $
</address>
</body>
diff --git a/htdocs/dev/tests/nonSGML-chars.html b/htdocs/dev/tests/nonSGML-chars.html
new file mode 100755
index 0000000..fe7531c
--- /dev/null
+++ b/htdocs/dev/tests/nonSGML-chars.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>XHTML 1.0 Strict with chars in the range 0x80-0x9B</title>
+ <link rev="made" href="mailto:gerald@w3.org" />
+ <link rel="stylesheet" type="text/css" href="/base.css" />
+ <meta name="revision" content="$Id: nonSGML-chars.html,v 1.1 2001-07-16 07:54:05 link Exp $" />
+ <meta name="modified" content="$Date: 2001-07-16 07:54:05 $" />
+ </head>
+
+ <body>
+ <h1><a href="http://www.w3.org/"><img height="48" alt="W3C"
+ src="http://www.w3.org/Icons/WWW/w3c_home" /></a> HTML Validator</h1>
+
+ <p>Here are some chars in the range 0x80-0x9B:</p>
+ <p>Foo! &#128; Foo!</p>
+ <p>Bar! &#147; Bar!</p>
+ <p>Baz! &#x80; Baz!</p>
+ <hr />
+ <address>
+ <a href="http://validator.w3.org/check/referer"><img
+ src="http://validator.w3.org/images/vxhtml10" height="31" width="88"
+ alt="Valid XHTML 1.0!" /></a>
+ <a href="/feedback.html">Webmaster</a><br />
+ $Date: 2001-07-16 07:54:05 $
+ </address>
+
+ </body>
+</html>