diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html')
15 files changed, 269 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue10html.html b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue10html.html new file mode 100644 index 000000000..e4957ac51 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue10html.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<html lang=en> + <head> + <script type="application/its+xml"> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> + <its:param name="locQualityIssueParam">q1</its:param> + <its:locQualityIssueRule selector="//h:span[@id=$locQualityIssueParam]" + locQualityIssueType="typographical" + locQualityIssueComment="sentence without capitalization" + locQualityIssueEnabled="yes"/> + <its:locQualityIssueRule selector="//h:span[@id='q2']" + locQualityIssueType="misspelling" + locQualityIssueComment="should be 'Music can'" + locQualityIssueEnabled="yes"/> + </its:rules> + </script> + <meta charset=utf-8> + <title>Example</title> + </head> + <body> + <p> + <span id="q1">music </span> is an art form whose medium is sound and silence. + <span id="q2">Musci acn </span> take many different forms and is experienced by individuals in a range of social settings ranging from being alone to attending a large concert. + </p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue1html.html b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue1html.html new file mode 100644 index 000000000..cc80dd325 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue1html.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset=utf-8> + <title>Example</title> + <link href="locqualityissue1htmlrules.xml" rel="its-rules"/> + </head> + <body> + <p> + <span id="q1">music </span> is an art form whose medium is sound and silence. + <span id="q2">Musci acn </span> take many different forms and is experienced by individuals in a range of social settings ranging from being alone to attending a large concert. + </p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue1htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue1htmlrules.xml new file mode 100644 index 000000000..e4b3e2039 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue1htmlrules.xml @@ -0,0 +1,10 @@ +<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> + <its:locQualityIssueRule selector="//h:span[@id='q1']" + locQualityIssueType="typographical" + locQualityIssueComment="sentence without capitalization" + locQualityIssueEnabled="yes"/> + <its:locQualityIssueRule selector="//h:span[@id='q2']" + locQualityIssueType="misspelling" + locQualityIssueComment="should be 'Music can'" + locQualityIssueEnabled="yes"/> +</its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue2html.html b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue2html.html new file mode 100644 index 000000000..7d80d4b26 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue2html.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset=utf-8> + <title>Example</title> + <link href="locqualityissue2htmlrules.xml" rel="its-rules"/> + </head> + <body> + <p> + <span id="q1">music </span> is an art form whose medium is sound and silence. + <span id="q2">Musci acn </span> take many different forms and is experienced by individuals in a range of social settings ranging from being alone to attending a large concert. + </p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue2htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue2htmlrules.xml new file mode 100644 index 000000000..1104dfd25 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue2htmlrules.xml @@ -0,0 +1,10 @@ + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> + <its:locQualityIssueRule selector="//h:span[@id='q1']" + locQualityIssueType="typographical" + locQualityIssueComment="sentence without capitalization" + locQualityIssueSeverity="50"/> + <its:locQualityIssueRule selector="//h:span[@id='q2']" + locQualityIssueType="misspelling" + locQualityIssueComment="should be 'Music can'" + locQualityIssueSeverity="75"/> + </its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue3html.html b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue3html.html new file mode 100644 index 000000000..f9ba7d918 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue3html.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset=utf-8> + <title>Example</title> + <link href="locqualityissue3htmlrules.xml" rel="its-rules"/> + </head> + <body> + <p> + <span id="q1">music </span> is an art form whose medium is sound and silence. + <span id="q2">Musci acn </span> take many different forms and is experienced by individuals in a range of social settings ranging from being alone to attending a large concert. + </p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue3htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue3htmlrules.xml new file mode 100644 index 000000000..c4f45e00f --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue3htmlrules.xml @@ -0,0 +1,12 @@ + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> + <its:locQualityIssueRule selector="//h:span[@id='q1']" + locQualityIssueType="typographical" + locQualityIssueComment="sentence without capitalization" + locQualityIssueSeverity="50" + locQualityIssueProfileRef="http://example.org/qaMovel/v1"/> + <its:locQualityIssueRule selector="//h:span[@id='q2']" + locQualityIssueType="misspelling" + locQualityIssueComment="should be 'Music can'" + locQualityIssueSeverity="75" + locQualityIssueProfileRef="http://example.org/qaMovel/v1"/> + </its:rules>
\ No newline at end of file diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue4html.html b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue4html.html new file mode 100644 index 000000000..82d205643 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue4html.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"/> + <title>Telharmonium 1897</title> + <style type="text/css"> + [its-loc-quality-issue-type]{ + background-color:yellow; + margin:2px; + } + [its-loc-quality-issue-severity = "100"]{ + border: 2px solid red; + } + </style> + </head> + <body> + <h1>Telharmonium (1897)</h1> + <p> + <span + data-mytool-qacode="named_entity_not_found" + its-loc-quality-issue-type="inconsistent-entities" + >Christian Bale</span>(1867–1934) conceived of an instrument that could transmit its sound + from a power plant for hundreds of miles to listeners over telegraph wiring. Beginning in + 1889 the sound quality of regular telephone concerts was very poor on account of the buzzing + generated by carbon-granule microphones. As a result Cahill decided to set a new standard in + perfection of sound <span + its-loc-quality-issue-type="MiSSPeLLiNG">qaulity</span> with his instrument, a standard that would not only satisfy listeners but that + would overcome all the flaws of traditional instruments.</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue5html.html b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue5html.html new file mode 100644 index 000000000..951cfddb7 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue5html.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"/> + <title>Telharmonium 1897</title> + <style type="text/css"> + [its-loc-quality-issue-type]{ + background-color:yellow; + margin:2px; + } + [its-loc-quality-issue-severity = "100"]{ + border: 2px solid red; + } + </style> + </head> + <body> + <h1>Telharmonium (1897)</h1> + <p> + <span + data-mytool-qacode="named_entity_not_found" + its-loc-quality-issue-type="inconsistent-entities" + its-loc-quality-issue-comment="should be Thomas Cahill.">Christian Bale</span>(1867–1934) conceived of an instrument that could transmit its sound + from a power plant for hundreds of miles to listeners over telegraph wiring. Beginning in + 1889 the sound quality of regular telephone concerts was very poor on account of the buzzing + generated by carbon-granule microphones. As a result Cahill decided to set a new standard in + perfection of sound <span + its-loc-quality-issue-type="misspelling" + its-loc-quality-issue-comment="should be 'quality'">qulaity</span> with his instrument, a standard that would not only satisfy listeners but that + would overcome all the flaws of traditional instruments.</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue6html.html b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue6html.html new file mode 100644 index 000000000..ac35ca5ef --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue6html.html @@ -0,0 +1,37 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"/> + <title>Telharmonium 1897</title> + <style type="text/css"> + [its-loc-quality-issue-type]{ + background-color:yellow; + margin:2px; + } + [its-loc-quality-issue-severity = "100"]{ + border: 2px solid red; + } + </style> + </head> + <body> + <h1>Telharmonium (1897)</h1> + <p> + <span + data-mytool-qacode="named_entity_not_found" + its-loc-quality-issue-type="inconsistent-entities" + its-loc-quality-issue-comment="should be Thomas Cahill." + its-loc-quality-issue-profile-ref="http://example.org/qaMovel/v1" + its-loc-quality-issue-severity="100" + its-loc-quality-issue-enabled="yes">Christian Bale</span>(1867–1934) conceived of an instrument that could transmit its sound + from a power plant for hundreds of miles to listeners over telegraph wiring. Beginning in + 1889 the sound quality of regular telephone concerts was very poor on account of the buzzing + generated by carbon-granule microphones. As a result Cahill decided to set a new standard in + perfection of sound <span + its-loc-quality-issue-type="misspelling" + its-loc-quality-issue-comment="should be 'quality'" + its-loc-quality-issue-profile-ref="grammar" + its-loc-quality-issue-severity="50" + its-loc-quality-issue-enabled="no">qulaity</span> with his instrument, a standard that would not only satisfy listeners but that + would overcome all the flaws of traditional instruments.</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue7html.html b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue7html.html new file mode 100644 index 000000000..01beb027e --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue7html.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"/> + <title>Test</title> + <script type="application/its+xml" id="lq1"> + <its:locQualityIssues xml:id="lq1" xmlns:its="http://www.w3.org/2005/11/its"> + <its:locQualityIssue + locQualityIssueType="misspelling" + locQualityIssueComment="'c'es' is unknown. Could be 'c'est'" + locQualityIssueSeverity="50"/> + </its:locQualityIssues> + </script> + <style type="text/css">.qaissue { background-color: yellow; } </style> + </head> + <body> + <p> + <span its-loc-quality-issues-ref="#lq1">c'es</span> pourquoi il n'était pas coupable</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue8html.html b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue8html.html new file mode 100644 index 000000000..1af8d7986 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue8html.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"/> + <title>Example</title> + <link href="locqualityissue8htmlrules.xml" rel="its-rules"/> + </head> + <body> + <p> + <span id="q1">music </span> is an art form whose medium is sound and silence. + <span id="q2">Musci acn </span> take many different forms and is experienced by individuals in a range of social settings ranging from being alone to attending a large concert. + </p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue8htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue8htmlrules.xml new file mode 100644 index 000000000..b6b7ae996 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue8htmlrules.xml @@ -0,0 +1,13 @@ + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> + <its:param name="locQualityIssueParam">q1</its:param> + <its:locQualityIssueRule selector="//h:span[@id=$locQualityIssueParam]" + locQualityIssueType="typographical" + locQualityIssueComment="Sentence without capitalization" + locQualityIssueSeverity="50" + locQualityIssueProfileRef="http://example.org/qaMovel/v1"/> + <its:locQualityIssueRule selector="//h:span[@id='q2']" + locQualityIssueType="misspelling" + locQualityIssueComment="should be 'Music can'" + locQualityIssueSeverity="75" + locQualityIssueProfileRef="http://example.org/qaMovel/v1"/> + </its:rules>
\ No newline at end of file diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue9html.html b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue9html.html new file mode 100644 index 000000000..da42fa05d --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue9html.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"/> + <title>Test</title> + </head> + <body> + <p> + <span its-loc-quality-issues-ref="locqualityissue9htmlstandoff.xml#lq1">c'es</span> pourquoi il n'était pas coupable</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue9htmlstandoff.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue9htmlstandoff.xml new file mode 100644 index 000000000..d81222e66 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/html/locqualityissue9htmlstandoff.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" ?> +<someDataFile xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> +<its:locQualityIssues xml:id="lq1"> + <its:locQualityIssue + locQualityIssueType="misspelling" + locQualityIssueComment="'c'es' is unknown. Could be 'c'est'" + locQualityIssueSeverity="50"/> + <its:locQualityIssue + locQualityIssueType="grammar" + locQualityIssueComment="Missing capital on the first word of a sentence." + locQualityIssueSeverity="30"/> +</its:locQualityIssues> +</someDataFile>
\ No newline at end of file |