summaryrefslogtreecommitdiffstats
path: root/htdocs/dev/tests/index.html
blob: 494b86ff8f80d5dc9a05fc5ad2d21a7e4f5597a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!--#set var="revision" value="\$Id: index.html,v 1.43 2003-02-24 23:33:18 ville Exp $"
--><!--#set var="date" value="\$Date: 2003-02-24 23:33:18 $"
--><!--#set var="title" value="The W3C Markup Validation Service: Tests"
--><!--#set var="relroot" value="../../"
--><!--#include virtual="../../header.html" -->

    <p id="skip">
      This page is mainly for my own use, to test various things to
      make sure everything works fine after making changes to
      <a href="../../">the validator</a>. If you can think of interesting
      test cases that aren't on this page,
      <a href="../../feedback.html">let me know</a>.
    </p>
    <div id="valid">
      <h2>Docs that should be valid</h2>
      <ul>
        <li><a href="../../check?uri=http://www.w3.org/">W3C home</a></li>
        <li><a href="../../check?uri=http://www.w3.org/;ss;sp;outline">W3C home, extra parameters</a></li>
        <li><a href="../../check?uri=http://validator.w3.org/dev/tests/html40-strict.html;ss">HTML 4.0 Strict</a></li>
        <li><a href="../../check?uri=http://validator.w3.org/dev/tests/html40-transitional.html;ss">HTML 4.0 Transitional</a></li>
        <li><a href="../../check?uri=http://validator.w3.org/dev/tests/html40-frameset.html;ss">HTML 4.0 Frameset</a></li>
        <li><a href="../../check?uri=http://www.w3.org/TR/1999/PR-html40-19990824/">HTML 4.01</a></li>
        <li><a href="../../check?uri=http://validator.w3.org/dev/tests/iso-html.html;ss">ISO-HTML</a></li>
        <li><a href="../../check?uri=http://validator.w3.org/dev/tests/xhtml1-strict.html;ss">XHTML 1.0 Strict</a></li>
        <li><a href="../../check?uri=http://validator.w3.org/dev/tests/xhtml1-strict-minimal.html;ss">XHTML 1.0 Strict, minimal document from xhtml spec</a></li>
        <li><a href="../../check?uri=http://validator.w3.org/dev/tests/xhtml1-strict-missing-xmlns.html;ss">XHTML 1.0 Strict, missing xmlns attribute (valid)</a></li>
        <li><a href="../../check?uri=http://validator.w3.org/dev/tests/xhtml-basic10.html;ss">XHTML Basic 1.0 (valid)</a></li>
        <li><a href="../../check?uri=http://validator.w3.org/dev/tests/xhtml11-minimal.html;ss">XHTML 1.1 (minimal document)</a></li>
        <li><a href="../../check?uri=http://www.w3.org/TR/1999/WD-xhtml1-19991124/">XHTML 1.0</a></li>
        <li><a href="../../check?uri=http://validator.w3.org/dev/tests/xhtml-mathml2-fpi.html;ss">XHTML/MathML2 w/FPI</a></li>
        <li><a href="../../check?uri=http://validator.w3.org/dev/tests/mathml2.html;ss">MathML 2.0</a> (minimal test document)</li>
        <li><a href="../../check?uri=http://validator.w3.org:8001/dev/tests/application-xhtml_xml.xhtml">application/xhtml+xml</a></li>
        <li><a href="../../check?uri=http://www.w3.org/TR/2001/PR-SVG-20010719/images/struct/StandAlone01.svg">SVG 1.0 from 20010719 PR</a></li>
        <li>@@ application/smil</li>
        <li>SMIL 1.0 <a href="../../check?uri=http://validator.w3.org/dev/tests/smil10-minimal.smi">Minimal Document</a> w/DOCTYPE.</li>
        <li>SMIL 2.0 <a href="../../check?uri=http://validator.w3.org/dev/tests/smil20-profile-doctype.smi">Testcase (wrong Namespace?)</a> w/DOCTYPE.</li>
        <li><a href="../../check?uri=http://www.w3.org/1999/08/WD-xpath-19990813.xml;ss">WD-xpath-19990813.xml</a></li>
        <li><a href="../../check?uri=http://www.w3.org/TR/XHTMLplusMathMLplusSVG/sample.xhtml">Sample XHTML + MathML + SVG document (from the 9 August 2002 WD)</a></li>
      </ul>
    </div>

    <div id="invalid">
      <h2>Docs that are probably invalid</h2>
      <ul>
	<li><a href="../../check?uri=http://www.yahoo.com/">Yahoo!</a></li>
	<li><a href="../../check?uri=http://www.microsoft.com/">Microsoft</a></li>
	<li><a href="../../check?uri=http://www.netscape.com/">Netscape</a></li>
        <li><a href="../../check?uri=http://www.w3.org/TR/1998/REC-xml-19980210.xml">XML 1.0</a></li>
      </ul>
    </div>

    <div id="well-formed">
      <h2>Docs that should be Well Formed</h2>
      <ul>
        <li><a href="../../check?uri=http://www.w3.org/Protocols/rfc2616/rfc2616.html">XHTML sans DOCTYPE</a> (DanC's HTMLized RFC 2616;well-formed, but not valid!)</li>
        <li><a href="../../check?uri=http://validator.w3.org/dev/tests/xhtml-mathml2.html;ss">XHTML/MathML2</a>
          (from the <a href="http://www.w3.org/TR/2000/CR-MathML2-20001113/chapter2.html#N1783">MathML 2.0 spec</a>)</li>
            <li><a href="../../check?uri=http://impressive.net/people/gerald/2000/10/18/test-staroffice-doc.xml;ss">XML output from OpenOffice 5.2</a>
              ("Build/Tag number OpenOffice605"), many namespaces</li>
      </ul>
    </div>

    <div id="encodings">
      <h2>Different encodings</h2>
      <ul>
	<li><a href="../../check?uri=http://www.w3.org/2001/06/utf-8-test/UTF-8-demo.html">UTF-8 sample text (correct)</a>,
	  <a href='http://www.w3.org/2001/06/utf-8-test/'>more positive tests</a></li>
	<li><a href="../../check?uri=http://www.w3.org/2001/06/utf-8-wrong/UTF-8-test.html">UTF-8 stress test (wrong cases)</a>,
	  <a href='http://www.w3.org/2001/06/utf-8-wrong/'>more negative tests</a></li>
	<li><a href="../../check?uri=http://www.w3.org/Press/1998/XSL-WD.html.ja">iso-2022-jp encoded document</a></li>
	<li><a href="../../check?uri=http://www.vir.si/">windows-1250 encoded document (Slovenian)</a></li>
	<li><a href="../../check?uri=http://www.w3.org/TR/ruby/">utf-8 encoded document</a></li>
	<li><a href="../../check?uri=http://validator.w3.org/dev/tests/plane20-char.xml">XML file with a "Plane 20" character (bogus).</a></li>
      </ul>
    </div>

    <div id="errors">
      <h2>Error conditions &amp; strange cases</h2>
      <ul>
	<li><a href="../../check/referer">/check/referer</a></li>
	<li><a href="../../check?uri=http://www.w3.org/MarkUp">redirect</a></li>
	<li><a href="../../check">script invoked with no parameters</a></li>
	<li><a href="../../check?uri=">uri parameter is empty</a></li>
	<li><a href="../../check?uri=www.w3.org/">uri is missing http://</a></li>
	<li><a href="../../check?uri=http://www.w3.org/bogus">404 not found</a></li>
	<li><a href="../../check?uri=http://validator.w3.org/sgml-lib/catalog">text/plain</a></li>
	<li><a href="../../check?uri=http://validator.w3.org:8000/">httpd on a non-standard port</a></li>
	<li><a href="../../check?uri=http://validator.w3.org/dev/tests/xhtml1-missing-doctype-and-xmlns.html;ss">XHTML, no DOCTYPE, no xmlns</a> (invalid)</li>
	<li><a href="../../check?uri=http://validator.w3.org/dev/tests/bogus-fpi.html;ss">bogus FPI</a></li>
	<li><a href="../../check?uri=http://validator.w3.org/dev/tests/xhtml1-blank-1st-line.html;ss">XHTML1, blank first line</a>
	  (<a href="http://lists.w3.org/Archives/Public/www-validator/2000JanMar/0144.html">should be marked as invalid</a>)</li>
	<li><a href="../../check?uri=http://validator.w3.org/dev/tests/xhtml1-bogus-element.html;ss">XHTML1, bogus element</a></li>
	<li><a href="../../check?uri=http://www.w3.org/2001/01/xml-latin1.html;ss;sp;noatt">us-ascii xml document with a latin1 character</a> (should be invalid)</li>
	<li><a href="../../check?uri=http://validator.w3.org/dev/tests/no-newlines.html;ss;sp;noatt">no newlines</a></li>
	<li><a href="../../check?uri=file%3A///etc/passwd">a file: URI</a></li>
	<li><a href="../../check?uri=http://validator.w3.org/dev/tests/nonSGML-chars.html">Non-SGML Chars.</a></li>
	<li><a href="../../check?uri=http://validator.w3.org/dev/tests/shorttags.html">SHORTTAGS and -wunclosed..</a></li>
        <li><a href="../../check?uri=http://www.w3.org/1999/09/SVG-access/computer.svg">image/svg</a></li>
        <li><a href="../../check?uri=http://validator.w3.org/dev/tests/REC-SVG-1_0-minimal.svg">SVG 1.0 Rec. minimal document</a></li>
            <li><a href="../../check?uri=http://www.oasis-open.org/committees/xmltest/xmlconf-19990712.xml;ss">xmlconf-19990712.xml</a></li>
      </ul>
    </div>

    <div id="suites">
      <h2>Other Test Suites</h2>
      <ul><li><a href="http://www.nist.gov/xml/">NIST's XML, DOM test suites</a></li></ul>
    </div>

    <div id="regress">
      <h2>Bugs and Regression Tests</h2>
      <ul>
	<li><a href="../../check?uri=http://validator.w3.org/dev/tests/long-lines.html">Long Lines (cause a core)</a></li>
	<li><a href="../../check?uri=http://validator.w3.org/dev/tests/trailing-nul.html">A trailing ASCII NUL character (trips up HTML::Parser)</a></li>
      </ul>
    </div>

<!--#include virtual="../../footer.html" -->
  </body>
</html>