diff options
Diffstat (limited to 'tests/ITS-2.0-Testsuite/inputdata/localefilter')
18 files changed, 195 insertions, 195 deletions
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale1html.html b/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale1html.html index 1ba3045..72f9604 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale1html.html +++ b/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale1html.html @@ -1,14 +1,14 @@ -<!DOCTYPE html>
-<html>
- <head>
- <meta charset=utf-8>
- <title>Locale filter</title>
- <link href="locale1htmlrules.xml" rel="its-rules"/>
- </head>
- <body>
- <div id="Canada">
- <p>This legal notice is only for Canadian locales.</p>
- </div>
- </body>
-</html>
-
+<!DOCTYPE html> +<html> + <head> + <meta charset=utf-8> + <title>Locale filter</title> + <link href="locale1htmlrules.xml" rel="its-rules"/> + </head> + <body> + <div id="Canada"> + <p>This legal notice is only for Canadian locales.</p> + </div> + </body> +</html> + diff --git a/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale1htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale1htmlrules.xml index 9a68809..d87c7f9 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale1htmlrules.xml +++ b/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale1htmlrules.xml @@ -1,3 +1,3 @@ -<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
- <its:localeFilterRule selector="//h:div[@id='Canada']" localeFilterList="en-CA, fr-CA"/>
-</its:rules>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> + <its:localeFilterRule selector="//h:div[@id='Canada']" localeFilterList="en-CA, fr-CA"/> +</its:rules> diff --git a/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale2html.html b/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale2html.html index 0d9ee3e..6e2870f 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale2html.html +++ b/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale2html.html @@ -1,12 +1,12 @@ -<!DOCTYPE html>
-<html>
- <head>
- <meta charset=utf-8>
- <title>Locale filter</title>
- </head>
- <body>
- <div its-locale-filter-list="en-CA, fr-CA" id="Canada">
- <p>This legal notice is only for Canadian locales.</p>
- </div>
- </body>
-</html>
+<!DOCTYPE html> +<html> + <head> + <meta charset=utf-8> + <title>Locale filter</title> + </head> + <body> + <div its-locale-filter-list="en-CA, fr-CA" id="Canada"> + <p>This legal notice is only for Canadian locales.</p> + </div> + </body> +</html> diff --git a/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale3html.html b/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale3html.html index 432f892..5f84080 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale3html.html +++ b/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale3html.html @@ -1,14 +1,14 @@ -<!DOCTYPE html>
-<html>
- <head>
- <meta charset="utf-8"/>
- <title>Locale filter</title>
- <link href="locale3htmlrules.xml" rel="its-rules"/>
- </head>
- <body>
- <div id="Canada">
- <p>This legal notice is only for Canadian locales.</p>
- </div>
- </body>
-</html>
-
+<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"/> + <title>Locale filter</title> + <link href="locale3htmlrules.xml" rel="its-rules"/> + </head> + <body> + <div id="Canada"> + <p>This legal notice is only for Canadian locales.</p> + </div> + </body> +</html> + diff --git a/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale3htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale3htmlrules.xml index b95262c..9f44ede 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale3htmlrules.xml +++ b/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale3htmlrules.xml @@ -1,4 +1,4 @@ -<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="localeParam">Canada</its:param>
- <its:localeFilterRule selector="//h:div[@id=$localeParam]" localeFilterList="en-CA, fr-CA"/>
-</its:rules>
+<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="localeParam">Canada</its:param> + <its:localeFilterRule selector="//h:div[@id=$localeParam]" localeFilterList="en-CA, fr-CA"/> +</its:rules> diff --git a/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale4html.html b/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale4html.html index f685f24..d8effcd 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale4html.html +++ b/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale4html.html @@ -1,18 +1,18 @@ -<!DOCTYPE html>
-<html>
- <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="localeParam">Canada</its:param>
- <its:localeFilterRule selector="//h:div[@id=$localeParam]" localeFilterList="en-CA, fr-CA"/>
- </its:rules>
- </script>
- <meta charset=utf-8>
- <title>Locale filter</title>
- </head>
- <body>
- <div id="Canada">
- <p>This legal notice is only for Canadian locales.</p>
- </div>
- </body>
-</html>
+<!DOCTYPE html> +<html> + <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="localeParam">Canada</its:param> + <its:localeFilterRule selector="//h:div[@id=$localeParam]" localeFilterList="en-CA, fr-CA"/> + </its:rules> + </script> + <meta charset=utf-8> + <title>Locale filter</title> + </head> + <body> + <div id="Canada"> + <p>This legal notice is only for Canadian locales.</p> + </div> + </body> +</html> diff --git a/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale5html.html b/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale5html.html index 804a2c8..fe5b016 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale5html.html +++ b/tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale5html.html @@ -1,21 +1,21 @@ -<!DOCTYPE html>
-<html>
- <head>
- <meta charset=utf-8>
- <title>Locale filter</title>
- </head>
- <body>
- <div its-locale-filter-list="*-ca">
- <p>Text for Canadian locales.</p>
- </div>
- <div its-locale-filter-list="*-ca" its-locale-filter-type="exclude">
- <p>Text for non-Canadian locales.</p>
- </div>
- <div its-locale-filter-list="*" its-locale-filter-type="ExCluDE">
- <p>Text for no locales.</p>
- </div>
- <div its-locale-filter-list="" its-locale-filter-type="EXCLude">
- <p>Text for all locales.</p>
- </div>
- </body>
-</html>
+<!DOCTYPE html> +<html> + <head> + <meta charset=utf-8> + <title>Locale filter</title> + </head> + <body> + <div its-locale-filter-list="*-ca"> + <p>Text for Canadian locales.</p> + </div> + <div its-locale-filter-list="*-ca" its-locale-filter-type="exclude"> + <p>Text for non-Canadian locales.</p> + </div> + <div its-locale-filter-list="*" its-locale-filter-type="ExCluDE"> + <p>Text for no locales.</p> + </div> + <div its-locale-filter-list="" its-locale-filter-type="EXCLude"> + <p>Text for all locales.</p> + </div> + </body> +</html> diff --git a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale1xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale1xml.xml index d24b936..fbb4c61 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale1xml.xml +++ b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale1xml.xml @@ -1,12 +1,12 @@ -<book
- xmlns:its="http://www.w3.org/2005/11/its"
- its:version="2.0">
- <info>
- <its:rules version="2.0">
- <its:localeFilterRule selector="//legalnotice[@role='Canada']" localeFilterList="en-CA, fr-CA"/>
- </its:rules>
- <legalnotice role="Canada">
- <para>This legal notice is only for Canadian locales.</para>
- </legalnotice>
- </info>
-</book>
+<book + xmlns:its="http://www.w3.org/2005/11/its" + its:version="2.0"> + <info> + <its:rules version="2.0"> + <its:localeFilterRule selector="//legalnotice[@role='Canada']" localeFilterList="en-CA, fr-CA"/> + </its:rules> + <legalnotice role="Canada"> + <para>This legal notice is only for Canadian locales.</para> + </legalnotice> + </info> +</book> diff --git a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale2xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale2xml.xml index 38c2735..a97c8ac 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale2xml.xml +++ b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale2xml.xml @@ -1,9 +1,9 @@ -<book
- xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
- <info>
- <legalnotice
- its:localeFilterList="en-CA, fr-CA">
- <para>This legal notice is only for Canadian locales.</para>
- </legalnotice>
- </info>
-</book>
+<book + xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> + <info> + <legalnotice + its:localeFilterList="en-CA, fr-CA"> + <para>This legal notice is only for Canadian locales.</para> + </legalnotice> + </info> +</book> diff --git a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale3xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale3xml.xml index 42fea19..7a99e2d 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale3xml.xml +++ b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale3xml.xml @@ -1,10 +1,10 @@ -<book
- xmlns:its="http://www.w3.org/2005/11/its"
- its:version="2.0">
- <info>
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="locale3xmlrules.xml"/>
- <legalnotice role="Canada">
- <para>This legal notice is only for Canadian locales.</para>
- </legalnotice>
- </info>
-</book>
+<book + xmlns:its="http://www.w3.org/2005/11/its" + its:version="2.0"> + <info> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="locale3xmlrules.xml"/> + <legalnotice role="Canada"> + <para>This legal notice is only for Canadian locales.</para> + </legalnotice> + </info> +</book> diff --git a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale3xmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale3xmlrules.xml index 44caf32..5eda8cc 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale3xmlrules.xml +++ b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale3xmlrules.xml @@ -1,3 +1,3 @@ -<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:localeFilterRule selector="//legalnotice[@role='Canada']" localeFilterList="en-CA, fr-CA"/>
-</its:rules>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:localeFilterRule selector="//legalnotice[@role='Canada']" localeFilterList="en-CA, fr-CA"/> +</its:rules> diff --git a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale4xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale4xml.xml index b9bf1e6..d3eda11 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale4xml.xml +++ b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale4xml.xml @@ -1,16 +1,16 @@ -<book
- xmlns:its="http://www.w3.org/2005/11/its"
- its:version="2.0">
- <info>
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="locale4xmlrules.xml"/>
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:localeFilterRule selector="//legalnotice[@role='Germany']" localeFilterList="de-DE"/>
-</its:rules>
- <legalnotice role="Canada">
- <para>This legal notice is only for Canadian locales.</para>
- </legalnotice>
- <legalnotice role="Germany">
- <para>This legal notice is only for German locales.</para>
- </legalnotice>
- </info>
-</book>
+<book + xmlns:its="http://www.w3.org/2005/11/its" + its:version="2.0"> + <info> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="locale4xmlrules.xml"/> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:localeFilterRule selector="//legalnotice[@role='Germany']" localeFilterList="de-DE"/> +</its:rules> + <legalnotice role="Canada"> + <para>This legal notice is only for Canadian locales.</para> + </legalnotice> + <legalnotice role="Germany"> + <para>This legal notice is only for German locales.</para> + </legalnotice> + </info> +</book> diff --git a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale4xmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale4xmlrules.xml index 44caf32..5eda8cc 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale4xmlrules.xml +++ b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale4xmlrules.xml @@ -1,3 +1,3 @@ -<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:localeFilterRule selector="//legalnotice[@role='Canada']" localeFilterList="en-CA, fr-CA"/>
-</its:rules>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:localeFilterRule selector="//legalnotice[@role='Canada']" localeFilterList="en-CA, fr-CA"/> +</its:rules> diff --git a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale5xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale5xml.xml index 927f1e2..8e2e84a 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale5xml.xml +++ b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale5xml.xml @@ -1,8 +1,8 @@ -
-<book xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
-<info>
-<its:span localeFilterList="en-CA, fr-CA">
-<para>This legal notice is only for Canadian locales.</para>
-</its:span>
-</info>
-</book>
+ +<book xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> +<info> +<its:span localeFilterList="en-CA, fr-CA"> +<para>This legal notice is only for Canadian locales.</para> +</its:span> +</info> +</book> diff --git a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale6xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale6xml.xml index cbdf533..e0881f2 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale6xml.xml +++ b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale6xml.xml @@ -1,14 +1,14 @@ -<book>
- <info>
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:param name="localeParam">Germany</its:param>
- <its:localeFilterRule selector="//legalnotice[@role='Germany']" localeFilterList="de-DE"/>
-</its:rules>
- <legalnotice role="Canada">
- <para>This legal notice is only for Canadian locales.</para>
- </legalnotice>
- <legalnotice role="Germany">
- <para>This legal notice is only for German locales.</para>
- </legalnotice>
- </info>
+<book> + <info> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:param name="localeParam">Germany</its:param> + <its:localeFilterRule selector="//legalnotice[@role='Germany']" localeFilterList="de-DE"/> +</its:rules> + <legalnotice role="Canada"> + <para>This legal notice is only for Canadian locales.</para> + </legalnotice> + <legalnotice role="Germany"> + <para>This legal notice is only for German locales.</para> + </legalnotice> + </info> </book>
\ No newline at end of file diff --git a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale7xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale7xml.xml index 65f5761..fb11bf9 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale7xml.xml +++ b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale7xml.xml @@ -1,13 +1,13 @@ -<book
- xmlns:its="http://www.w3.org/2005/11/its"
- its:version="2.0">
- <info>
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="locale7xmlrules.xml"/>
- <legalnotice role="Canada">
- <para>This legal notice is only for Canadian locales.</para>
- </legalnotice>
- <legalnotice role="Germany">
- <para>This legal notice is only for German locales.</para>
- </legalnotice>
- </info>
-</book>
+<book + xmlns:its="http://www.w3.org/2005/11/its" + its:version="2.0"> + <info> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="locale7xmlrules.xml"/> + <legalnotice role="Canada"> + <para>This legal notice is only for Canadian locales.</para> + </legalnotice> + <legalnotice role="Germany"> + <para>This legal notice is only for German locales.</para> + </legalnotice> + </info> +</book> diff --git a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale7xmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale7xmlrules.xml index 060b333..3d851a2 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale7xmlrules.xml +++ b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale7xmlrules.xml @@ -1,4 +1,4 @@ -<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:param name="localeParam">Germany</its:param>
- <its:localeFilterRule selector="//legalnotice[@role=$localeParam]" localeFilterList="de-DE"/>
-</its:rules>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:param name="localeParam">Germany</its:param> + <its:localeFilterRule selector="//legalnotice[@role=$localeParam]" localeFilterList="de-DE"/> +</its:rules> diff --git a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale8xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale8xml.xml index 59206d5..ff77119 100644 --- a/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale8xml.xml +++ b/tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale8xml.xml @@ -1,18 +1,18 @@ -<book
- xmlns:its="http://www.w3.org/2005/11/its"
- its:version="2.0">
- <info>
- <legalnotice its:localeFilterList="*-CA" its:localeFilterType="include">
- <para>Text only for Canadian locales.</para>
- </legalnotice>
- <legalnotice its:localeFilterList="*-CA" its:localeFilterType="exclude">
- <para>Text for non-Canadian locales.</para>
- </legalnotice>
- <legalnotice its:localeFilterList="*" its:localeFilterType="exclude">
- <para>Text for no locales.</para>
- </legalnotice>
- <legalnotice its:localeFilterList="" its:localeFilterType="exclude">
- <para>Text for all locales.</para>
- </legalnotice>
- </info>
-</book>
+<book + xmlns:its="http://www.w3.org/2005/11/its" + its:version="2.0"> + <info> + <legalnotice its:localeFilterList="*-CA" its:localeFilterType="include"> + <para>Text only for Canadian locales.</para> + </legalnotice> + <legalnotice its:localeFilterList="*-CA" its:localeFilterType="exclude"> + <para>Text for non-Canadian locales.</para> + </legalnotice> + <legalnotice its:localeFilterList="*" its:localeFilterType="exclude"> + <para>Text for no locales.</para> + </legalnotice> + <legalnotice its:localeFilterList="" its:localeFilterType="exclude"> + <para>Text for all locales.</para> + </legalnotice> + </info> +</book> |