diff options
author | ot <ot@localhost> | 2009-02-13 21:02:08 +0000 |
---|---|---|
committer | ot <ot@localhost> | 2009-02-13 21:02:08 +0000 |
commit | abadf3695510d065c73474787ecf1d7502b37354 (patch) | |
tree | dccb6c6caa24f91c8893d2520c89f82b95fa2fbc | |
parent | aa81609104225174d82566752dbef694a5cd88a4 (diff) | |
download | markup-validator-abadf3695510d065c73474787ecf1d7502b37354.zip markup-validator-abadf3695510d065c73474787ecf1d7502b37354.tar.gz markup-validator-abadf3695510d065c73474787ecf1d7502b37354.tar.bz2 |
adding test case for http://www.w3.org/Bugs/Public/show_bug.cgi?id=4412
-rw-r--r-- | htdocs/dev/tests/4412-fuzzymatch.xhtml | 19 | ||||
-rw-r--r-- | misc/testsuite/catalog.xml | 8 |
2 files changed, 27 insertions, 0 deletions
diff --git a/htdocs/dev/tests/4412-fuzzymatch.xhtml b/htdocs/dev/tests/4412-fuzzymatch.xhtml new file mode 100644 index 0000000..489b541 --- /dev/null +++ b/htdocs/dev/tests/4412-fuzzymatch.xhtml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!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>fuzzy matching goodness</title> + <meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8" /> + <meta http-equiv="content-style-type" content="text/css" /> + </head> + <body> + + <spam crass="foo">typos in attribute and element</span> + + <SPaN + CLaSS="foo">non-lowercase attribute and element</SPAN> + +</body> +</html> + diff --git a/misc/testsuite/catalog.xml b/misc/testsuite/catalog.xml index 1bc7b91..91cdbb4 100644 --- a/misc/testsuite/catalog.xml +++ b/misc/testsuite/catalog.xml @@ -652,6 +652,14 @@ </test> <test> + <uri>http://qa-dev.w3.org/wmvs/HEAD/dev/tests/4412-fuzzymatch.xhtml</uri> + <html:p>Testing fuzzy matching: typos in attribute and element, and wrong-cased attribute and element. </html:p> + <expect> + <Validity>Fail</Validity> + </expect> + </test> + + <test> <uri>http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-precise-error.html</uri> <html:p>HTML5 document with tokenizer error (precise locator)</html:p> <expect> |