validator/htdocs/dev/tests REC-SVG-1_0-minimal.html,NONE,1.1 html401-strict.html,NONE,1.1 html401-strict.xhtml,NONE,1.1 mathml2.mathml,NONE,1.1 xhtml-print_1_0.html,NONE,1.1 index.html,1.62,1.63

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

Modified Files:
	index.html 
Added Files:
	REC-SVG-1_0-minimal.html html401-strict.html 
	html401-strict.xhtml mathml2.mathml xhtml-print_1_0.html 
Log Message:
adding tests for documents served with wrong media type

--- NEW FILE: mathml2.mathml ---
<!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN"
"http://www.w3.org/TR/CR-MathML2-20001113/dtd/mathml2.dtd">
<math>
<mrow>
</mrow>
</math>

Index: index.html
===================================================================
RCS file: /sources/public/validator/htdocs/dev/tests/index.html,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- index.html	22 Feb 2007 06:12:05 -0000	1.62
+++ index.html	7 Mar 2007 07:27:38 -0000	1.63
@@ -9,7 +9,14 @@
 <h3 id="TableOfContents">Table of contents</h3>
 <div id="toc">
 <ol>
-    <li><a href="#doctypes">Document types support</a> (all should pass validation)</li>
+    <li><a href="#valid">Valid Document</a> (all should pass validation)</li>
+            <ul>
+                    <li><a href="#doctypes">Document types support</a></li>
+                    <li><a href="#valid_notcat">Document types outside the main catalogue</a></li>
+                    <li><a href="#valid_warn">Valid Documents, with Warnings</a></li>
+                    <li><a href="#wrong_mime">Valid Documents served with a wrong media type</a></li>
+                 
+            </ul>
     <li><a href="#invalid">Invalid documents</a></li>
     <li><a href="#well-formed">Docs that should be Well Formed</a></li>
     <li><a href="#encodings">Various Encodings</a></li>
@@ -27,7 +34,8 @@
       <a href="../../feedback.html">let us know</a>.
     </p>
     
-<h3 id="doctypes">Document types support</h3>
+<h3 id="valid">Valid Documents</h3>
+<h4 id="doctypes">Document types support</h4>
   <p>
     Below is a list of sample documents for a number of document types the validator is supposed to be supporting.
     The first validate link will attempt validation with the current instance, for test purposes. The v.w.o instance
@@ -66,6 +74,13 @@
       HTML 4.0 Frameset
     </li>
     <li>
+      <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html401-strict.html;ss">validate</a> -
+      <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html401-strict.html;ss">with v.w.o</a> -
+      <a href="html401-strict.html">view</a>:
+      HTML 4.01 Strict
+    </li>
+    
+    <li>
       <a href="../../check?uri=http://www.w3.org/TR/1999/PR-html40-19990824/">validate</a> - 
       <a href="http://validator.w3.org/check?uri=http://www.w3.org/TR/1999/PR-html40-19990824/">with v.w.o</a> - 
       <a href="http://www.w3.org/TR/1999/PR-html40-19990824/">view</a>:
@@ -116,9 +131,9 @@
       (with FPI)
     </li>
     <li>
-      <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/mathml2.html;ss">validate</a> - 
-      <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/mathml2.html;ss">with v.w.o</a> - 
-      <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/mathml2.html">view</a>:
+      <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/mathml2.mathml;ss">validate</a> - 
+      <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/mathml2.mathml;ss">with v.w.o</a> - 
+      <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/mathml2.mathml">view</a>:
       MathML 2.0
        (minimal test document)
     </li>
@@ -161,7 +176,7 @@
     
   </ul>
 
-<h4>Document types outside the main catalogue</h4>
+<h4 id="valid_notcat">Document types outside the main catalogue</h4>
 <p>Below is a number of other types of documents that the validator does not have in its "hardcoded" catalogue, but should support anyway.
 All these documents should validate, without "pretty print" for the document type</p>
 
