Tests catalog for the Markup Validator


Test document
Markup
Valid
Description

tests/REC-SVG-1_0-minimal.svg
SVG 1.0
Valid
Four separate rectangles in SVG. 
0.6.0 does not recognize it as valid (charset error) but  0.6.2 should

tests/application-xhtml_xml.xhtml
XHTML 1.1
Valid
Simple XHTML 1.1 document with text. Served with application/xhtml+xml thanks to extension

tests/bogus-fpi.html
HTML 4.0 TRansitional
Invalid
wrong FPI

tests/colons.html
XHTML 1.0 Strict
Invalid
Uses undeclared namespace prefixes

tests/html40-frameset.html
HTML 4.0 frameset
Valid
Simple sample of HTML 4.0 frameset, valid though the fussy parsing (0.6.5 beta) complains

tests/html40-strict.html
HTML 4.0 Strict
Valid
Simple sample of HTML 4.0 Strict

tests/html40-transitional.html
HTML 4.0 Transitional
Valid

tests/iso-html.html
ISO-HTML
Valid
Simple sample ISO-HTML

tests/long-lines.html
XHTML Basic 1.0
Valid
Very long lines, made some versions of the validator crash

tests/mathml2.html
Mathml 2.0
Valid
Very simple sample MathML 2.0

tests/no-newlines.html
HTML 4.0 Frameset
Valid (?)
No newline - causes strange error case?

tests/nonSGML-chars.html
XHTML 1.0 Strict
Valid
Non-SGML Characters 

tests/outline.html
XHTML 1.0 Strict
Valid
Can be used to test the outline feature

tests/plane20-char.xml
XML
Invalid 
XML With a "plane 20" character (bogus, not well formed)

tests/shorttags.html
HTML 4.0 Transitional
Valid
Testing the "shorttags" and "-w unclosed" SGML  

tests/smil10-minimal.smi
SMIL 1.0
Valid
Test minimal SMIL 1.0 document

tests/smil20-profile-doctype.smi
SMIL 2.0
Invalid
Test SMIL 2.0: The file has the SMIL 2.0 DOCTYPE declaration,  and an unrecognized default namespace attribute on the smil element. This should result in the user agent issuing an error.

tests/svg-minimal-standalone.svg
SVG 1.0 PR 20010719
Valid
Four regtangles in SVG (not final Rec DTD, apparently)

tests/trailing-nul.html
HTML 4.0 TRansitional
Valid
A Null ASCII character "trips up HTML::Parser"

tests/xhtml-basic10.html
XHTML Basic 1.0
Valid
Sample XHTML Basic 1.0

tests/xhtml-mathml2-fpi.html
MathML 2.0 (with FPI)
Valid
Sample MathML 2.0 (With FPI) should be valid

tests/xhtml-mathml2.html
MathML 2.0
Invalid
This MathML sample should be well formed

tests/xhtml1-blank-1st-line.html
XHTML 1.0
Invalid
XHTML 1.0 Document with first line blank (NOT valid)

tests/xhtml1-bogus-element.html
XHTML 1.0
Invalid
XHTML 1.0 using a bogus "foo" element. Invalid, obviously

tests/xhtml1-missing-doctype-and-xmlns.html
XHTML 1.0
Invalid
This is an XHTML 1.0 document, but it comes without doctype not XMLNS so it may be (non) validated as anything

tests/xhtml1-strict-minimal.html
XHTML 1.0
Valid
Minimal XHTML 1.0 document from the spec

tests/xhtml1-strict-missing-xmlns.html
XHTML 1.0 Strict
Valid
XHTML 1.0 sample without XML Namespace attribute in the html element

tests/xhtml1-strict.html
XHTML 1.0 Strict
Valid
Sample XHTML 1.0 Strict document

tests/xhtml11-minimal.html
XHTML 1.1
Valid
Sample minimal XHTML 1.1 document

tests/UTF-8-demo.html
XHTML 1.0 Transitional
Valid
UTF-8 tests in XHTML 1.0 with different languages and scripts

tests/xhtml-mathml-svg.xhtml
XHTML plus MathML pls SVG
Valid
Sample Sample XHTML + MathML + SVG document (from the 9 August 2002 WD)

Error conditions & strange cases

The following should not be tested automatically.

Bugs and Regression Tests

Other Test Suites


Valid XHTML 1.0!
Created Date: 2003-10-07 by olivier Thereaux
Last modified $Date: 2004/02/03 17:50:35 $ by $Author: ot $

Copyright © 2000-2003 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.