validator/htdocs/dev/tests 4892-entity.html,NONE,1.1 index.html,1.81,1.82

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

Modified Files:
	index.html 
Added Files:
	4892-entity.html 
Log Message:
adding test case for 4892

Index: index.html
===================================================================
RCS file: /sources/public/validator/htdocs/dev/tests/index.html,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- index.html	26 Jun 2007 09:05:40 -0000	1.81
+++ index.html	6 Aug 2007 05:40:34 -0000	1.82
@@ -15,6 +15,7 @@
                     <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>
+		    <li><a href="#valid_bugfix">Bug Regression Tests: Valid documents</a></li>
                  
             </ul>
     </li>
@@ -297,6 +298,22 @@
     MathML 2.0 as text/html  </li>
 </ul>
 
+<h4 id="valid_bugfix">Bug Regression Tests: Valid documents</h4>
+<ul>
+    <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml_mathml_svg_newlines.xhtml">validate</a> - 
+        <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml_mathml_svg_newlines.xhtml">with v.w.o</a> - 
+        <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml_mathml_svg_newlines.xhtml">view</a>:
+        XHTML+Math+SVG document with non-unix newlines,
+   (See <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=3992">Bug 3992: non-unix newlines confuse the parser</a>)
+  </li>
+    <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4892-entity.html">validate</a> - 
+        <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4892-entity.html">with v.w.o</a> - 
+        <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4892-entity.html">view</a>:
+        XHTML with named entities on a line with colons and numbers, caused bogus error report in validator 0.8.0
+   (See <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=4892" title="Bug 4892 - parsing of XML WF-errors too loose, confuses content with error data">Bug 4892</a>)
+  </li>
+</ul>
+
 <h3 id="invalid">Invalid Documents</h3>
 <h4 id="invalid_misc">Miscellaneous invalid docs</h4>
   <ul>
@@ -579,12 +596,6 @@
       
       <ul>
           
-          <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml_mathml_svg_newlines.xhtml">validate</a> - 
-              <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml_mathml_svg_newlines.xhtml">with v.w.o</a> - 
-              <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml_mathml_svg_newlines.xhtml">view</a>:
-              XHTML+Math+SVG document with non-unix newlines,
-         (See <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=3992">Bug 3992: non-unix newlines confuse the parser</a>)
-        </li>
 	<li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/long-lines.html">Long Lines</a> (cause a core)</li>
 	<li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/trailing-nul.html">A trailing ASCII NUL character</a> (trips up HTML::Parser (not really))</li>
 	<li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/colons.html">Undeclared namespace prefixes</a> (colons ":" in element names (trips up parsing of onsgmls output))</li>

--- NEW FILE: 4892-entity.html ---
<!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>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

	<title>4892</title>
	
</head>

<body>
<p>This is a test for the fixing of <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=4892" title="Bug 4892 - parsing of XML WF-errors too loose, confuses content with error data">Bug 4892</a>. Filtered entities-related errors (see the &amp;copy; below) in lines with colons and numbers would not be filtered appropriately because the parsing of XML::LibXML was not strict enough. Broken in 0.8.0, fixed in 0.8.1</p>

<p>Last modified Monday, 30-Jul-2007 11:08:13 EST | &copy; 1999 - 2007 APNIC Pty. Ltd.</p>

</body>
</html>

Received on Monday, 6 August 2007 05:40:39 UTC