@@ -186,7 +201,7 @@
     </li>
 </ul>
 
-  <h3>Valid Documents, with Warnings</h3>
+  <h4 id="valid_warn">Valid Documents, with Warnings</h4>
 <ul>
   	<li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/2342-opensp_type_X.html">validate</a> -
   	        <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/2342-opensp_type_X.html">with v.w.o</a> -
@@ -197,8 +212,31 @@
   	        <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/nonSGML-chars.html">Non-SGML Chars.</a></li>
 </ul>
 
+<h4 id="wrong_mime">Valid Documents served with a wrong media type</h4>
+<ul>
+        <li>
+          <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html401-strict.xhtml;ss">validate</a> -
+          <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html401-strict.xhtml;ss">with v.w.o</a> -
+          <a href="html401-strict.xhtml">view</a>:
+          HTML 4.01 Strict served with an XHTML mime type
+        </li>
+<li>
+  <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/REC-SVG-1_0-minimal.html">validate</a> -
+  <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/REC-SVG-1_0-minimal.html">validate</a> -
+  <a href="REC-SVG-1_0-minimal.html">View</a> SVG 1.0 Rec. minimal document served as text/html</li>
+  <li>
+    <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml-print_1_0.html">validate</a> -
+    <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml-print_1_0.html">with v.w.o</a> - 
+    <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml-print_1_0.html">view</a>:
+    XHTML-Print served as text/html
+  </li>
+  <li>
+    <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/mathml2.html;ss">validate</a> - 
+    <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/mathml2.html;ss">with v.w.o</a> - 
+    <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/mathml2.html">view</a>:
+    MathML 2.0 as text/html  </li>
 
-
+</ul>
 
   <h3 id="invalid">Invalid Documents</h3>
 

--- NEW FILE: html401-strict.xhtml ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>html401-strict</title>
	<meta name="generator" content="TextMate http://macromates.com/">
	<meta name="author" content="olivier Thereaux">
	<!-- Date: 2007-03-07 -->
</head>
<body>
<p>Sample HTML 4.01 Strict document, with proper FPI, no SI.</p>
</body>
</html>

--- NEW FILE: html401-strict.html ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>html401-strict</title>
	<meta name="generator" content="TextMate http://macromates.com/">
	<meta name="author" content="olivier Thereaux">
	<!-- Date: 2007-03-07 -->
</head>
<body>
<p>Sample HTML 4.01 Strict document, with proper FPI, no SI.</p>
</body>
</html>

--- NEW FILE: xhtml-print_1_0.html ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML-Print 1.0//EN"
      "http://www.w3.org/MarkUp/DTD/xhtml-print10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>sample XHTML print document</title>
</head>
<body>
<div class="TestPurpose">If a printer encounters an image in a format it does not support, it SHALL
render any alternate content provided, </div>
<div>
<img src="example.unknown" alt="This image alt text must be printed." width="100" height="100" />
<object type="example/unknown" width="100" height="100" data="unknown:example.unknown">
  This content of the object element must be printed</object>

</div>
</body>
</html>
--- NEW FILE: REC-SVG-1_0-minimal.html ---
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" 
  "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg width="5cm" height="4cm">
<desc>Four separate rectangles
  </desc>
<rect x="0.5cm" y="0.5cm" width="2cm" height="1cm"/>
<rect x="0.5cm" y="2cm" width="1cm" height="1.5cm"/>
<rect x="3cm" y="0.5cm" width="1.5cm" height="2cm"/>
<rect x="3.5cm" y="3cm" width="1cm" height="0.5cm"/>

<!-- Show outline of canvas using 'rect' element -->
<rect x=".01cm" y=".01cm" width="4.98cm" height="3.98cm"
        fill="none" stroke="blue" stroke-width=".02cm" />

</svg>

Received on Wednesday, 7 March 2007 07:27:42 UTC