validator/htdocs/dev/tests 4848-html40-transitional_FPI-SI-mismatch.html,NONE,1.1 4848-xhtml1-strict_FPI-SI-mismatch.xhtml,NONE,1.1 index.html,1.100,1.101

Update of /sources/public/validator/htdocs/dev/tests
In directory hutz:/tmp/cvs-serv16901

Modified Files:
	index.html 
Added Files:
	4848-html40-transitional_FPI-SI-mismatch.html 
	4848-xhtml1-strict_FPI-SI-mismatch.xhtml 
Log Message:
tests for Bug 4848: warn about incorrect public/system identifiers combinations

Index: index.html
===================================================================
RCS file: /sources/public/validator/htdocs/dev/tests/index.html,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- index.html	19 Dec 2007 05:44:04 -0000	1.100
+++ index.html	17 Jan 2008 08:08:17 -0000	1.101
@@ -366,6 +366,19 @@
     <a href="texthtml_unknownparsemode.html">view</a>:
     document served as <code>text/html</code>, using a custom DTD and for which parse mode is impossible to determine via generic heuristics (triggers warning W06)
   </li>
+  <li>
+    <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4848-xhtml1-strict_FPI-SI-mismatch.xhtml">validate</a> - 
+    <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4848-xhtml1-strict_FPI-SI-mismatch.xhtml">with v.w.o</a> - 
+    <a href="4848-xhtml1-strict_FPI-SI-mismatch.xhtml">view</a>:
+	FPI/SI doctype declaration mismatch (system Id refers to a 404)
+  </li>
+  <li>
+    <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4848-html40-transitional_FPI-SI-mismatch.html">validate</a> - 
+    <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4848-html40-transitional_FPI-SI-mismatch.html">with v.w.o</a> - 
+    <a href="4848-html40-transitional_FPI-SI-mismatch.html">view</a>:
+	FPI/SI doctype declaration mismatch (html 4 doc with system Id refers to xhtml)
+  </li>
+
 	<li>
 	  <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/shorttags.html">validate</a> - 
 	  <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/shorttags.html">with v.w.o</a> - 

--- NEW FILE: 4848-xhtml1-strict_FPI-SI-mismatch.xhtml ---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dt">
<?xml-stylesheet href="http://www.w3.org/StyleSheets/TR/W3C-WD.css" type="text/css"?>
<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: 4848-xhtml1-strict_FPI-SI-mismatch.xhtml,v 1.1 2008/01/17 08:08:17 ot Exp $" />
</head>

<body>

<p>
This is a test XHTML 1.0 Strict document. In the Doctype declaration, the System Identifier is 404.
</p>

</body>

</html>


--- NEW FILE: 4848-html40-transitional_FPI-SI-mismatch.html ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>

<head>
  <title>test HTML 4.01 Transitional document</title>
  <meta name="revision"
    content="$Id: 4848-html40-transitional_FPI-SI-mismatch.html,v 1.1 2008/01/17 08:08:17 ot Exp $">
</head>

<body>

<p>
This is a test HTML 4.01 Transitional document. In the Doctype declaration, the System Identifier is the wrong one (refers to XHTML1…).
</p>



</body>

</html>

Received on Thursday, 17 January 2008 08:08:30 UTC