HTML 2.0 Document Type support test ... ok HTML 2.0 Document Type support test ... ok HTML 4.0 Document Type support test ... ok HTML 4.0 Transitional Document Type support test ... ok HTML 4.0 Frameset Document Type support test ... ok HTML 4.01 Strict Document Type support test ... ok HTML 4.01 Transitional Document Type support test ... ok HTML 4.01 Transitional (w/ iframe) Document Type support test ... ok HTML5 support test ... ok ISO-HTML Document Type support test ... ok XHTML 1.0 Strict Document Type support test ... ok XHTML 1.0 Strict Document Type support test ... ok XHTML Basic 1.0 Document Type support test ... ok XHTML Basic 1.1 Document Type support test ... ok XHTML Basic 1.1 (revised) Document Type support test ... ok XHTML MP 1.2 Document Type support test ... ok XHTML 1.1 Document Type support test ... FAIL XHTML+MathML2 Document Type support test ... ok MathML 2.0 Document Type support test ... ok XHTML 1.1 (as application/xhtml+xml) Document Type support test ... FAIL SMIL 1.0 Document Type support test ... ok SMIL 2.0 Document Type support test ... ok SMIL 2.1 Document Type support test ... ok SMIL 2.1 Mobile Document Type support test ... ok XHTML + MathML + SVG Document Type support test ... ok XHTML Print 1.0 Document Type support test ... ok SVG 1.0 Document Type support test ... ok SVG 1.0 Document Type support test ... ok SVG 1.1 Tiny Document Type support test ... ok XHTML + RDFa Document Type support test ... ok ====================================================================== FAIL: XHTML 1.1 Document Type support test ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/link/web/HEAD/misc/testsuite/lib/TestCase.py", line 63, in run_testcase self.assertEqual(results_filtered, self.expectResults) AssertionError: {'Validity': 'Fail'} != {'Validity': 'Pass'} ====================================================================== FAIL: XHTML 1.1 (as application/xhtml+xml) Document Type support test ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/link/web/HEAD/misc/testsuite/lib/TestCase.py", line 63, in run_testcase self.assertEqual(results_filtered, self.expectResults) AssertionError: {'Validity': 'Fail'} != {'Validity': 'Pass'} ---------------------------------------------------------------------- Ran 30 tests in 215.744s FAILED (failures=2) HTML4.0 plus blink (Custom DTD) Type support test ... ok RDDL (with FPI) Document Type support test ... ok RDDL (SI only) Document Type support test ... ok MusicXML Document Type support test ... ok ---------------------------------------------------------------------- Ran 4 tests in 97.976s OK (control) test for validation of SVG 1.0 with Doctype ... ok Test for validation of Doctype-less SVG 1.0 ... ok (control) test for validation of SVG 1.1 with Doctype ... ok Test for validation of Doctype-less SVG 1.1 ... ok (control) test for validation of SVG 1.1 Basic with Doctype ... FAIL Test for validation of Doctype-less SVG 1.1 Basic ... FAIL (control) test for validation of SVG 1.1 Tiny with Doctype ... ok Test for validation of Doctype-less SVG 1.1 Tiny ... ok Test for validation of SVG 1.1 without a version attribute, but with a DOCTYPE ... ok Test for validation of SVG 1.0 without a version attribute, but with a DOCTYPE ... ok Test for validation of SVG with neither a version attribute nor DOCTYPE ... ok ====================================================================== FAIL: (control) test for validation of SVG 1.1 Basic with Doctype ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/link/web/HEAD/misc/testsuite/lib/TestCase.py", line 63, in run_testcase self.assertEqual(results_filtered, self.expectResults) AssertionError: {'Validity': 'Fail'} != {'Validity': 'Pass'} ====================================================================== FAIL: Test for validation of Doctype-less SVG 1.1 Basic ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/link/web/HEAD/misc/testsuite/lib/TestCase.py", line 63, in run_testcase self.assertEqual(results_filtered, self.expectResults) AssertionError: {'Validity': 'Fail'} != {'Validity': 'Pass'} ---------------------------------------------------------------------- Ran 11 tests in 16.367s FAILED (failures=2) Test document with reference to a non-existing ID ... ok Test for warnings about non-SGML character(s) ... ok Test for warning about ampersand as data (in SGML) ... FAIL Test for warning in case of ambiguous parse mode ... ok Test of warning in case of FPI/SI doctype mismatch (XHTML1) ... ok Test of warning in case of FPI/SI doctype mismatch (HTML4) ... ok Test of warning in case of FPI case mismatch in doctype ... ok Test of warning for the usage of shorttag constructs ... ok Test for warning output from HTML5 parser ... ok ====================================================================== FAIL: Test for warning about ampersand as data (in SGML) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/link/web/HEAD/misc/testsuite/lib/TestCase.py", line 63, in run_testcase self.assertEqual(results_filtered, self.expectResults) AssertionError: {'NumWarnings': '0', 'Validity': 'Pass'} != {'NumWarnings': 'yes', 'Validity': 'Pass'} ---------------------------------------------------------------------- Ran 9 tests in 15.617s FAILED (failures=1) Test of warning for non-HTML compatible XHTML document (C1) ... FAIL Test of warning for non-HTML compatible XHTML document (C2) ... FAIL Test of warning for non-HTML compatible XHTML document (C3) ... FAIL ====================================================================== FAIL: Test of warning for non-HTML compatible XHTML document (C1) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/link/web/HEAD/misc/testsuite/lib/TestCase.py", line 63, in run_testcase self.assertEqual(results_filtered, self.expectResults) AssertionError: {'NumWarnings': '0', 'Validity': 'Pass'} != {'NumWarnings': 'yes', 'Validity': 'Pass'} ====================================================================== FAIL: Test of warning for non-HTML compatible XHTML document (C2) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/link/web/HEAD/misc/testsuite/lib/TestCase.py", line 63, in run_testcase self.assertEqual(results_filtered, self.expectResults) AssertionError: {'NumWarnings': '0', 'Validity': 'Pass'} != {'NumWarnings': 'yes', 'Validity': 'Pass'} ====================================================================== FAIL: Test of warning for non-HTML compatible XHTML document (C3) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/link/web/HEAD/misc/testsuite/lib/TestCase.py", line 63, in run_testcase self.assertEqual(results_filtered, self.expectResults) AssertionError: {'NumWarnings': '0', 'Validity': 'Pass'} != {'NumWarnings': 'yes', 'Validity': 'Pass'} ---------------------------------------------------------------------- Ran 3 tests in 3.669s FAILED (failures=3) Test of warning for HTML 4.01 served with wrong media type ... ok Test of warning for SVG served with wrong media type ... ok Test of warning for MathML served with wrong media type ... ok ---------------------------------------------------------------------- Ran 3 tests in 3.768s OK Regression test: non-unix newlines ... ok Regression test: named entitles on a line with colons and numbers ... ok ---------------------------------------------------------------------- Ran 2 tests in 2.677s OK XHTML1, bogus element (foo element not in DTD) ... ok XHTML1, bogus attribute ... ok HTML5 document with tokenizer error (precise locator) ... ok HTML5 document with Tree builder (range locator) ... ok HTML5 document with bogus attribute (should have an error explanation) ... ok XHTML1, bogus element (uppercase A element not in DTD), tends to cascade errors about each attribute ... ok us-ascii xhtml document with a latin1 character ... ok Invalid document (img without alt, invalid ... ok invalid frames document (noframes in forbidden location). Also test for absence of newlines ... ok HTML 4.01 Strict - with iframe element (test for ... ok XHTML1, blank first line ( ... ok Bug ... ok XHTML with bogus XML Decl, served as application/xhtml+xml (missing final "?") ... ok XHTML with bogus XML Decl, served as text/html (missing final "?") ... ok bogus FPI #1: lowercase "doctype". ... ok SMIL 2.0 with bogus xmlns and missing space between attributes ... ok SMIL 2.0 with bogus xmlns, xml ill-formedness and bogus elements (used to test sorting of errors) ... ok XHTML 1.0 missing space between attributes ( ... ok ---------------------------------------------------------------------- Ran 18 tests in 23.815s OK XHTML, no DOCTYPE, no xmlns (thus invalid) ... ok XHTML, no DOCTYPE, has xmlns (served as application/xhtml+xml) ... ok XHTML, no DOCTYPE, has xmlns (served as application/xhtml+xml) ... ok XML, no DOCTYPE, not well-formed (marked as "invalid XML" - FIXME should be reworded) ... ok SGML-ish document without html root. Served as text/html. No DOCTYPE. Correct SGML syntax. Would pass as well-formed XML if it were XML... ... ok SGML-ish document without html root. Served as text/html. No DOCTYPE. Bogus SGML syntax. ... ok ---------------------------------------------------------------------- Ran 6 tests in 7.328s OK XHTML 1.0 Strict missing xmlns attribute (valid) ... ok ---------------------------------------------------------------------- Ran 1 test in 1.249s OK bogus FPI #2: HTML 4.01 "Strict" ... FAIL bogus FPI #3: XHTML 1.1 "Strict" ... ok ====================================================================== FAIL: bogus FPI #2: HTML 4.01 "Strict" ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/link/web/HEAD/misc/testsuite/lib/TestCase.py", line 63, in run_testcase self.assertEqual(results_filtered, self.expectResults) AssertionError: {'Validity': 'Pass'} != {'Validity': 'Fail'} ---------------------------------------------------------------------- Ran 2 tests in 13.693s FAILED (failures=1) Basic XML document, well formed. No doctype. Currently checked only for xmlwf. Passes. ... ok XML output from OpenOffice 5.2 ("Build/Tag number OpenOffice605"), many namespaces. Currently checked only for xmlwf. Passes. ... ok Very minimal SVG document, no document type. Currently checked only for xmlwf. Passes. ... ok XHTML document without doctype, served as XML. Fallback to XHTML 1.0, and invalid. ... ok ---------------------------------------------------------------------- Ran 4 tests in 5.345s OK iso-2022-jp encoded document ... ok windows-1250 encoded document (Slovenian) ... ok utf-8 encoded document ... ok XML file with a "Plane 20" character (bogus). ... ok Charset mismatch: HTTP Content-Type and XML Declaration (sends warning, proceed with HTTP and pass) ... FAIL Charset mismatch: HTTP Content-Type and meta http-equiv (sends warning, proceed with HTTP and pass) ... ok iso-8859-1 HTML document with charset declared in meta, (test for ... ok iso-8859-1 HTML document with charset not declared in meta (nor in HTTP), (test for ... ok case-sensitivity of charset parameter in meta ... ok ====================================================================== FAIL: Charset mismatch: HTTP Content-Type and XML Declaration (sends warning, proceed with HTTP and pass) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/link/web/HEAD/misc/testsuite/lib/TestCase.py", line 63, in run_testcase self.assertEqual(results_filtered, self.expectResults) AssertionError: {'NumWarnings': 'yes', 'Validity': 'Fail'} != {'NumWarnings': 'yes', 'Validity': 'Pass'} ---------------------------------------------------------------------- Ran 9 tests in 16.341s FAILED (failures=1) DOCTYPE with a relative URI for the system identifier. Should probably pass if the sgml parser was given the base URI(?) ... FAIL ====================================================================== FAIL: DOCTYPE with a relative URI for the system identifier. Should probably pass if the sgml parser was given the base URI(?) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/link/web/HEAD/misc/testsuite/lib/TestCase.py", line 63, in run_testcase self.assertEqual(results_filtered, self.expectResults) AssertionError: {'Validity': 'Abort'} != {'Validity': 'Pass'} ---------------------------------------------------------------------- Ran 1 test in 2.044s FAILED (failures=1) text/xml, no charset (W01) ... ok text/html, no charset, fbc set (W02) ... FAIL charset override (W03) ... ok text/html, no charset, override set (W04) ... FAIL text/html, no charset (W04) ... FAIL XHTML, no DOCTYPE, if overriden, should output W05. ... ok HTML4.0 plus blink ("Custom" SGML DTD), parse mode fallback to SGML (W06) ... ok HTML 4.01 Strict served with an XHTML mime type. Parse mode conflict (W07) ... ok XHTML, no DOCTYPE, no xmlns (thus invalid). (W09). ... ok XML, no DOCTYPE, not well-formed (W09xml) ... ok XHTML. If using doctype override to HTML401, namespace will trigger (W11) ... ok Test for xmlns in HTML content ... FAIL HTML 4.01 Strict, validated with HTML 4.01 Transitional override (W13) ... ok No doctype, override given, fallback fbd is off (W15) ... ok No doctype, fallback given (W16) ... ok charset mismatch HTTP / XML decl (W18) ... FAIL charset mismatch HTTP / Meta (W19) ... ok MathML 2.0 as text/html (W23) ... ok supported, but rare, charset (W24) ... ok SVG with neither DOCTYPE nor version attribute (OK in SVG). (W25) ... ok ====================================================================== FAIL: text/html, no charset, fbc set (W02) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/link/web/HEAD/misc/testsuite/lib/TestCase.py", line 63, in run_testcase self.assertEqual(results_filtered, self.expectResults) AssertionError: {'NumWarnings': '0', 'Validity': 'Pass'} != {'NumWarnings': 'yes', 'Validity': 'Pass'} ====================================================================== FAIL: text/html, no charset, override set (W04) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/link/web/HEAD/misc/testsuite/lib/TestCase.py", line 63, in run_testcase self.assertEqual(results_filtered, self.expectResults) AssertionError: {'NumWarnings': '0', 'Validity': 'Pass'} != {'NumWarnings': 'yes', 'Validity': 'Pass'} ====================================================================== FAIL: text/html, no charset (W04) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/link/web/HEAD/misc/testsuite/lib/TestCase.py", line 63, in run_testcase self.assertEqual(results_filtered, self.expectResults) AssertionError: {'NumWarnings': '0', 'Validity': 'Pass'} != {'NumWarnings': 'yes', 'Validity': 'Pass'} ====================================================================== FAIL: Test for xmlns in HTML content ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/link/web/HEAD/misc/testsuite/lib/TestCase.py", line 63, in run_testcase self.assertEqual(results_filtered, self.expectResults) AssertionError: {'NumErrors': 'yes', 'NumWarnings': '0', 'Validity': 'Fail'} != {'NumWarnings': 'yes', 'NumErrors': 'yes', 'Validity': 'Fail'} ====================================================================== FAIL: charset mismatch HTTP / XML decl (W18) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/link/web/HEAD/misc/testsuite/lib/TestCase.py", line 63, in run_testcase self.assertEqual(results_filtered, self.expectResults) AssertionError: {'NumWarnings': '1', 'Validity': 'Fail'} != {'NumWarnings': '1', 'Validity': 'Pass'} ---------------------------------------------------------------------- Ran 20 tests in 25.509s FAILED (failures=5) *** Running Collection #valid: Valid Documents *** Running Collection #doctypes: Document types support *** Running Collection #valid_notcat: Document types outside the main catalogue *** Running Collection #valid_doctypeless: Valid Doctypeless Documents *** Running Collection #valid_warn: Valid Documents, with Warnings *** Running Collection #appc: Valid XHTML 1.0 documents not conforming to HTML compatibility Guidelines *** Running Collection #wrong_mime: Valid Documents served with a wrong media type *** Running Collection #valid_bugfix: Bug Regression Tests: Valid documents *** Running Collection #invalid: Invalid Documents *** Running Collection #invalid_misc: Miscellaneous invalid docs *** Running Collection #invalid_nodoctype: Missing Doctype *** Running Collection #nonconform: DTD-Valid but not conformant *** Running Collection #invalid_bug: Documents that are invalid, which the validator passes as OK *** Running Collection #well-formed: Docs that should be Well Formed *** Running Collection #encoding: Document Encoding Tests *** Running Collection #encodings: Various Encodings *** Running Collection #errors: Error conditions & strange cases *** Running Collection #output_test: Test for specific output *** Running Collection #output_preparse: Output of preparse warnings