diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /testing/web-platform/tests/conformance-checkers/html-its/domain/xml | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-its/domain/xml')
9 files changed, 105 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain1xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain1xml.xml new file mode 100644 index 000000000..b3fd0f716 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain1xml.xml @@ -0,0 +1,13 @@ +<doc> + <head> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:domainRule selector="/doc/body" + domainPointer="/doc/head/meta[@name='DC.subject']/@content" + /> + </its:rules> + <meta name="DC.subject" content="automotive"/> + </head> + <body> + <p>The new car from XYZ - buy it now!</p> + </body> +</doc> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain2xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain2xml.xml new file mode 100644 index 000000000..2c7674a24 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain2xml.xml @@ -0,0 +1,14 @@ +<doc> + <head> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:domainRule selector="/doc/body" + domainPointer="/doc/head/meta[@name='DC.subject']/@content" + domainMapping="automotive auto, 'criminal law' law, 'property law' law" + /> + </its:rules> + <meta name="DC.subject" content="automotive"/> + </head> + <body> + <p>The new car from XYZ - buy it now!</p> + </body> +</doc> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain4xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain4xml.xml new file mode 100644 index 000000000..c08211fca --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain4xml.xml @@ -0,0 +1,10 @@ +<text> + <head> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="domain4xmlrules.xml"/> + <meta name="DC.subject" content="sports law"/> + </head> + <body> + <p>Sports law is an umbrella term used to describe the legal issues at work in the world of both amateur and professional sports.</p> + <p>Sports law overlaps substantially with labor law, contract law, competition or antitrust law, and tort law.</p> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain4xmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain4xmlrules.xml new file mode 100644 index 000000000..2660698c9 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain4xmlrules.xml @@ -0,0 +1,6 @@ +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:domainRule selector="/text/body" + domainPointer="/text/head/meta[@name='DC.subject']/@content" + domainMapping="'sports law' law, 'labor law' law, 'contract law' law, 'competition law' law,'tort law' law" + /> + </its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain5xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain5xml.xml new file mode 100644 index 000000000..8831dcb2b --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain5xml.xml @@ -0,0 +1,17 @@ +<text> +<head> +<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="domain5xmlrules.xml"/> +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> +<its:domainRule selector="/text/body/span" domainPointer="/text/head/meta[@name='DC.type']/@content" domainMapping="'sports law' amateur"/> +</its:rules> +<meta name="DC.subject" content="sports law"/> +<meta name="DC.type" content="sports law"/> +</head> +<body> +<p> +Sports law is an umbrella term used to describe the legal issues at work in the world of both amateur and professional sports. +Sports law overlaps substantially with labor law, contract law, competition or antitrust law, and tort law. +</p> +<span id="amateursports">Unlike intercollegiate sports, international amateur sports are run by a variety of organizations. </span> +</body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain5xmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain5xmlrules.xml new file mode 100644 index 000000000..472b38c58 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain5xmlrules.xml @@ -0,0 +1,6 @@ +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:domainRule selector="/text/body" + domainPointer="/text/head/meta[@name='DC.subject']/@content" + domainMapping="'sports law' law,'labor law' law,'contract law' law,'competition law' law,'tort law' law" + /> + </its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain6xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain6xml.xml new file mode 100644 index 000000000..c62de54ac --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain6xml.xml @@ -0,0 +1,19 @@ +<text> +<head> +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> +<its:param name="domainParam">DC.type</its:param> +<its:domainRule selector="/text/body/p" domainPointer="/text/head/meta[@name=$domainParam]/@content" domainMapping="'Poetry literature' poetry"/> +</its:rules> +<meta name="DC.type" content="Poetry literature"/> +</head> +<body> +<p> +<span> +A poem is a composition written in verse (although verse has also been used for epic and dramatic fiction). +</span> +<span> +Poems make use of the aesthetic qualities of language to suggest differential meanings and to evoke emotive responses. Poems rely heavily on imagery and metaphor; they may have a rhythmic structure based on patterns of stresses (metric feet) or on patterns of different-length syllables (as in classical prosody); and they may or may not utilize rhyme. +</span> +</p> +</body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain7xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain7xml.xml new file mode 100644 index 000000000..472cbb755 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain7xml.xml @@ -0,0 +1,16 @@ +<text> +<head> +<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="domain7xmlrules.xml"/> +<meta name="DC.type" content="Poetry literature"/> +</head> +<body> +<p> +<span> +A poem is a composition written in verse (although verse has also been used for epic and dramatic fiction). +</span> +<span> +Poems make use of the aesthetic qualities of language to suggest differential meanings and to evoke emotive responses. Poems rely heavily on imagery and metaphor; they may have a rhythmic structure based on patterns of stresses (metric feet) or on patterns of different-length syllables (as in classical prosody); and they may or may not utilize rhyme. +</span> +</p> +</body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain7xmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain7xmlrules.xml new file mode 100644 index 000000000..b9e17bd70 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain7xmlrules.xml @@ -0,0 +1,4 @@ +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> +<its:param name="domainParam">DC.type</its:param> +<its:domainRule selector="/text/body/p" domainPointer="/text/head/meta[@name=$domainParam]/@content" domainMapping="'Poetry literature' poetry"/> +</its:rules> |