diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-its/provenance/html')
12 files changed, 258 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> |