diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-its/provenance')
23 files changed, 476 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance1html.html b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance1html.html new file mode 100644 index 000000000..3254d61dd --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance1html.html @@ -0,0 +1,32 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset=utf-8> + <title>Test</title> + <script id="pr1" type="application/its+xml"> + <its:provenanceRecords xml:id="pr1" xmlns:its="http://www.w3.org/2005/11/its"> + <its:provenanceRecord + tool="onlinemtex" + revPerson="James Joyce" + revTool="mycat-v1.0" + revOrg="acme-CAT-v2.3" + provRef="http://www.examplelsp.com/excontent987/production/prov/e6354"/> + </its:provenanceRecords> + </script> + <script id="pr2" type="application/its+xml"> + <its:provenanceRecords xml:id="pr2" xmlns:its="http://www.w3.org/2005/11/its"> + <its:provenanceRecord + person="John Doe" + org="legaltrans-ex" + revPerson="Tommy Atkins" + revOrg="vistatec" + provRef="http://www.vistatec.com/job-12-7-15-X31/reviewed/prov/re8573469"/> + </its:provenanceRecords> + </script> + <link href=provenance1htmlrules.xml rel=its-rules> + </head> + <body> + <p class="prov-records-ref"><a href="#pr1"></a>This paragraph was translated from the machine.</p> + <p class="prov-records-ref"><a href="#pr2"></a>This text was translated directly by a person.</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance1htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance1htmlrules.xml new file mode 100644 index 000000000..5fe84aeb2 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance1htmlrules.xml @@ -0,0 +1,3 @@ +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0" xmlns:h="http://www.w3.org/1999/xhtml"> + <its:provRule selector="//*[@class='prov-records-ref']" provenanceRecordsRefPointer="h:a/@href"/> +</its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance2html.html b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance2html.html new file mode 100644 index 000000000..214693ff7 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance2html.html @@ -0,0 +1,36 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset=utf-8> + <title>Test</title> + <script type="application/its+xml"> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0" xmlns:h="http://www.w3.org/1999/xhtml"> + <its:provRule selector="//*[@class='prov-records-ref']" provenanceRecordsRefPointer="h:a/@href"/> + </its:rules> + </script> + <script id="pr1" type="application/its+xml"> + <its:provenanceRecords xml:id="pr1" xmlns:its="http://www.w3.org/2005/11/its"> + <its:provenanceRecord + toolRef="http://www.provdata.com/tool/#onlinemtex" + revPerson="James Joyce" + revToolRef="http://www.provdata.com/RevTool/#mycat-v1" + revOrg="acme-CAT-v2.3" + provRef="http://www.examplelsp.com/excontent987/production/prov/e6354"/> + </its:provenanceRecords> + </script> + <script id="pr2" type="application/its+xml"> + <its:provenanceRecords xml:id="pr2" xmlns:its="http://www.w3.org/2005/11/its"> + <its:provenanceRecord + personRef="http://www.provdata.com/person/#John_Doe" + orgRef="http://www.provdata.com/org/#legaltrans-ex" + revPersonRef="http://www.provdata.com/RevPerson/#Tommy_Atkins" + revOrgRef="http://www.provdata.com/RevOrg/#vistatec" + provRef="http://www.vistatec.com/job-12-7-15-X31/reviewed/prov/re8573469"/> + </its:provenanceRecords> + </script> + </head> + <body> + <p class="prov-records-ref"><a href="#pr1"></a>This paragraph was translated from the machine.</p> + <p class="prov-records-ref"><a href="#pr2"></a>This text was translated directly by a person.</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance3html.html b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance3html.html new file mode 100644 index 000000000..75a99a369 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance3html.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"> + <title>Test</title> + <script id="pr1" type="application/its+xml"> + <its:provenanceRecords xml:id="pr1" xmlns:its="http://www.w3.org/2005/11/its"> + <its:provenanceRecord + toolRef="http://www.onlinemtex.com/2012/7/25/wsdl/" + org="acme-CAT-v2.3" + revToolRef="http://www.mycat.com/v1.0/download" + revOrg="acme-CAT-v2.3" + provRef="http://www.examplelsp.com/excontent987/production/prov/e6354"/> + </its:provenanceRecords> + </script> + <script id="pr2" type="application/its+xml"> + <its:provenanceRecords xml:id="pr2" xmlns:its="http://www.w3.org/2005/11/its"> + <its:provenanceRecord + person="John Doe" + orgRef="http://www.legaltrans-ex.com/" + revPerson="Tommy Atkins" + revOrgRef="http://www.vistatec.com/" + provRef="http://www.vistatec.com/job-12-7-15-X31/reviewed/prov/re8573469"/> + </its:provenanceRecords> + </script> + </head> + <body> + <p Its-Provenance-Records-Ref="#pr1"> This paragraph was translated from the machine.</p> + <p its-provenance-records-ref="#pr2">This text was translated directly by a person.</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance4html.html b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance4html.html new file mode 100644 index 000000000..0f387dacc --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance4html.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<html lang=en> + <head> + <meta charset=utf-8> + <title>Translation Revision Provenance Agent: Local Test in HTML5</title> + </head> + <body> + <p id="p1" + its-person-ref="http://www.provdata.com/person/#John_Doe" + its-tool-ref="http://www.onlinemtex.com/2012/7/25/wsdl/" + its-ORG="acme-CAT-v2.3" + its-rev-tool-ref="http://www.mycat.com/v1.0/download" + its-rev-org="acme-CAT-v2.3" + its-prov-ref="http://www.examplelsp.com/excontent987/production/prov/e6354"> This paragraph was translated from the machine.</p> + <p class="legal-notice" + ITS-tool="onlinemtex" + its-person="John Doe" + its-org-ref="http://www.legaltrans-ex.com/" + its-rev-person="Tommy Atkins" + its-rev-org-ref="http://www.vistatec.com/" + its-prov-ref="http://www.vistatec.com/job-12-7-15-X31/reviewed/prov/re8573469">This text was translated directly by a person.</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance5html.html b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance5html.html new file mode 100644 index 000000000..bb2f6bf0b --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance5html.html @@ -0,0 +1,35 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset=utf-8> + <title>Test</title> + <script id="pr1" type="application/its+xml"> + <its:provenanceRecords xml:id="pr1" xmlns:its="http://www.w3.org/2005/11/its"> + <its:provenanceRecord + toolRef="http://www.provdata.com/tool/#onlinemtex" + revPerson="James Joyce" + revToolRef="http://www.provdata.com/RevTool/#mycat-v1" + revOrg="acme-CAT-v2.3" + provRef="http://www.examplelsp.com/excontent987/production/prov/e6354"/> + <its:provenanceRecord + revPerson="John Smith" + revOrg="Linguaserve I.S. S.A." /> + </its:provenanceRecords> + </script> + <script id="pr2" type="application/its+xml"> + <its:provenanceRecords xml:id="pr2" xmlns:its="http://www.w3.org/2005/11/its"> + <its:provenanceRecord + personRef="http://www.provdata.com/person/#John_Doe" + orgRef="http://www.provdata.com/org/#legaltrans-ex" + revPersonRef="http://www.provdata.com/RevPerson/#Tommy_Atkins" + revOrgRef="http://www.provdata.com/RevOrg/#vistatec" + provRef="http://www.vistatec.com/job-12-7-15-X31/reviewed/prov/re8573469"/> + </its:provenanceRecords> + </script> + <link href=provenance5htmlrules.xml rel=its-rules> + </head> + <body> + <p class="prov-records-ref1"><a href="#pr1"></a>This paragraph was translated from the machine and subsequently revised.</p> + <p class="prov-records-ref2"><a href="#pr2"></a>This text was translated directly by a person.</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance5htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance5htmlrules.xml new file mode 100644 index 000000000..de701d979 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance5htmlrules.xml @@ -0,0 +1,4 @@ +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0" xmlns:h="http://www.w3.org/1999/xhtml"> + <its:param name="provenanceParam">prov-records-ref1</its:param> + <its:provRule selector="//*[@class=$provenanceParam]" provenanceRecordsRefPointer="h:a/@href"/> +</its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance6html.html b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance6html.html new file mode 100644 index 000000000..a4952fc66 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance6html.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset=utf-8> + <title>Test</title> + </head> + <body> + <p its-provenance-records-ref="provenance6htmlstandoff.xml#pr1">This paragraph was translated from the machine and subsequently revised.</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance6htmlstandoff.xml b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance6htmlstandoff.xml new file mode 100644 index 000000000..0be1638a6 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance6htmlstandoff.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" ?> +<someDataFile xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> +<its:provenanceRecords xml:id="pr1"> + <its:provenanceRecord + toolRef="http://www.provdata.com/tool/#onlinemtex" + revPerson="James Joyce" + revToolRef="http://www.provdata.com/RevTool/#mycat-v1" + revOrg="acme-CAT-v2.3" + provRef="http://www.examplelsp.com/excontent987/production/prov/e6354"/> + <its:provenanceRecord + revPerson="John Smith" + revOrg="Linguaserve I.S. S.A." /> + </its:provenanceRecords> +</someDataFile> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance7html.html b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance7html.html new file mode 100644 index 000000000..7ddd66a60 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance7html.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset=utf-8> + <title>Test</title> + </head> + <body> + <p its-provenance-records-ref="provenance7htmlstandoff.html#pr1">This paragraph was translated from the machine and subsequently revised.</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance7htmlstandoff.html b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance7htmlstandoff.html new file mode 100644 index 000000000..04e007055 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance7htmlstandoff.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset=utf-8> + <title>Test</title> + <script id="pr1" type="application/its+xml"> + <its:provenanceRecords xml:id="pr1" xmlns:its="http://www.w3.org/2005/11/its"> + <its:provenanceRecord + toolRef="http://www.provdata.com/tool/#onlinemtex" + revPerson="James Joyce" + revToolRef="http://www.provdata.com/RevTool/#mycat-v1" + revOrg="acme-CAT-v2.3" + provRef="http://www.examplelsp.com/excontent987/production/prov/e6354"/> + <its:provenanceRecord + revPerson="John Smith" + revOrg="Linguaserve I.S. S.A." /> + </its:provenanceRecords> + </script> + </head> + <body> + <p id="#pr1">Here is the information of provenance.</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance8html.html b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance8html.html new file mode 100644 index 000000000..a0fc83300 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/html/provenance8html.html @@ -0,0 +1,37 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset=utf-8> + <title>Test</title> + <script id="pr1" type="application/its+xml"> + <its:provenanceRecords xml:id="pr1" xmlns:its="http://www.w3.org/2005/11/its"> + <its:provenanceRecord + tool="onlinemtex" + revPerson="James Joyce" + revTool="mycat-v1.0" + revOrg="acme-CAT-v2.3" + provRef="http://www.examplelsp.com/excontent987/production/prov/e6354"/> + </its:provenanceRecords> + </script> + <script id="pr2" type="application/its+xml"> + <its:provenanceRecords xml:id="pr2" xmlns:its="http://www.w3.org/2005/11/its"> + <its:provenanceRecord + person="John Doe" + org="legaltrans-ex" + revPerson="Tommy Atkins" + revOrg="vistatec" + provRef="http://www.vistatec.com/job-12-7-15-X31/reviewed/prov/re8573469"/> + </its:provenanceRecords> + </script> + <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="provenanceParam">prov-records-ref1</its:param> + <its:provRule selector="//*[@class=$provenanceParam]" provenanceRecordsRefPointer="h:a/@href"/> + </its:rules> + </script> + </head> + <body> + <p class="prov-records-ref1"><a href="#pr1"></a>This paragraph was translated from the machine.</p> + <p class="prov-records-ref2"><a href="#pr2"></a>This text was translated directly by a person.</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance1xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance1xml.xml new file mode 100644 index 000000000..9c154797e --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance1xml.xml @@ -0,0 +1,28 @@ +<text xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> + <dc:creator>John Doe</dc:creator> + <its:provenanceRecords xml:id="pr1"> + <its:provenanceRecord + tool="onlinemtex" + revPerson="James Joyce" + revTool="mycat-v1.0" + revOrg="acme-CAT-v2.3" + provRef="http://www.examplelsp.com/excontent987/production/prov/e6354"/> + </its:provenanceRecords> + <its:provenanceRecords xml:id="pr2"> + <its:provenanceRecord + person="John Doe" + org="legaltrans-ex" + revPerson="Tommy Atkins" + revOrg="vistatec" + provRef="http://www.examplelsp.com/excontent987/legal/prov/e6354 http://www.vistatec.com/job-12-7-15-X31/reviewed/prov/re8573469"/> + </its:provenanceRecords> + <its:rules version="2.0"> + <its:provRule selector="//*[@ref]" provenanceRecordsRefPointer="@ref"/> + </its:rules> + <title>Translation Revision Provenance Agent: Global Test in XML</title> + <body> + <par ref="#pr1"> This paragraph was translated from the machine.</par> + <legalnotice ref="#pr2">This text was translated directly by a person.</legalnotice> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance2xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance2xml.xml new file mode 100644 index 000000000..c30afe8d3 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance2xml.xml @@ -0,0 +1,29 @@ +<text xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> + <dc:creator>John Doe</dc:creator> + <its:provenanceRecords xml:id="pr1"> + <its:provenanceRecord + toolRef="http://www.provdata.com/tool/#onlinemtex" + revPerson="James Joyce" + revToolRef="http://www.provdata.com/RevTool/#mycat-v1" + revOrg="acme-CAT-v2.3" + provRef="http://www.examplelsp.com/excontent987/production/prov/e6354"/> + </its:provenanceRecords> + <its:provenanceRecords xml:id="pr2"> + <its:provenanceRecord + personRef="http://www.provdata.com/person/#John_Doe" + orgRef="http://www.provdata.com/org/#legaltrans-ex" + revPersonRef="http://www.provdata.com/RevPerson/#Tommy_Atkins" + revOrgRef="http://www.provdata.com/RevOrg/#vistatec" + provRef="http://www.examplelsp.com/excontent987/legal/prov/e6354 http://www.vistatec.com/job-12-7-15-X31/reviewed/prov/re8573469"/> + </its:provenanceRecords> + <its:rules version="2.0"> + <its:provRule selector="//*[@ref]" provenanceRecordsRefPointer="@ref"/> + </its:rules> + <title>Translation Revision Provenance Agent: Global Test in XML</title> + <body> + <par ref="#pr1"> This paragraph was translated from the machine.</par> + <legalnotice ref="#pr2">This text was + translated directly by a person.</legalnotice> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance3xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance3xml.xml new file mode 100644 index 000000000..a356db347 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance3xml.xml @@ -0,0 +1,27 @@ +<text xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> + <dc:creator>John Doe</dc:creator> + <its:provenanceRecords xml:id="pr1"> + <its:provenanceRecord + tool="onlinemtex" + revPerson="James Joyce" + revTool="mycat-v1.0" + revOrg="acme-CAT-v2.3" + provRef="http://www.examplelsp.com/excontent987/production/prov/e6354"/> + </its:provenanceRecords> + <its:provenanceRecords xml:id="pr2"> + <its:provenanceRecord + person="John Doe" + org="legaltrans-ex" + revPerson="Tommy Atkins" + revOrg="vistatec" + provRef="http://www.examplelsp.com/excontent987/legal/prov/e6354 http://www.vistatec.com/job-12-7-15-X31/reviewed/prov/re8573469"/> + </its:provenanceRecords> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="provenance3xmlrules.xml"/> + <title>Translation Revision Provenance Agent: Global Test in XML</title> + <body> + <par ref="#pr1"> This paragraph was translated from the machine.</par> + <legalnotice ref="#pr2">This text was + translated directly by a person.</legalnotice> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance3xmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance3xmlrules.xml new file mode 100644 index 000000000..30f00d3e8 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance3xmlrules.xml @@ -0,0 +1,3 @@ + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:provRule selector="//*[@ref]" provenanceRecordsRefPointer="@ref"/> + </its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance4xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance4xml.xml new file mode 100644 index 000000000..dde7dbb1c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance4xml.xml @@ -0,0 +1,27 @@ +<text xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> + <dc:creator>John Doe</dc:creator> + <its:provenanceRecords xml:id="pr1"> + <its:provenanceRecord + toolRef="http://www.provdata.com/tool/#onlinemtex" + revPerson="James Joyce" + revToolRef="http://www.provdata.com/RevTool/#mycat-v1" + revOrg="acme-CAT-v2.3" + provRef="http://www.examplelsp.com/excontent987/production/prov/e6354"/> + </its:provenanceRecords> + <its:provenanceRecords xml:id="pr2"> + <its:provenanceRecord + personRef="http://www.provdata.com/person/#John_Doe" + orgRef="http://www.provdata.com/org/#legaltrans-ex" + revPersonRef="http://www.provdata.com/RevPerson/#Tommy_Atkins" + revOrgRef="http://www.provdata.com/RevOrg/#vistatec" + provRef="http://www.examplelsp.com/excontent987/legal/prov/e6354 http://www.vistatec.com/job-12-7-15-X31/reviewed/prov/re8573469"/> + </its:provenanceRecords> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="provenance4xmlrules.xml"/> + <title>Translation Revision Provenance Agent: Global Test in XML</title> + <body> + <par ref="#pr1"> This paragraph was translated from the machine.</par> + <legalnotice ref="#pr2">This text was + translated directly by a person.</legalnotice> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance4xmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance4xmlrules.xml new file mode 100644 index 000000000..0b1e34ea8 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance4xmlrules.xml @@ -0,0 +1,3 @@ + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:provRule selector="//*[@ref]" provenanceRecordsRefPointer="@ref"/> + </its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance5xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance5xml.xml new file mode 100644 index 000000000..f82e8994b --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance5xml.xml @@ -0,0 +1,30 @@ +<text xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> + <dc:creator>John Doe</dc:creator> + <its:provenanceRecords xml:id="pr1"> + <its:provenanceRecord + tool="onlinemtex" + revPerson="James Joyce" + revTool="mycat-v1.0" + revOrg="acme-CAT-v2.3" + provRef="http://www.examplelsp.com/excontent987/production/prov/e6354"/> + </its:provenanceRecords> + <its:provenanceRecords xml:id="pr2"> + <its:provenanceRecord + person="John Doe" + org="legaltrans-ex" + revPerson="Tommy Atkins" + revOrg="vistatec" + provRef="http://www.examplelsp.com/excontent987/legal/prov/e6354 http://www.vistatec.com/job-12-7-15-X31/reviewed/prov/re8573469"/> + </its:provenanceRecords> + <its:rules version="2.0"> + <its:param name="provenanceParam">#pr1</its:param> + <its:provRule selector="//*[@ref=$provenanceParam]" provenanceRecordsRefPointer="@ref"/> + </its:rules> + <title>Translation Revision Provenance Agent: Global Test in XML</title> + <body> + <par ref="#pr1"> This paragraph was translated from the machine.</par> + <legalnotice ref="#pr2">This text was + translated directly by a person.</legalnotice> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance6xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance6xml.xml new file mode 100644 index 000000000..0b5154380 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance6xml.xml @@ -0,0 +1,27 @@ +<text xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> + <dc:creator>John Doe</dc:creator> + <its:provenanceRecords xml:id="pr1"> + <its:provenanceRecord + tool="onlinemtex" + revPerson="James Joyce" + revTool="mycat-v1.0" + revOrg="acme-CAT-v2.3" + provRef="http://www.examplelsp.com/excontent987/production/prov/e6354"/> + </its:provenanceRecords> + <its:provenanceRecords xml:id="pr2"> + <its:provenanceRecord + person="John Doe" + org="legaltrans-ex" + revPerson="Tommy Atkins" + revOrg="vistatec" + provRef="http://www.examplelsp.com/excontent987/legal/prov/e6354 http://www.vistatec.com/job-12-7-15-X31/reviewed/prov/re8573469"/> + </its:provenanceRecords> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="provenance6xmlrules.xml"/> + <title>Translation Revision Provenance Agent: Global Test in XML</title> + <body> + <par ref="#pr1"> This paragraph was translated from the machine.</par> + <legalnotice ref="#pr2">This text was + translated directly by a person.</legalnotice> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance6xmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance6xmlrules.xml new file mode 100644 index 000000000..e7e74a831 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance6xmlrules.xml @@ -0,0 +1,4 @@ + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:param name="provenanceParam">#pr1</its:param> + <its:provRule selector="//*[@ref=$provenanceParam]" provenanceRecordsRefPointer="@ref"/> + </its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance7xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance7xml.xml new file mode 100644 index 000000000..e099e157e --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance7xml.xml @@ -0,0 +1,20 @@ +<text xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> + <title>Translation Revision Provenance Agent: Local Test in XML</title> + <body> + <par its:personRef="http://www.provdata.com/person/#John_Doe" + its:toolRef="http://www.onlinemtex.com/2012/7/25/wsdl/" + its:org="acme-CAT-v2.3" + its:revToolRef="http://www.mycat.com/v1.0/download" + its:revOrg="acme-CAT-v2.3" + its:provRef="http://www.examplelsp.com/excontent987/production/prov/e6354" + >This paragraph was translated from the machine.</par> + <legalnotice its:tool="onlinemtex" + its:person="John Doe" + its:orgRef="http://www.legaltrans-ex.com/" + its:revPerson="Tommy Atkins" + its:revOrgRef="http://www.vistatec.com/" + its:provRef="http://www.examplelsp.com/excontent987/legal/prov/e6354 http://www.vistatec.com/job-12-7-15-X31/reviewed/prov/re8573469" + >This text was translated directly by a person.</legalnotice> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance8xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance8xml.xml new file mode 100644 index 000000000..c905730fc --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/provenance/xml/provenance8xml.xml @@ -0,0 +1,20 @@ +<text xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> + <title>Translation Revision Provenance Agent: Local Test in XML</title> + <body> + <its:span personRef="http://www.provdata.com/person/#John_Doe" + toolRef="http://www.onlinemtex.com/2012/7/25/wsdl/" + org="acme-CAT-v2.3" + revToolRef="http://www.mycat.com/v1.0/download" + revOrg="acme-CAT-v2.3" + provRef="http://www.examplelsp.com/excontent987/production/prov/e6354" + >This paragraph was translated from the machine.</its:span> + <its:span tool="onlinemtex" + person="John Doe" + orgRef="http://www.legaltrans-ex.com/" + revPerson="Tommy Atkins" + revOrgRef="http://www.vistatec.com/" + provRef="http://www.examplelsp.com/excontent987/legal/prov/e6354 http://www.vistatec.com/job-12-7-15-X31/reviewed/prov/re8573469" + >This text was translated directly by a person.</its:span> + </body> +</text> |