diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/conformance-checkers/html-its/locqualityissue | |
parent | Initial commit. (diff) | |
download | firefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-its/locqualityissue')
30 files changed, 459 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 0000000000..e4957ac516 --- /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 0000000000..c4e423d555 --- /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 0000000000..e4b3e20390 --- /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 0000000000..d8c65ab077 --- /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 0000000000..1104dfd25d --- /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 0000000000..b2b8e8fcde --- /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 0000000000..c4f45e00fe --- /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 0000000000..16539527c1 --- /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> + [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 0000000000..f2ca74f518 --- /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> + [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 0000000000..e067d93ab5 --- /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> + [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 0000000000..4ecb637c5c --- /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>.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 0000000000..7855bb0f24 --- /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 0000000000..b6b7ae996e --- /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 0000000000..79c805161f --- /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 0000000000..d81222e66e --- /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 diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue10xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue10xml.xml new file mode 100644 index 0000000000..c1d164462b --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue10xml.xml @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<doc xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> +<para><its:span locQualityIssueComment="Sentence without capitalization" locQualityIssueSeverity="50" locQualityIssueProfileRef="http://example.org/qaMovel/v1">transport</its:span> or transportation is the movement of people, animals and goods from one location to another.Modes of <its:span locQualityIssueComment="should be 'transport include'" locQualityIssueSeverity="75" locQualityIssueProfileRef="http://example.org/qaMovel/v1">tranport inc.</its:span> air, rail, road, water, cable, pipeline, and space.</para> +</doc> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue11xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue11xml.xml new file mode 100644 index 0000000000..399e667131 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue11xml.xml @@ -0,0 +1,21 @@ +<?xml version="1.0"?> +<doc> + <header> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:param name="locqualityissueParam">q1</its:param> + <its:locQualityIssueRule selector="//span[@id=$locqualityissueParam]" + locQualityIssueComment="Sentence without capitalization" + locQualityIssueSeverity="50" + locQualityIssueProfileRef="http://example.org/qaMovel/v1"/> + <its:locQualityIssueRule selector="//span[@id='q2']" + locQualityIssueComment="should be 'transport include'" + locQualityIssueSeverity="75" + locQualityIssueProfileRef="http://example.org/qaMovel/v1"/> + </its:rules> + </header> + <para> + <span id="q1">transport</span> or transportation is the movement of people, animals and goods from one location to another. + Modes of <span id="q2">tranport inc.</span> air, rail, road, water, cable, pipeline, and space. +</para> +</doc> + diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue12xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue12xml.xml new file mode 100644 index 0000000000..1574e8c770 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue12xml.xml @@ -0,0 +1,11 @@ +<?xml version="1.0"?> +<doc> + <header> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:type="simple" xlink:href="locqualityissue12xmlrules.xml"/> + </header> + <para> + <span id="q1">transport</span> or transportation is the movement of people, animals and goods from one location to another. + Modes of <span id="q2">tranport inc.</span> air, rail, road, water, cable, pipeline, and space. +</para> +</doc> + diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue12xmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue12xmlrules.xml new file mode 100644 index 0000000000..dc42a43b4a --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue12xmlrules.xml @@ -0,0 +1,11 @@ + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:param name="locqualityissueParam">q1</its:param> + <its:locQualityIssueRule selector="//span[@id=$locqualityissueParam]" + locQualityIssueComment="Sentence without capitalization" + locQualityIssueSeverity="50" + locQualityIssueProfileRef="http://example.org/qaMovel/v1"/> + <its:locQualityIssueRule selector="//span[@id='q2']" + locQualityIssueComment="should be 'transport include'" + locQualityIssueSeverity="75" + locQualityIssueProfileRef="http://example.org/qaMovel/v1"/> + </its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue13xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue13xml.xml new file mode 100644 index 0000000000..b6722c4992 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue13xml.xml @@ -0,0 +1,24 @@ +<?xml version="1.0"?> +<doc xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> + <file> + <header> + <its:rules version="2.0"> + <its:locQualityIssueRule selector="//mrk[@type='x-itslq']" + locQualityIssuesRefPointer="@ref"/> + </its:rules> + </header> + <unit id="1"> + <segment> + <source>This is the content</source> + <target><mrk type="x-itslq" ref="#lq1">c'es</mrk> le contenu</target> + </segment> + <its:locQualityIssues xml:id="lq1"> + <its:locQualityIssue + locQualityIssueComment="'c'es' is unknown. Could be 'c'est'" + locQualityIssueSeverity="75" + locQualityIssueProfileRef="http://example.org/qaMovel/v1" + locQualityIssueEnabled="yes"/> + </its:locQualityIssues> + </unit> + </file> +</doc> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue1xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue1xml.xml new file mode 100644 index 0000000000..ee70d1d8bb --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue1xml.xml @@ -0,0 +1,18 @@ +<?xml version="1.0"?> +<doc> + <header> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:locQualityIssueRule selector="//span[@id='q1']" + locQualityIssueType="typographical"/> + <its:locQualityIssueRule selector="//span[@id='q2']" + locQualityIssueType="misspelling"/> + </its:rules> + </header> + <para> + <span id="q1">transport</span> or transportation is the movement of people, animals and goods from one location to another. + Modes of <span id="q2">tranport inc.</span> air, rail, road, water, cable, pipeline, and space. +</para> +</doc> + + + diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue2xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue2xml.xml new file mode 100644 index 0000000000..5be4462920 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue2xml.xml @@ -0,0 +1,18 @@ +<?xml version="1.0"?> +<doc> + <header> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:locQualityIssueRule selector="//span[@id='q1']" + locQualityIssueComment="Sentence without capitalization" + locQualityIssueSeverity="50"/> + <its:locQualityIssueRule selector="//span[@id='q2']" + locQualityIssueComment="should be 'transport include'" + locQualityIssueSeverity="75"/> + </its:rules> + </header> + <para> + <span id="q1">transport</span> or transportation is the movement of people, animals and goods from one location to another. + Modes of <span id="q2">tranport inc.</span> air, rail, road, water, cable, pipeline, and space. +</para> +</doc> + diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue3xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue3xml.xml new file mode 100644 index 0000000000..a51fbc0a35 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue3xml.xml @@ -0,0 +1,22 @@ +<?xml version="1.0"?> +<doc> + <header> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:locQualityIssueRule selector="//span[@id='q1']" + locQualityIssueType="typographical" + locQualityIssueSeverity="50" + locQualityIssueProfileRef="http://example.org/qaMovel/v1" + locQualityIssueEnabled="yes"/> + <its:locQualityIssueRule selector="//span[@id='q2']" + locQualityIssueType="misspelling" + locQualityIssueSeverity="75" + locQualityIssueProfileRef="http://example.org/qaMovel/v1" + locQualityIssueEnabled="yes"/> + </its:rules> + </header> + <para> + <span id="q1">transport</span> or transportation is the movement of people, animals and goods from one location to another. + Modes of <span id="q2">tranport inc.</span> air, rail, road, water, cable, pipeline, and space. +</para> +</doc> + diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue4xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue4xml.xml new file mode 100644 index 0000000000..d50f903bae --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue4xml.xml @@ -0,0 +1,24 @@ +<?xml version="1.0"?> +<doc xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> + <header> + <its:rules version="2.0"> + <its:locQualityIssueRule selector="//span[@id='q1']" + locQualityIssuesRefPointer="./@issues"/> + <its:locQualityIssueRule selector="//span[@id='q2']" + locQualityIssueType="misspelling" + locQualityIssueSeverity="75" + locQualityIssueProfileRef="http://example.org/qaMovel/v1" + locQualityIssueEnabled="yes"/> + </its:rules> + </header> + <para> + <span id="q1" issues="#id1234">transport</span> or transportation is the movement of people, animals and goods from one location to another. + Modes of <span id="q2">tranport inc.</span> air, rail, road, water, cable, pipeline, and space. + </para> + <its:locQualityIssues xml:id="id1234"> + <its:locQualityIssue locQualityIssueType="typographical" + locQualityIssueSeverity="50" + locQualityIssueProfileRef="http://example.org/qaMovel/v1" + locQualityIssueEnabled="no"/> + </its:locQualityIssues> +</doc> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue5xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue5xml.xml new file mode 100644 index 0000000000..b5fcceabf8 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue5xml.xml @@ -0,0 +1,11 @@ +<?xml version="1.0"?> +<doc> + <header> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" + version="2.0" xlink:type="simple" xlink:href="locqualityissue5xmlrules.xml"/> + </header> + <para> + <span id="q1">transport</span> or transportation is the movement of people, animals and goods from one location to another. + Modes of <span id="q2">tranport inc.</span> air, rail, road, water, cable, pipeline, and space. +</para> +</doc> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue5xmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue5xmlrules.xml new file mode 100644 index 0000000000..a778ffc9bd --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue5xmlrules.xml @@ -0,0 +1,10 @@ +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:locQualityIssueRule selector="//span[@id='q1']" + locQualityIssueType="typographical" + locQualityIssueSeverity="50" + locQualityIssueProfileRef="http://example.org/qaMovel/v1"/> + <its:locQualityIssueRule selector="//span[@id='q2']" + locQualityIssueComment="should be 'transport include'" + locQualityIssueSeverity="75" + locQualityIssueProfileRef="http://example.org/qaMovel/v1"/> + </its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue6xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue6xml.xml new file mode 100644 index 0000000000..e8c41ebfc7 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue6xml.xml @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<doc xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> + <para><span its:locQualityIssueType="typographical">transport</span> or transportation is the movement of people, animals and goods from one location to another.Modes of <span its:locQualityIssueType="misspelling">tranport inc.</span> air, rail, road, water, cable, pipeline, and space.</para> +</doc> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue7xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue7xml.xml new file mode 100644 index 0000000000..e81339948e --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue7xml.xml @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<doc xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> + <para><span its:locQualityIssueComment="Sentence without capitalization">transport</span> or transportation is the movement of people, animals and goods from one location to another.Modes of <span its:locQualityIssueComment="should be 'transport include'">tranport inc.</span> air, rail, road, water, cable, pipeline, and space.</para> +</doc> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue8xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue8xml.xml new file mode 100644 index 0000000000..2fffc91486 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue8xml.xml @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<doc xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> +<para><span its:locQualityIssueComment="Sentence without capitalization" its:locQualityIssueSeverity="50">transport</span> or transportation is the movement of people, animals and goods from one location to another.Modes of <span its:locQualityIssueComment="should be 'transport include'" its:locQualityIssueSeverity="75">tranport inc.</span> air, rail, road, water, cable, pipeline, and space.</para> +</doc> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue9xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue9xml.xml new file mode 100644 index 0000000000..fa4a108851 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/locqualityissue/xml/locqualityissue9xml.xml @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<doc xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> +<para><span its:locQualityIssueComment="Sentence without capitalization" its:locQualityIssueSeverity="50" its:locQualityIssueProfileRef="http://example.org/qaMovel/v1">transport</span> or transportation is the movement of people, animals and goods from one location to another.Modes of <span its:locQualityIssueComment="should be 'transport include'" its:locQualityIssueSeverity="75" its:locQualityIssueProfileRef="http://example.org/qaMovel/v1">tranport inc.</span> air, rail, road, water, cable, pipeline, and space.</para> +</doc> |