validator/htdocs/dev/tests html_xmlns.html.utf8,NONE,1.1 texthtml_nocharset.html,NONE,1.1 texthtml_nodoctype.html.utf8,NONE,1.1 texthtml_unknownparsemode.html.utf8,NONE,1.1 textxml_html401.xml,NONE,1.1 textxml_nocharset.xml,NONE,1.1 .htaccess,1.2,1.3 index.html,1.55,1.56

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

Modified Files:
	.htaccess index.html 
Added Files:
	html_xmlns.html.utf8 texthtml_nocharset.html 
	texthtml_nodoctype.html.utf8 
	texthtml_unknownparsemode.html.utf8 textxml_html401.xml 
	textxml_nocharset.xml 
Log Message:
adding a few test documents triggering WXX global-scope warnings

Index: index.html
===================================================================
RCS file: /sources/public/validator/htdocs/dev/tests/index.html,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- index.html	9 Dec 2005 03:50:19 -0000	1.55
+++ index.html	16 Mar 2006 01:05:06 -0000	1.56
@@ -179,6 +179,8 @@
 
 
   <h3 id="invalid">Docs that are probably invalid</h3>
+
+    <h4>Sample invalid documents</h4>
       <p><strong>we must FIX THIS!</strong> It's not reliable any more...</p>
       
       
@@ -325,6 +327,44 @@
 </ul>
 
       <h3  id="regress">Bugs and Regression Tests</h3>
+      
+        
+  <h4>global document warnings</h4>
+  <p>This section holds documents which should trigger global warnings - mime type, charset, document type issues.</p>
+  
+  <ul>
+    <li>
+      <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/textxml_nocharset.xml">validate</a> -
+      <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/textxml_nocharset.xml">with v.w.o</a> - 
+      <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/textxml_nocharset.xml">view</a>:
+text/xml resource with no charset - W01
+    </li>
+      <li>
+      <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_nocharset.html">validate</a> -
+      <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_nocharset.html">with v.w.o</a> - 
+      <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_nocharset.html">view</a>:
+text/html resource with no charset - W04
+    </li>
+          <li>
+      <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/textxml_html401.xml">validate</a> -
+      <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/textxml_html401.xml">with v.w.o</a> - 
+      <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/textxml_html401.xml">view</a>:
+text/xml resource with no charset - W07
+    </li>
+     <li>
+      <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_unknownparsemode.html.utf8">validate</a> -
+      <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_unknownparsemode.html.utf8">with v.w.o</a> - 
+      <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_unknownparsemode.html.utf8">view</a>:
+      text/html Document using Custom DTD, unsure of SGML/XML parse mode - W08
+    </li>
+      <li>
+      <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_nodoctype.html.utf8">validate</a> -
+      <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_nodoctype.html.utf8">with v.w.o</a> - 
+      <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/texthtml_nodoctype.html.utf8">view</a>:
+    text/html Document lacking DOCTYPE - W09
+    </li>
+    </ul>
+      
       <p>These should be tied to a bug report on either mailing-list and/or bugzilla whenever possible.</p>
       
       <ul>

--- NEW FILE: texthtml_unknownparsemode.html.utf8 ---
<!DOCTYPE html SYSTEM "http://www.w3.org/Style/HTML40-plus-blink.dtd">
<!--
	The above is a "custom" DTD, because the text below uses
	<blink>, which isn't actually an HTML element. Including
	<blink> is meant as a *joke*. Adding it to a DTD doesn't make
	it any more standard or any more meaningful. DON'T CREATE
	CUSTOM DTDs!
-->
<html>
<head>
<title>test for text/html Document using Custom DTD, unknown parse mode - W08</title>

</head>

<body lang="en">
<p>This test document corresponds to validator warning W08:
<code>
Unknown Parse Mode!
</code>
</p>

<p>This document is a subset of the <a href="http://www.w3.org/Style/">W3C Style</a>
homepage, using <a href="http://www.w3.org/Style/customdtd">Custom DTD</a> 
allowing <blink>The nonstandard blink element</blink>.
</p>

<p>It is valid against that particular DTD</p>

</body>
</html>


Index: .htaccess
===================================================================
RCS file: /sources/public/validator/htdocs/dev/tests/.htaccess,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- .htaccess	9 Dec 2005 03:50:19 -0000	1.2
+++ .htaccess	16 Mar 2006 01:05:06 -0000	1.3
@@ -6,4 +6,7 @@
 RemoveCharset .html
 # note - this only works in apache 2.0.24 and later
 </Files>
+<Files ~ "textxml_nocharset(\.xml)?">
+ForceType text/xml
+</Files>
 

--- NEW FILE: texthtml_nodoctype.html.utf8 ---
<html>
<head>
<title>test for text/html Document lacking DOCTYPE - W09</title>

</head>

<body lang="en">
<p>This test document corresponds to validator warning W09:
<code>
No DOCTYPE found! Attempting validation with HTML 4.01 Transitional.
</code>
(and parsing error 344)
</p>

</body>
</html>


--- NEW FILE: html_xmlns.html.utf8 ---
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.example.org">
<head>
<title>test for html resource using namespaces - W10</title>
  </head>
<body>
<p>This test document corresponds to validator warning W10:
<code>
</code>
</p>
</body>

</html>


--- NEW FILE: texthtml_nocharset.html ---
<?xml version="1.0"?>
<!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" xml:lang="en" lang="en">
  <head>
    <title>test for text/html resource with no charset - W04</title>
  </head>
<body>
<p>This test document corresponds to validator warning W04:
<code>
No Character Encoding Found! Falling back to (UTF-8).
</code>
</p>
</body>
</html>

--- NEW FILE: textxml_nocharset.xml ---
<?xml version="1.0"?>
<!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" xml:lang="en" lang="en">
  <head>
    <title>test for text/xml resource with no charset - W01</title>
  </head>
<body>
<p>This test document corresponds to validator warning W01:
<code>
Missing "charset" attribute for "text/xml" document.
</code>
</p>
</body>
</html>

--- NEW FILE: textxml_html401.xml ---
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<head>
<title>test for text/xml resource with no charset - W07</title>
  </head>
<body>
<p>This test document corresponds to validator warning W07:
<code>
Contradictory Parse Modes Detected!
</code>
</p>
</body>

</html>

Received on Thursday, 16 March 2006 01:05:19 UTC