summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2013-10-27 22:36:56 -0400
committerShaun McCance <shaunm@gnome.org>2013-10-27 22:36:56 -0400
commit9f85a74071db1fa5ca3a2dd83a3ab187884fb7f7 (patch)
tree62038952837fc13450d1e5925ed331603fd03f0f
parentdde5a9ac006ab839b67e711e27977fbf074dc04e (diff)
downloaditstool-9f85a74071db1fa5ca3a2dd83a3ab187884fb7f7.tar.gz
Update ITS 2.0 test suite
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext1html.html64
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext1htmlrules.xml8
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext2html.html20
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext3html.html64
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext3htmlrules.xml10
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext4html.html76
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext1xml.xml24
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext2xml.xml50
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext2xmlrules.xml12
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext3xml.xml22
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext4xml.xml24
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext5xml.xml50
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext6xml.xml42
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext6xmlrules.xml10
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource1html.html30
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource1htmlrules.xml8
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource2html.html34
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource2htmlrules.xml8
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource3html.html40
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource1xml.xml48
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource2xml.xml44
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource2xmlrules.xml6
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource3xml.xml56
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource3xmlrules.xml6
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource4xml.xml50
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource5xml.xml40
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource5xmlrules.xml10
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue1html.html32
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue1htmlrules.xml12
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue2html.html34
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue2htmlrules.xml14
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue3html.html44
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue1xml.xml40
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue2xml.xml8
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue3xml.xml26
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue3xmlrules.xml6
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue4xml.xml34
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue4xmlrules.xml8
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue5xml.xml40
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale1html.html28
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale1htmlrules.xml6
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale2html.html24
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale3html.html28
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale3htmlrules.xml8
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale4html.html36
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localefilter/html/locale5html.html42
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale1xml.xml24
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale2xml.xml18
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale3xml.xml20
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale3xmlrules.xml6
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale4xml.xml32
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale4xmlrules.xml6
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale5xml.xml16
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale6xml.xml26
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale7xml.xml26
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale7xmlrules.xml8
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localefilter/xml/locale8xml.xml36
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote1html.html22
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote1htmlrules.xml14
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote2html.html40
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote2htmlrules.xml8
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote3html.html24
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote3htmlrules.xml6
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote4html.html32
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote4htmlrules.xml6
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote5html.html42
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote5htmlrules.xml30
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote6html.html42
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote6htmlrules.xml30
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote7html.html20
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote8html.html42
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote8htmlrules.xml32
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote9html.html40
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote10xml.xml66
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote11xml.xml36
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote11xmlrules.xml32
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote1xml.xml26
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote2xml.xml38
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote3xml.xml24
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote4xml.xml32
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote5xml.xml30
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote5xmlrules.xml18
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote6xml.xml42
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote7xml.xml40
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote8xml.xml34
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote9xml.xml16
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace1xml.xml26
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace2xml.xml16
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace3xml.xml22
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace3xmlrules.xml6
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace4xml.xml16
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace5xml.xml28
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace6xml.xml18
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace6xmlrules.xml8
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/html/translate1html.html34
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/html/translate1htmlrules.xml8
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/html/translate2html.html36
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/html/translate3html.html46
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/html/translate3htmlrules.xml8
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/html/translate4html.html46
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/html/translate4htmlrules.xml8
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/html/translate5html.html68
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/html/translate5htmlrules.xml8
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/html/translate6html.html68
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/html/translate6htmlrules.xml12
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/html/translate7html.html38
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate10xml.xml14
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate10xmlrules.xml10
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate1xml.xml78
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate2xml.xml20
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate2xmlrules.xml10
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate3xml.xml26
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate3xmlrules.xml12
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate4xml.xml22
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate5xml.xml26
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate6xml.xml38
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate7xml.xml38
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate8xml.xml56
-rw-r--r--tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate9xml.xml22
119 files changed, 1650 insertions, 1650 deletions
diff --git a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext1html.html b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext1html.html
index e74f7ff..3becf81 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext1html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext1html.html
@@ -1,32 +1,32 @@
-<!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8>
- <link href="withintext1htmlrules.xml" rel="its-rules"/>
- <title>Appaloosa</title>
- </head>
- <body>
- <section itemscope>
- <span itemprop="keyword">horse</span>
- <span itemprop="keyword">appaloosa</span>
- </section>
- <p itemscope>
- The Appaloosa
- <cite>
- The name comes from "Palouse horse" in reference to the Palouse River in Northern Idaho.
- </cite>
- are rugged horses originally breed by the
- <span itemprop="keyword">Nez-Perce</span>
- tribe in the US Northwest.
- </p>
- <p>
- They are often characterized by their spotted coats, as shown here:
- <img src="appaloosa.png" alt="Appaloosa horses"/>
- </p>
-<!--footer-->
- <p>
- Copyright:
- <em>Zebulon Inc.</em>
- </p>
- </body>
- </html>
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <link href="withintext1htmlrules.xml" rel="its-rules"/>
+ <title>Appaloosa</title>
+ </head>
+ <body>
+ <section itemscope>
+ <span itemprop="keyword">horse</span>
+ <span itemprop="keyword">appaloosa</span>
+ </section>
+ <p itemscope>
+ The Appaloosa
+ <cite>
+ The name comes from "Palouse horse" in reference to the Palouse River in Northern Idaho.
+ </cite>
+ are rugged horses originally breed by the
+ <span itemprop="keyword">Nez-Perce</span>
+ tribe in the US Northwest.
+ </p>
+ <p>
+ They are often characterized by their spotted coats, as shown here:
+ <img src="appaloosa.png" alt="Appaloosa horses"/>
+ </p>
+<!--footer-->
+ <p>
+ Copyright:
+ <em>Zebulon Inc.</em>
+ </p>
+ </body>
+ </html>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext1htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext1htmlrules.xml
index dbbb41d..5d49bbc 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext1htmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext1htmlrules.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:withinTextRule selector="//h:cite" withinText="nested"/>
-</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:withinTextRule selector="//h:cite" withinText="nested"/>
+</its:rules>
+
diff --git a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext2html.html b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext2html.html
index 5ce55c8..ed7e060 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext2html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext2html.html
@@ -1,10 +1,10 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset=utf-8>
- <title>Within text test: Default</title>
- </head>
- <body>
- <p>Text with <span its-within-text="YES">bold</span>.</p>
- </body>
-</html>
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset=utf-8>
+ <title>Within text test: Default</title>
+ </head>
+ <body>
+ <p>Text with <span its-within-text="YES">bold</span>.</p>
+ </body>
+</html>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext3html.html b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext3html.html
index 487227e..6a68ae8 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext3html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext3html.html
@@ -1,32 +1,32 @@
-<!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8>
- <link href="withintext3htmlrules.xml" rel="its-rules"/>
- <title>Appaloosa</title>
- </head>
- <body>
- <section itemscope>
- <span itemprop="firstkeyword">horse</span>
- <span itemprop="secondkeyword">appaloosa</span>
- </section>
- <p itemscope>
- The Appaloosa
- <cite>
- The name comes from "Palouse horse" in reference to the Palouse River in Northern Idaho.
- </cite>
- are rugged horses originally breed by the
- <span itemprop="keyword">Nez-Perce</span>
- tribe in the US Northwest.
- </p>
- <p>
- They are often characterized by their spotted coats, as shown here:
- <img src="appaloosa.png" alt="Appaloosa horses"/>
- </p>
-<!--footer-->
- <p>
- Copyright:
- <em>Zebulon Inc.</em>
- </p>
- </body>
- </html>
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <link href="withintext3htmlrules.xml" rel="its-rules"/>
+ <title>Appaloosa</title>
+ </head>
+ <body>
+ <section itemscope>
+ <span itemprop="firstkeyword">horse</span>
+ <span itemprop="secondkeyword">appaloosa</span>
+ </section>
+ <p itemscope>
+ The Appaloosa
+ <cite>
+ The name comes from "Palouse horse" in reference to the Palouse River in Northern Idaho.
+ </cite>
+ are rugged horses originally breed by the
+ <span itemprop="keyword">Nez-Perce</span>
+ tribe in the US Northwest.
+ </p>
+ <p>
+ They are often characterized by their spotted coats, as shown here:
+ <img src="appaloosa.png" alt="Appaloosa horses"/>
+ </p>
+<!--footer-->
+ <p>
+ Copyright:
+ <em>Zebulon Inc.</em>
+ </p>
+ </body>
+ </html>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext3htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext3htmlrules.xml
index db4ff73..127dea6 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext3htmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext3htmlrules.xml
@@ -1,5 +1,5 @@
-<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="withinTextParam">firstkeyword</its:param>
-<its:withinTextRule selector="//h:cite" withinText="nested"/>
-<its:withinTextRule selector="//h:section/h:span[@itemprop=$withinTextParam]" withinText="no"/>
-</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="withinTextParam">firstkeyword</its:param>
+<its:withinTextRule selector="//h:cite" withinText="nested"/>
+<its:withinTextRule selector="//h:section/h:span[@itemprop=$withinTextParam]" withinText="no"/>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext4html.html b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext4html.html
index 84b706e..a89eefb 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext4html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/html/withintext4html.html
@@ -1,38 +1,38 @@
-<!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="withinparam">copyright</its:param>
-<its:withinTextRule selector="//h:cite" withinText="nested"/>
-<its:withinTextRule selector="//h:p[@id=$withinparam]" withinText="yes"/>
-</its:rules>
-</script>
- <meta charset=utf-8>
- <title>Appaloosa</title>
- </head>
- <body>
- <section itemscope>
- <span itemprop="keyword">horse</span>
- <span itemprop="keyword">appaloosa</span>
- </section>
- <p itemscope>
- The Appaloosa
- <cite>
- The name comes from "Palouse horse" in reference to the Palouse River in Northern Idaho.
- </cite>
- are rugged horses originally breed by the
- <span itemprop="keyword">Nez-Perce</span>
- tribe in the US Northwest.
- </p>
- <p>
- They are often characterized by their spotted coats, as shown here:
- <img src="appaloosa.png" alt="Appaloosa horses"/>
- </p>
-<!--footer-->
- <p id="copyright">
- Copyright:
- <em>Zebulon Inc.</em>
- </p>
- </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="withinparam">copyright</its:param>
+<its:withinTextRule selector="//h:cite" withinText="nested"/>
+<its:withinTextRule selector="//h:p[@id=$withinparam]" withinText="yes"/>
+</its:rules>
+</script>
+ <meta charset=utf-8>
+ <title>Appaloosa</title>
+ </head>
+ <body>
+ <section itemscope>
+ <span itemprop="keyword">horse</span>
+ <span itemprop="keyword">appaloosa</span>
+ </section>
+ <p itemscope>
+ The Appaloosa
+ <cite>
+ The name comes from "Palouse horse" in reference to the Palouse River in Northern Idaho.
+ </cite>
+ are rugged horses originally breed by the
+ <span itemprop="keyword">Nez-Perce</span>
+ tribe in the US Northwest.
+ </p>
+ <p>
+ They are often characterized by their spotted coats, as shown here:
+ <img src="appaloosa.png" alt="Appaloosa horses"/>
+ </p>
+<!--footer-->
+ <p id="copyright">
+ Copyright:
+ <em>Zebulon Inc.</em>
+ </p>
+ </body>
+ </html>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext1xml.xml b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext1xml.xml
index f2424fb..c4a44fc 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext1xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext1xml.xml
@@ -1,12 +1,12 @@
-<doc>
- <head>
- <its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its">
- <its:withinTextRule withinText="yes" selector="//b|//u|//i"/>
- <its:withinTextRule withinText="nested" selector="//fn"/>
- </its:rules>
- </head>
- <body>
- <p>This is a paragraph with <b>bold</b>, <i>italic</i>, and <u>underlined</u>.</p>
- <p>This is a paragraph with a footnote<fn>This is the text of the footnote</fn> at the middle.</p>
- </body>
- </doc>
+<doc>
+ <head>
+ <its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its">
+ <its:withinTextRule withinText="yes" selector="//b|//u|//i"/>
+ <its:withinTextRule withinText="nested" selector="//fn"/>
+ </its:rules>
+ </head>
+ <body>
+ <p>This is a paragraph with <b>bold</b>, <i>italic</i>, and <u>underlined</u>.</p>
+ <p>This is a paragraph with a footnote<fn>This is the text of the footnote</fn> at the middle.</p>
+ </body>
+ </doc>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext2xml.xml b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext2xml.xml
index 6dbabde..c0d0810 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext2xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext2xml.xml
@@ -1,25 +1,25 @@
-<?xml version="1.0"?>
-<myDocument xmlns="http://my.DocumentURI/" xml:lang="en">
- <prolog>
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"
- xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="withintext2xmlrules.xml"
- xmlns:d="http://my.DocumentURI/">
- <its:withinTextRule selector="//d:keywords/d:kw" withinText="no"/>
-</its:rules>
- <author>Zebulon Fairfield</author>
- <version>version 12, revision 2 - 2006-08-14</version>
- <keywords><kw>horse</kw><kw>appaloosa</kw></keywords>
- <storageKey>articles-6D272BA9-3B89CAD8</storageKey>
- </prolog>
- <content>
- <section>
- <title>Appaloosa</title>
- <p>The Appaloosa<fnote>The name comes from "Palouse horse" in reference
- to the Palouse River in Northern Idaho.</fnote> are rugged horses
- originally breed by the <kw>Nez-Perce</kw> tribe in the US Northwest.</p>
- <p>They are often characterized by their spotted coats, as shown
- here: <img src="appaloosa.png" alt="Appaloosa horses"/></p>
- </section>
- <footer><p>Copyright: <em>Zebulon Inc.</em></p></footer>
- </content>
-</myDocument>
+<?xml version="1.0"?>
+<myDocument xmlns="http://my.DocumentURI/" xml:lang="en">
+ <prolog>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"
+ xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="withintext2xmlrules.xml"
+ xmlns:d="http://my.DocumentURI/">
+ <its:withinTextRule selector="//d:keywords/d:kw" withinText="no"/>
+</its:rules>
+ <author>Zebulon Fairfield</author>
+ <version>version 12, revision 2 - 2006-08-14</version>
+ <keywords><kw>horse</kw><kw>appaloosa</kw></keywords>
+ <storageKey>articles-6D272BA9-3B89CAD8</storageKey>
+ </prolog>
+ <content>
+ <section>
+ <title>Appaloosa</title>
+ <p>The Appaloosa<fnote>The name comes from "Palouse horse" in reference
+ to the Palouse River in Northern Idaho.</fnote> are rugged horses
+ originally breed by the <kw>Nez-Perce</kw> tribe in the US Northwest.</p>
+ <p>They are often characterized by their spotted coats, as shown
+ here: <img src="appaloosa.png" alt="Appaloosa horses"/></p>
+ </section>
+ <footer><p>Copyright: <em>Zebulon Inc.</em></p></footer>
+ </content>
+</myDocument>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext2xmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext2xmlrules.xml
index e0af0cf..539af5b 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext2xmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext2xmlrules.xml
@@ -1,6 +1,6 @@
-<?xml version="1.0"?>
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"
- xmlns:d="http://my.DocumentURI/">
- <its:withinTextRule selector="//d:kw|//d:img|//d:em" withinText="yes"/>
- <its:withinTextRule selector="//d:fnote" withinText="nested"/>
-</its:rules>
+<?xml version="1.0"?>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"
+ xmlns:d="http://my.DocumentURI/">
+ <its:withinTextRule selector="//d:kw|//d:img|//d:em" withinText="yes"/>
+ <its:withinTextRule selector="//d:fnote" withinText="nested"/>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext3xml.xml b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext3xml.xml
index 4e47d85..66debdc 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext3xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext3xml.xml
@@ -1,11 +1,11 @@
-<text xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
- <prolog>
- <title its:withinText="no">Designing User Interfaces</title>
- <author its:withinText="no">Janice Prakash</author>
- <keywords its:withinText="no">user interface, ui, software interface</keywords>
- </prolog>
- <body>
- <p>The book <title its:withinText="yes">Of Mice and Screens</title> by <author its:withinText="yes">Aldus
- Brandywine</author> is one of the best introductions to the vast topic of designing user interfaces.</p>
- </body>
-</text>
+<text xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
+ <prolog>
+ <title its:withinText="no">Designing User Interfaces</title>
+ <author its:withinText="no">Janice Prakash</author>
+ <keywords its:withinText="no">user interface, ui, software interface</keywords>
+ </prolog>
+ <body>
+ <p>The book <title its:withinText="yes">Of Mice and Screens</title> by <author its:withinText="yes">Aldus
+ Brandywine</author> is one of the best introductions to the vast topic of designing user interfaces.</p>
+ </body>
+</text>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext4xml.xml b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext4xml.xml
index 0c2f475..1a4b372 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext4xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext4xml.xml
@@ -1,12 +1,12 @@
-<text xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
- <prolog>
- <its:span withinText="no">Designing User Interfaces</its:span>
- <its:span withinText="no">Janice Prakash</its:span>
- <its:span withinText="no">user interface, ui, software interface</its:span>
- </prolog>
- <body>
- <p>The book <its:span withinText="yes">Of Mice and Screens</its:span> by <its:span withinText="yes">Aldus
- Brandywine</its:span> is one of the best introductions to the vast topic of designing user interfaces.</p>
- </body>
-</text>
-
+<text xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
+ <prolog>
+ <its:span withinText="no">Designing User Interfaces</its:span>
+ <its:span withinText="no">Janice Prakash</its:span>
+ <its:span withinText="no">user interface, ui, software interface</its:span>
+ </prolog>
+ <body>
+ <p>The book <its:span withinText="yes">Of Mice and Screens</its:span> by <its:span withinText="yes">Aldus
+ Brandywine</its:span> is one of the best introductions to the vast topic of designing user interfaces.</p>
+ </body>
+</text>
+
diff --git a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext5xml.xml b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext5xml.xml
index b3ba808..37db106 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext5xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext5xml.xml
@@ -1,25 +1,25 @@
-<doc>
-<head>
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
-<its:param name="withinTextParam">footnote</its:param>
-<its:withinTextRule withinText="yes" selector="//b|//u|//i"/>
-<its:withinTextRule withinText="nested" selector="//fn[@id=$withinTextParam]"/>
-</its:rules>
-</head>
-<body>
-<p>
-This is a paragraph with
-<b>bold</b>
-,
-<i>italic</i>
-, and
-<u>underlined</u>
-.
-</p>
-<p>
-This is a paragraph with a footnote
-<fn id="footnote">This is the text of the footnote</fn>
-at the middle.
-</p>
-</body>
-</doc>
+<doc>
+<head>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+<its:param name="withinTextParam">footnote</its:param>
+<its:withinTextRule withinText="yes" selector="//b|//u|//i"/>
+<its:withinTextRule withinText="nested" selector="//fn[@id=$withinTextParam]"/>
+</its:rules>
+</head>
+<body>
+<p>
+This is a paragraph with
+<b>bold</b>
+,
+<i>italic</i>
+, and
+<u>underlined</u>
+.
+</p>
+<p>
+This is a paragraph with a footnote
+<fn id="footnote">This is the text of the footnote</fn>
+at the middle.
+</p>
+</body>
+</doc>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext6xml.xml b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext6xml.xml
index 820c3c1..b96c3e9 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext6xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext6xml.xml
@@ -1,21 +1,21 @@
-<doc>
-<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="withintext6xmlrules.xml"/>
-</head>
-<body>
-<p>
-This is a paragraph with
-<b>bold</b>
-,
-<i>italic</i>
-, and
-<u>underlined</u>
-.
-</p>
-<p>
-This is a paragraph with a footnote
-<fn id="footnote">This is the text of the footnote</fn>
-at the middle.
-</p>
-</body>
-</doc>
+<doc>
+<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="withintext6xmlrules.xml"/>
+</head>
+<body>
+<p>
+This is a paragraph with
+<b>bold</b>
+,
+<i>italic</i>
+, and
+<u>underlined</u>
+.
+</p>
+<p>
+This is a paragraph with a footnote
+<fn id="footnote">This is the text of the footnote</fn>
+at the middle.
+</p>
+</body>
+</doc>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext6xmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext6xmlrules.xml
index 9932335..6f41dd0 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext6xmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/elementswithintext/xml/withintext6xmlrules.xml
@@ -1,5 +1,5 @@
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
-<its:param name="withinTextParam">footnote</its:param>
-<its:withinTextRule withinText="yes" selector="//b|//u|//i"/>
-<its:withinTextRule withinText="nested" selector="//fn[@id=$withinTextParam]"/>
-</its:rules>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+<its:param name="withinTextParam">footnote</its:param>
+<its:withinTextRule withinText="yes" selector="//b|//u|//i"/>
+<its:withinTextRule withinText="nested" selector="//fn[@id=$withinTextParam]"/>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource1html.html b/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource1html.html
index 85b8de2..2b03a25 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource1html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource1html.html
@@ -1,15 +1,15 @@
-<!DOCTYPE html>
-<html lang=en>
- <head>
- <meta charset=utf-8>
- <link href="externalresource1htmlrules.xml" rel="its-rules"/>
- <title>Video element example</title>
- </head>
- <body>
- <video
- width="640"
- height="360"
- src="http://www.example.com/video/v2.mp"
- poster="video-image.png">If your browser doesn't support the <code>video</code> element, you can <a href="http://www.example.com/video/v2.mp">download the video</a> instead.</video>
- </body>
-</html>
+<!DOCTYPE html>
+<html lang=en>
+ <head>
+ <meta charset=utf-8>
+ <link href="externalresource1htmlrules.xml" rel="its-rules"/>
+ <title>Video element example</title>
+ </head>
+ <body>
+ <video
+ width="640"
+ height="360"
+ src="http://www.example.com/video/v2.mp"
+ poster="video-image.png">If your browser doesn't support the <code>video</code> element, you can <a href="http://www.example.com/video/v2.mp">download the video</a> instead.</video>
+ </body>
+</html>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource1htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource1htmlrules.xml
index d4601c1..21608ed 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource1htmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource1htmlrules.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:externalResourceRefRule selector="//h:video/@src" externalResourceRefPointer="."/>
- <its:externalResourceRefRule selector="//h:video/@poster" externalResourceRefPointer="."/>
-</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:externalResourceRefRule selector="//h:video/@src" externalResourceRefPointer="."/>
+ <its:externalResourceRefRule selector="//h:video/@poster" externalResourceRefPointer="."/>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource2html.html b/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource2html.html
index eaf6f27..17e7983 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource2html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource2html.html
@@ -1,17 +1,17 @@
-<!DOCTYPE html>
-<html lang=en>
- <head>
- <meta charset=utf-8>
- <link href="externalresource2htmlrules.xml" rel="its-rules"/>
- <title>Video element example</title>
- </head>
- <body>
- <p id='1'>
- <video
- width="640"
- height="360"
- src="http://www.example.com/video/v2.mp3"
- poster="video-image.png">If your browser doesn't support the <code>video</code> element, you can <a href="http://www.example.com/video/v2.mp3">download the video</a> instead.</video>
- </p>
- </body>
-</html>
+<!DOCTYPE html>
+<html lang=en>
+ <head>
+ <meta charset=utf-8>
+ <link href="externalresource2htmlrules.xml" rel="its-rules"/>
+ <title>Video element example</title>
+ </head>
+ <body>
+ <p id='1'>
+ <video
+ width="640"
+ height="360"
+ src="http://www.example.com/video/v2.mp3"
+ poster="video-image.png">If your browser doesn't support the <code>video</code> element, you can <a href="http://www.example.com/video/v2.mp3">download the video</a> instead.</video>
+ </p>
+ </body>
+</html>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource2htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource2htmlrules.xml
index 2fece44..34c66b5 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource2htmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource2htmlrules.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="externalresourceParam">1</its:param>
- <its:externalResourceRefRule selector="//h:p[@id=$externalresourceParam]/h:video" externalResourceRefPointer="@poster"/>
-</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="externalresourceParam">1</its:param>
+ <its:externalResourceRefRule selector="//h:p[@id=$externalresourceParam]/h:video" externalResourceRefPointer="@poster"/>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource3html.html b/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource3html.html
index 1930f5e..98c13a1 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource3html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/externalresource/html/externalresource3html.html
@@ -1,20 +1,20 @@
-<!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="externalresourceParam">video-image.png</its:param>
- <its:externalResourceRefRule selector="//h:video[@poster=$externalresourceParam]" externalResourceRefPointer="@src"/>
- </its:rules>
- </script>
- <meta charset=utf-8>
- <title>Video element example</title>
- </head>
- <body>
- <video
- width="640"
- height="360"
- src="http://www.example.com/video/v2.mp"
- poster="video-image.png">If your browser doesn't support the <code>video</code> element, you can <a href="http://www.example.com/video/v2.mp">download the video</a> instead.</video>
- </body>
-</html>
+<!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="externalresourceParam">video-image.png</its:param>
+ <its:externalResourceRefRule selector="//h:video[@poster=$externalresourceParam]" externalResourceRefPointer="@src"/>
+ </its:rules>
+ </script>
+ <meta charset=utf-8>
+ <title>Video element example</title>
+ </head>
+ <body>
+ <video
+ width="640"
+ height="360"
+ src="http://www.example.com/video/v2.mp"
+ poster="video-image.png">If your browser doesn't support the <code>video</code> element, you can <a href="http://www.example.com/video/v2.mp">download the video</a> instead.</video>
+ </body>
+</html>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource1xml.xml b/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource1xml.xml
index 5e53c8c..51b640e 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource1xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource1xml.xml
@@ -1,24 +1,24 @@
-<doc
- xmlns:its="http://www.w3.org/2005/11/its"
- xmlns:dbk="http://docbook.org/ns/docbook" >
- <its:rules version="2.0">
- <its:externalResourceRefRule selector="//dbk:imagedata | //dbk:audiodata | //dbk:videodata" externalResourceRefPointer="@fileref"/>
- </its:rules>
- <dbk:mediaobject>
- <dbk:videoobject>
- <dbk:videodata fileref="movie.avi"/>
- </dbk:videoobject>
- <dbk:imageobject>
- <dbk:imagedata fileref="movie-frame.gif"/>
- </dbk:imageobject>
- <dbk:textobject>
- <dbk:para>This video illustrates the proper way to assemble an inverting time distortion
- device. </dbk:para>
- <dbk:warning>
- <dbk:para> It is imperative that the primary and secondary temporal couplings not be
- mounted in the wrong order. Temporal catastrophe is the likely result. The
- future you destroy may be your own. </dbk:para>
- </dbk:warning>
- </dbk:textobject>
- </dbk:mediaobject>
-</doc>
+<doc
+ xmlns:its="http://www.w3.org/2005/11/its"
+ xmlns:dbk="http://docbook.org/ns/docbook" >
+ <its:rules version="2.0">
+ <its:externalResourceRefRule selector="//dbk:imagedata | //dbk:audiodata | //dbk:videodata" externalResourceRefPointer="@fileref"/>
+ </its:rules>
+ <dbk:mediaobject>
+ <dbk:videoobject>
+ <dbk:videodata fileref="movie.avi"/>
+ </dbk:videoobject>
+ <dbk:imageobject>
+ <dbk:imagedata fileref="movie-frame.gif"/>
+ </dbk:imageobject>
+ <dbk:textobject>
+ <dbk:para>This video illustrates the proper way to assemble an inverting time distortion
+ device. </dbk:para>
+ <dbk:warning>
+ <dbk:para> It is imperative that the primary and secondary temporal couplings not be
+ mounted in the wrong order. Temporal catastrophe is the likely result. The
+ future you destroy may be your own. </dbk:para>
+ </dbk:warning>
+ </dbk:textobject>
+ </dbk:mediaobject>
+</doc>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource2xml.xml b/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource2xml.xml
index 939d7ed..818766d 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource2xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource2xml.xml
@@ -1,22 +1,22 @@
-<doc
- xmlns:its="http://www.w3.org/2005/11/its"
- xmlns:dbk="http://docbook.org/ns/docbook" >
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="externalresource2xmlrules.xml"/>
- <dbk:mediaobject>
- <dbk:videoobject>
- <dbk:videodata fileref="movie.avi"/>
- </dbk:videoobject>
- <dbk:imageobject>
- <dbk:imagedata fileref="movie-frame.gif"/>
- </dbk:imageobject>
- <dbk:textobject>
- <dbk:para>This video illustrates the proper way to assemble an inverting time distortion
- device. </dbk:para>
- <dbk:warning>
- <dbk:para> It is imperative that the primary and secondary temporal couplings not be
- mounted in the wrong order. Temporal catastrophe is the likely result. The
- future you destroy may be your own. </dbk:para>
- </dbk:warning>
- </dbk:textobject>
- </dbk:mediaobject>
-</doc>
+<doc
+ xmlns:its="http://www.w3.org/2005/11/its"
+ xmlns:dbk="http://docbook.org/ns/docbook" >
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="externalresource2xmlrules.xml"/>
+ <dbk:mediaobject>
+ <dbk:videoobject>
+ <dbk:videodata fileref="movie.avi"/>
+ </dbk:videoobject>
+ <dbk:imageobject>
+ <dbk:imagedata fileref="movie-frame.gif"/>
+ </dbk:imageobject>
+ <dbk:textobject>
+ <dbk:para>This video illustrates the proper way to assemble an inverting time distortion
+ device. </dbk:para>
+ <dbk:warning>
+ <dbk:para> It is imperative that the primary and secondary temporal couplings not be
+ mounted in the wrong order. Temporal catastrophe is the likely result. The
+ future you destroy may be your own. </dbk:para>
+ </dbk:warning>
+ </dbk:textobject>
+ </dbk:mediaobject>
+</doc>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource2xmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource2xmlrules.xml
index c1732d9..718135f 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource2xmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource2xmlrules.xml
@@ -1,3 +1,3 @@
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:dbk="http://docbook.org/ns/docbook" version="2.0">
- <its:externalResourceRefRule selector="//dbk:imagedata | //dbk:audiodata | //dbk:videodata" externalResourceRefPointer="@fileref"/>
- </its:rules>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:dbk="http://docbook.org/ns/docbook" version="2.0">
+ <its:externalResourceRefRule selector="//dbk:imagedata | //dbk:audiodata | //dbk:videodata" externalResourceRefPointer="@fileref"/>
+ </its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource3xml.xml b/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource3xml.xml
index 9176354..0528bb9 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource3xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource3xml.xml
@@ -1,28 +1,28 @@
-<doc
- xmlns:its="http://www.w3.org/2005/11/its"
- xmlns:dbk="http://docbook.org/ns/docbook" >
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="externalresource3xmlrules.xml"/>
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:dbk="http://docbook.org/ns/docbook" version="2.0">
- <its:externalResourceRefRule selector="//dbk:audiodata" externalResourceRefPointer="@fileref"/>
- </its:rules>
- <dbk:mediaobject>
- <dbk:videoobject>
- <dbk:videodata fileref="movie.avi"/>
- </dbk:videoobject>
- <dbk:audioobject>
- <dbk:audiodata fileref="movie.mp3"/>
- </dbk:audioobject>
- <dbk:imageobject>
- <dbk:imagedata fileref="movie-frame.gif"/>
- </dbk:imageobject>
- <dbk:textobject>
- <dbk:para>This video illustrates the proper way to assemble an inverting time distortion
- device. </dbk:para>
- <dbk:warning>
- <dbk:para> It is imperative that the primary and secondary temporal couplings not be
- mounted in the wrong order. Temporal catastrophe is the likely result. The
- future you destroy may be your own. </dbk:para>
- </dbk:warning>
- </dbk:textobject>
- </dbk:mediaobject>
-</doc>
+<doc
+ xmlns:its="http://www.w3.org/2005/11/its"
+ xmlns:dbk="http://docbook.org/ns/docbook" >
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="externalresource3xmlrules.xml"/>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:dbk="http://docbook.org/ns/docbook" version="2.0">
+ <its:externalResourceRefRule selector="//dbk:audiodata" externalResourceRefPointer="@fileref"/>
+ </its:rules>
+ <dbk:mediaobject>
+ <dbk:videoobject>
+ <dbk:videodata fileref="movie.avi"/>
+ </dbk:videoobject>
+ <dbk:audioobject>
+ <dbk:audiodata fileref="movie.mp3"/>
+ </dbk:audioobject>
+ <dbk:imageobject>
+ <dbk:imagedata fileref="movie-frame.gif"/>
+ </dbk:imageobject>
+ <dbk:textobject>
+ <dbk:para>This video illustrates the proper way to assemble an inverting time distortion
+ device. </dbk:para>
+ <dbk:warning>
+ <dbk:para> It is imperative that the primary and secondary temporal couplings not be
+ mounted in the wrong order. Temporal catastrophe is the likely result. The
+ future you destroy may be your own. </dbk:para>
+ </dbk:warning>
+ </dbk:textobject>
+ </dbk:mediaobject>
+</doc>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource3xmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource3xmlrules.xml
index 0bfab92..383781c 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource3xmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource3xmlrules.xml
@@ -1,3 +1,3 @@
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:dbk="http://docbook.org/ns/docbook" version="2.0">
- <its:externalResourceRefRule selector="//dbk:imagedata | //dbk:videodata" externalResourceRefPointer="@fileref"/>
- </its:rules>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:dbk="http://docbook.org/ns/docbook" version="2.0">
+ <its:externalResourceRefRule selector="//dbk:imagedata | //dbk:videodata" externalResourceRefPointer="@fileref"/>
+ </its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource4xml.xml b/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource4xml.xml
index b8aa3d6..76df2cc 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource4xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource4xml.xml
@@ -1,25 +1,25 @@
-<doc
- xmlns:its="http://www.w3.org/2005/11/its"
- xmlns:dbk="http://docbook.org/ns/docbook" >
- <its:rules version="2.0">
- <its:param name="externalResourceParam">movie-frame.gif</its:param>
- <its:externalResourceRefRule selector="//dbk:imagedata[@fileref=$externalResourceParam]" externalResourceRefPointer="@fileref"/>
- </its:rules>
- <dbk:mediaobject>
- <dbk:videoobject>
- <dbk:videodata fileref="movie.avi"/>
- </dbk:videoobject>
- <dbk:imageobject>
- <dbk:imagedata fileref="movie-frame.gif"/>
- </dbk:imageobject>
- <dbk:textobject>
- <dbk:para>This video illustrates the proper way to assemble an inverting time distortion
- device. </dbk:para>
- <dbk:warning>
- <dbk:para> It is imperative that the primary and secondary temporal couplings not be
- mounted in the wrong order. Temporal catastrophe is the likely result. The
- future you destroy may be your own. </dbk:para>
- </dbk:warning>
- </dbk:textobject>
- </dbk:mediaobject>
-</doc>
+<doc
+ xmlns:its="http://www.w3.org/2005/11/its"
+ xmlns:dbk="http://docbook.org/ns/docbook" >
+ <its:rules version="2.0">
+ <its:param name="externalResourceParam">movie-frame.gif</its:param>
+ <its:externalResourceRefRule selector="//dbk:imagedata[@fileref=$externalResourceParam]" externalResourceRefPointer="@fileref"/>
+ </its:rules>
+ <dbk:mediaobject>
+ <dbk:videoobject>
+ <dbk:videodata fileref="movie.avi"/>
+ </dbk:videoobject>
+ <dbk:imageobject>
+ <dbk:imagedata fileref="movie-frame.gif"/>
+ </dbk:imageobject>
+ <dbk:textobject>
+ <dbk:para>This video illustrates the proper way to assemble an inverting time distortion
+ device. </dbk:para>
+ <dbk:warning>
+ <dbk:para> It is imperative that the primary and secondary temporal couplings not be
+ mounted in the wrong order. Temporal catastrophe is the likely result. The
+ future you destroy may be your own. </dbk:para>
+ </dbk:warning>
+ </dbk:textobject>
+ </dbk:mediaobject>
+</doc>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource5xml.xml b/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource5xml.xml
index e88b1f8..d3e3764 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource5xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource5xml.xml
@@ -1,20 +1,20 @@
-<doc xmlns:dbk="http://docbook.org/ns/docbook" >
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="externalresource5xmlrules.xml"/>
- <dbk:mediaobject>
- <dbk:videoobject>
- <dbk:videodata fileref="movie.avi"/>
- </dbk:videoobject>
- <dbk:imageobject>
- <dbk:imagedata fileref="movie-frame.gif"/>
- </dbk:imageobject>
- <dbk:textobject>
- <dbk:para>This video illustrates the proper way to assemble an inverting time distortion
- device. </dbk:para>
- <dbk:warning>
- <dbk:para> It is imperative that the primary and secondary temporal couplings not be
- mounted in the wrong order. Temporal catastrophe is the likely result. The
- future you destroy may be your own. </dbk:para>
- </dbk:warning>
- </dbk:textobject>
- </dbk:mediaobject>
-</doc>
+<doc xmlns:dbk="http://docbook.org/ns/docbook" >
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="externalresource5xmlrules.xml"/>
+ <dbk:mediaobject>
+ <dbk:videoobject>
+ <dbk:videodata fileref="movie.avi"/>
+ </dbk:videoobject>
+ <dbk:imageobject>
+ <dbk:imagedata fileref="movie-frame.gif"/>
+ </dbk:imageobject>
+ <dbk:textobject>
+ <dbk:para>This video illustrates the proper way to assemble an inverting time distortion
+ device. </dbk:para>
+ <dbk:warning>
+ <dbk:para> It is imperative that the primary and secondary temporal couplings not be
+ mounted in the wrong order. Temporal catastrophe is the likely result. The
+ future you destroy may be your own. </dbk:para>
+ </dbk:warning>
+ </dbk:textobject>
+ </dbk:mediaobject>
+</doc>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource5xmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource5xmlrules.xml
index 12d1324..0120973 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource5xmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/externalresource/xml/externalresource5xmlrules.xml
@@ -1,5 +1,5 @@
-<its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its"
- xmlns:dbk="http://docbook.org/ns/docbook">
- <its:param name="externalResourceParam">movie-frame.gif</its:param>
- <its:externalResourceRefRule selector="//dbk:imagedata[@fileref=$externalResourceParam]" externalResourceRefPointer="@fileref"/>
- </its:rules>
+<its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its"
+ xmlns:dbk="http://docbook.org/ns/docbook">
+ <its:param name="externalResourceParam">movie-frame.gif</its:param>
+ <its:externalResourceRefRule selector="//dbk:imagedata[@fileref=$externalResourceParam]" externalResourceRefPointer="@fileref"/>
+ </its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue1html.html b/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue1html.html
index be1d88e..b345f20 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue1html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue1html.html
@@ -1,16 +1,16 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset=utf-8>
- <title>Id Value</title>
- <link href="idvalue1htmlrules.xml" rel="its-rules"/>
-</head>
-<body>
- <p id="settingsMissing">
- <b id="text">Can't find settings file.</b>
- <var id="desc">The module cannot find the default settings file.
- You need to re-initialize the system.</var>
- </p>
-</body>
-</html>
-
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset=utf-8>
+ <title>Id Value</title>
+ <link href="idvalue1htmlrules.xml" rel="its-rules"/>
+</head>
+<body>
+ <p id="settingsMissing">
+ <b id="text">Can't find settings file.</b>
+ <var id="desc">The module cannot find the default settings file.
+ You need to re-initialize the system.</var>
+ </p>
+</body>
+</html>
+
diff --git a/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue1htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue1htmlrules.xml
index 44702d5..fb04999 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue1htmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue1htmlrules.xml
@@ -1,6 +1,6 @@
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
- <its:idValueRule selector="//h:p" idValue="@id"/>
- <its:idValueRule selector="//h:b" idValue="@id"/>
- <its:idValueRule selector="//h:var" idValue="@id"/>
-</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:idValueRule selector="//h:p" idValue="@id"/>
+ <its:idValueRule selector="//h:b" idValue="@id"/>
+ <its:idValueRule selector="//h:var" idValue="@id"/>
+</its:rules>
+
diff --git a/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue2html.html b/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue2html.html
index 32fa411..8b53d3d 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue2html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue2html.html
@@ -1,17 +1,17 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset=utf-8>
- <title>Id Value</title>
- <link href="idvalue2htmlrules.xml" rel="its-rules"/>
-</head>
-<body>
- <p id="settingsMissing">
- <b id="text">Can't find settings file.</b>
- <var id="desc">The module cannot find the default settings file.
- You need to re-initialize the system.</var>
- <b id="crashtext">This computer is now crashing GOODBYE!!</b>
- </p>
-</body>
-</html>
-
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset=utf-8>
+ <title>Id Value</title>
+ <link href="idvalue2htmlrules.xml" rel="its-rules"/>
+</head>
+<body>
+ <p id="settingsMissing">
+ <b id="text">Can't find settings file.</b>
+ <var id="desc">The module cannot find the default settings file.
+ You need to re-initialize the system.</var>
+ <b id="crashtext">This computer is now crashing GOODBYE!!</b>
+ </p>
+</body>
+</html>
+
diff --git a/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue2htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue2htmlrules.xml
index dce12a7..942af0d 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue2htmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue2htmlrules.xml
@@ -1,7 +1,7 @@
-<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="idvalueparam">text</its:param>
- <its:idValueRule selector="//h:p" idValue="@id"/>
- <its:idValueRule selector="//h:b[@id=$idvalueparam]" idValue="@id"/>
- <its:idValueRule selector="//h:b[@id='crashtext']" idValue="@id"/>
- <its:idValueRule selector="//h:var" idValue="@id"/>
-</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="idvalueparam">text</its:param>
+ <its:idValueRule selector="//h:p" idValue="@id"/>
+ <its:idValueRule selector="//h:b[@id=$idvalueparam]" idValue="@id"/>
+ <its:idValueRule selector="//h:b[@id='crashtext']" idValue="@id"/>
+ <its:idValueRule selector="//h:var" idValue="@id"/>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue3html.html b/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue3html.html
index f5fffaf..4030307 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue3html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/idvalue/html/idvalue3html.html
@@ -1,22 +1,22 @@
-<!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="idvalueparam">text</its:param>
- <its:idValueRule selector="//h:p" idValue="@id"/>
- <its:idValueRule selector="//h:b[@id=$idvalueparam]" idValue="@id"/>
- <its:idValueRule selector="//h:var" idValue="@id"/>
- </its:rules>
- </script>
- <meta charset=utf-8>
- <title>Id Value</title>
-</head>
-<body>
- <p id="settingsMissing">
- <b id="text">Can't find settings file.</b>
- <var id="desc">The module cannot find the default settings file.
- You need to re-initialize the system.</var>
- </p>
-</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="idvalueparam">text</its:param>
+ <its:idValueRule selector="//h:p" idValue="@id"/>
+ <its:idValueRule selector="//h:b[@id=$idvalueparam]" idValue="@id"/>
+ <its:idValueRule selector="//h:var" idValue="@id"/>
+ </its:rules>
+ </script>
+ <meta charset=utf-8>
+ <title>Id Value</title>
+</head>
+<body>
+ <p id="settingsMissing">
+ <b id="text">Can't find settings file.</b>
+ <var id="desc">The module cannot find the default settings file.
+ You need to re-initialize the system.</var>
+ </p>
+</body>
+</html>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue1xml.xml b/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue1xml.xml
index 9f41580..8b2869b 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue1xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue1xml.xml
@@ -1,20 +1,20 @@
-<resource
- xmlns:its="http://www.w3.org/2005/11/its" >
- <its:rules version="2.0">
- <its:idValueRule selector="//text" idValue="../@name"/>
- </its:rules>
-<webform>
- <entry name="btn.OK">
- <text>OK</text>
- <pos>1, 1</pos>
- <trig>sendOK</trig>
- </entry>
-</webform>
-<webform>
- <entry name="btn.CANCEL">
- <text>Cancel</text>
- <pos>2, 1</pos>
- <trig>cancelAll</trig>
- </entry>
-</webform>
-</resource>
+<resource
+ xmlns:its="http://www.w3.org/2005/11/its" >
+ <its:rules version="2.0">
+ <its:idValueRule selector="//text" idValue="../@name"/>
+ </its:rules>
+<webform>
+ <entry name="btn.OK">
+ <text>OK</text>
+ <pos>1, 1</pos>
+ <trig>sendOK</trig>
+ </entry>
+</webform>
+<webform>
+ <entry name="btn.CANCEL">
+ <text>Cancel</text>
+ <pos>2, 1</pos>
+ <trig>cancelAll</trig>
+ </entry>
+</webform>
+</resource>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue2xml.xml b/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue2xml.xml
index c96ed60..a27ad31 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue2xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue2xml.xml
@@ -1,4 +1,4 @@
-<file>
- <res name="retryBtn" xml:id="btnAgain">Try Again</res>
- <res name="retryTip">click this to re-run the process with the current settings.</res>
-</file>
+<file>
+ <res name="retryBtn" xml:id="btnAgain">Try Again</res>
+ <res name="retryTip">click this to re-run the process with the current settings.</res>
+</file>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue3xml.xml b/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue3xml.xml
index b5c3417..6b19c63 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue3xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue3xml.xml
@@ -1,13 +1,13 @@
-<resource>
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="idvalue3xmlrules.xml"/>
- <entry name="btn.OK">
- <text>OK</text>
- <pos>1, 1</pos>
- <trig>sendOK</trig>
- </entry>
- <entry name="btn.CANCEL">
- <text>Cancel</text>
- <pos>2, 1</pos>
- <trig>cancelAll</trig>
- </entry>
-</resource>
+<resource>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="idvalue3xmlrules.xml"/>
+ <entry name="btn.OK">
+ <text>OK</text>
+ <pos>1, 1</pos>
+ <trig>sendOK</trig>
+ </entry>
+ <entry name="btn.CANCEL">
+ <text>Cancel</text>
+ <pos>2, 1</pos>
+ <trig>cancelAll</trig>
+ </entry>
+</resource>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue3xmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue3xmlrules.xml
index d2998f4..5ff498f 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue3xmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue3xmlrules.xml
@@ -1,3 +1,3 @@
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:idValueRule selector="//entry" idValue="@name"/>
- </its:rules>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:idValueRule selector="//entry" idValue="@name"/>
+ </its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue4xml.xml b/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue4xml.xml
index df4c327..909bfd2 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue4xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue4xml.xml
@@ -1,17 +1,17 @@
-<resource>
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="idvalue4xmlrules.xml"/>
- <webform id="1">
- <entry name="btn.OK">
- <text>OK</text>
- <pos>1, 1</pos>
- <trig>sendOK</trig>
- </entry>
- </webform>
- <webform id="2">
- <entry name="btn.CANCEL">
- <text>Cancel</text>
- <pos>2, 1</pos>
- <trig>cancelAll</trig>
- </entry>
- </webform>
-</resource>
+<resource>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="idvalue4xmlrules.xml"/>
+ <webform id="1">
+ <entry name="btn.OK">
+ <text>OK</text>
+ <pos>1, 1</pos>
+ <trig>sendOK</trig>
+ </entry>
+ </webform>
+ <webform id="2">
+ <entry name="btn.CANCEL">
+ <text>Cancel</text>
+ <pos>2, 1</pos>
+ <trig>cancelAll</trig>
+ </entry>
+ </webform>
+</resource>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue4xmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue4xmlrules.xml
index a435a1f..59e7325 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue4xmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue4xmlrules.xml
@@ -1,4 +1,4 @@
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:param name="idvalueParam">1</its:param>
- <its:idValueRule selector="//webform[@id=$idvalueParam]/entry" idValue="@name"/>
- </its:rules>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:param name="idvalueParam">1</its:param>
+ <its:idValueRule selector="//webform[@id=$idvalueParam]/entry" idValue="@name"/>
+ </its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue5xml.xml b/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue5xml.xml
index 4cf0c64..4b356b0 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue5xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/idvalue/xml/idvalue5xml.xml
@@ -1,20 +1,20 @@
-<resource>
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:param name="idvalueParam">1</its:param>
- <its:idValueRule selector="//webform[@id=$idvalueParam]/entry" idValue="@name"/>
- </its:rules>
- <webform id="1">
- <entry name="btn.OK">
- <text>OK</text>
- <pos>1, 1</pos>
- <trig>sendOK</trig>
- </entry>
- </webform>
- <webform id="2">
- <entry name="btn.CANCEL">
- <text>Cancel</text>
- <pos>2, 1</pos>
- <trig>cancelAll</trig>
- </entry>
- </webform>
-</resource>
+<resource>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:param name="idvalueParam">1</its:param>
+ <its:idValueRule selector="//webform[@id=$idvalueParam]/entry" idValue="@name"/>
+ </its:rules>
+ <webform id="1">
+ <entry name="btn.OK">
+ <text>OK</text>
+ <pos>1, 1</pos>
+ <trig>sendOK</trig>
+ </entry>
+ </webform>
+ <webform id="2">
+ <entry name="btn.CANCEL">
+ <text>Cancel</text>
+ <pos>2, 1</pos>
+ <trig>cancelAll</trig>
+ </entry>
+ </webform>
+</resource>
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>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote1html.html b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote1html.html
index 3bf8790..6c33dd2 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote1html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote1html.html
@@ -1,11 +1,11 @@
-<!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8>
- <title>Example</title>
- <link href="locnote1htmlrules.xml" rel="its-rules"/>
- </head>
- <body>
- <span id="DisableInfo">The {0} has been disabled.</span>
- </body>
- </html>
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <title>Example</title>
+ <link href="locnote1htmlrules.xml" rel="its-rules"/>
+ </head>
+ <body>
+ <span id="DisableInfo">The {0} has been disabled.</span>
+ </body>
+ </html>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote1htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote1htmlrules.xml
index 852b455..87b8415 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote1htmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote1htmlrules.xml
@@ -1,7 +1,7 @@
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
-<its:locNoteRule locNoteType="alert" selector="//h:span[@id='DisableInfo']">
-<its:locNote>
-The variable {0} has three possible values: 'printer', 'stacker' and 'stapler options'.
-</its:locNote>
-</its:locNoteRule>
-</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:locNoteRule locNoteType="alert" selector="//h:span[@id='DisableInfo']">
+<its:locNote>
+The variable {0} has three possible values: 'printer', 'stacker' and 'stapler options'.
+</its:locNote>
+</its:locNoteRule>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote2html.html b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote2html.html
index 4a484c3..c865bc9 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote2html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote2html.html
@@ -1,20 +1,20 @@
-<!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8>
- <title>Example</title>
- <link href="locnote2htmlrules.xml" rel="its-rules"/>
- </head>
- <body>
- <section id="FileNotFound">
- <p>
- Indicates that the resource file {0} could not be loaded.
- </p>
- <span>Cannot find the file {0}.</span>
- </section>
- <section id="DivByZero">
- <p>A division by 0 was going to be computed.</p>
- <span>Invalid parameter.</span>
- </section>
- </body>
- </html>
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <title>Example</title>
+ <link href="locnote2htmlrules.xml" rel="its-rules"/>
+ </head>
+ <body>
+ <section id="FileNotFound">
+ <p>
+ Indicates that the resource file {0} could not be loaded.
+ </p>
+ <span>Cannot find the file {0}.</span>
+ </section>
+ <section id="DivByZero">
+ <p>A division by 0 was going to be computed.</p>
+ <span>Invalid parameter.</span>
+ </section>
+ </body>
+ </html>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote2htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote2htmlrules.xml
index 1f837d8..2da2d20 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote2htmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote2htmlrules.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:translateRule selector="//h:section/h:p" translate="no"/>
-<its:locNoteRule locNoteType="description" selector="//h:section/h:span" locNotePointer="../h:p"/>
-</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:translateRule selector="//h:section/h:p" translate="no"/>
+<its:locNoteRule locNoteType="description" selector="//h:section/h:span" locNotePointer="../h:p"/>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote3html.html b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote3html.html
index a408469..380ab5f 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote3html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote3html.html
@@ -1,12 +1,12 @@
-<!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8>
- <title>EXAMPLE</title>
- <link href="locnote3htmlrules.xml" rel="its-rules"/>
- </head>
- <body>
- <span id="NotFound">Cannot find {0} on {1}.</span>
- </body>
- </html>
-
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <title>EXAMPLE</title>
+ <link href="locnote3htmlrules.xml" rel="its-rules"/>
+ </head>
+ <body>
+ <span id="NotFound">Cannot find {0} on {1}.</span>
+ </body>
+ </html>
+
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote3htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote3htmlrules.xml
index 60634b9..898225e 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote3htmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote3htmlrules.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:locNoteRule locNoteType="description" selector="//h:span[@id='NotFound']" locNoteRef="ErrorsInfo.html/#NotFound"/>
-</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:locNoteRule locNoteType="description" selector="//h:span[@id='NotFound']" locNoteRef="ErrorsInfo.html/#NotFound"/>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote4html.html b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote4html.html
index 3c313c8..8cc2ffe 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote4html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote4html.html
@@ -1,16 +1,16 @@
-<!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8>
- <title>EXAMPLE</title>
- <link href="locnote4htmlrules.xml" rel="its-rules"/>
- </head>
- <body>
- <p id="FileNotFound" title="Comments.html#FileNotFound">
- <span>Cannot find the file {0}.</span>
- </p>
- <p id="DivByZero" title="Comments.html#DivByZero">
- <span>Invalid parameter.</span>
- </p>
- </body>
- </html>
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <title>EXAMPLE</title>
+ <link href="locnote4htmlrules.xml" rel="its-rules"/>
+ </head>
+ <body>
+ <p id="FileNotFound" title="Comments.html#FileNotFound">
+ <span>Cannot find the file {0}.</span>
+ </p>
+ <p id="DivByZero" title="Comments.html#DivByZero">
+ <span>Invalid parameter.</span>
+ </p>
+ </body>
+ </html>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote4htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote4htmlrules.xml
index ae9d27e..2e0f117 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote4htmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote4htmlrules.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:locNoteRule locNoteType="description" selector="//h:body/h:p/h:span" locNoteRefPointer="../@title"/>
-</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:locNoteRule locNoteType="description" selector="//h:body/h:p/h:span" locNoteRefPointer="../@title"/>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote5html.html b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote5html.html
index 404611e..1db258a 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote5html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote5html.html
@@ -1,21 +1,21 @@
-<!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8>
- <link href="locnote5htmlrules.xml" rel="its-rules"/>
- <title>EXAMPLE</title>
- </head>
- <body>
- <p id="1">
- This is a hippoptamus:
- <img src="hippo.png" alt="Hippo in the Chobe River"/>
- .
- </p>
- <p id="2">
- This is an elephant:
- <img src="elephants.png" alt="Elephants taking a mud bath"/>
- .
- </p>
- <p id="DisableInfo">The {0} has been disabled.</p>
- </body>
- </html>
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <link href="locnote5htmlrules.xml" rel="its-rules"/>
+ <title>EXAMPLE</title>
+ </head>
+ <body>
+ <p id="1">
+ This is a hippoptamus:
+ <img src="hippo.png" alt="Hippo in the Chobe River"/>
+ .
+ </p>
+ <p id="2">
+ This is an elephant:
+ <img src="elephants.png" alt="Elephants taking a mud bath"/>
+ .
+ </p>
+ <p id="DisableInfo">The {0} has been disabled.</p>
+ </body>
+ </html>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote5htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote5htmlrules.xml
index e2c9c5b..c9d0086 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote5htmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote5htmlrules.xml
@@ -1,15 +1,15 @@
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
-<its:locNoteRule selector="//h:p[@id='1']/h:img/@alt" locNoteType="alert">
-<its:locNote>Do not translate the word "Chobe"</its:locNote>
-</its:locNoteRule>
-<its:locNoteRule selector="//h:p[@id='2']/h:img/@alt" locNoteType="description">
-<its:locNote>This text will be displayed over the image.</its:locNote>
-</its:locNoteRule>
-<its:locNoteRule locNoteType="alert" selector="//h:p[@id='DisableInfo']">
-<its:locNote>
-The variable
-{0}
-has three possible values: 'printer', 'stacker' and 'stapler options'.
-</its:locNote>
-</its:locNoteRule>
-</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:locNoteRule selector="//h:p[@id='1']/h:img/@alt" locNoteType="alert">
+<its:locNote>Do not translate the word "Chobe"</its:locNote>
+</its:locNoteRule>
+<its:locNoteRule selector="//h:p[@id='2']/h:img/@alt" locNoteType="description">
+<its:locNote>This text will be displayed over the image.</its:locNote>
+</its:locNoteRule>
+<its:locNoteRule locNoteType="alert" selector="//h:p[@id='DisableInfo']">
+<its:locNote>
+The variable
+{0}
+has three possible values: 'printer', 'stacker' and 'stapler options'.
+</its:locNote>
+</its:locNoteRule>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote6html.html b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote6html.html
index d99a561..eea2ad9 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote6html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote6html.html
@@ -1,21 +1,21 @@
-<!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8>
- <title>EXAMPLE</title>
- <link href="locnote6htmlrules.xml" rel="its-rules"/>
- </head>
- <body>
- <span id="1">
- This is a hippoptamus:
- <img src="hippo.png" alt="Hippo in the Chobe River"/>
- .
- </span>
- <span id="2">
- This is an elephant:
- <img src="elephants.png" alt="Elephants taking a mud bath"/>
- .
- </span>
- <span id="DisableInfo">The {0} has been disabled.</span>
- </body>
- </html>
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <title>EXAMPLE</title>
+ <link href="locnote6htmlrules.xml" rel="its-rules"/>
+ </head>
+ <body>
+ <span id="1">
+ This is a hippoptamus:
+ <img src="hippo.png" alt="Hippo in the Chobe River"/>
+ .
+ </span>
+ <span id="2">
+ This is an elephant:
+ <img src="elephants.png" alt="Elephants taking a mud bath"/>
+ .
+ </span>
+ <span id="DisableInfo">The {0} has been disabled.</span>
+ </body>
+ </html>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote6htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote6htmlrules.xml
index aac2f0c..d8a1ee4 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote6htmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote6htmlrules.xml
@@ -1,15 +1,15 @@
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
-<its:locNoteRule selector="//@alt" locNoteType="description">
-<its:locNote>This text will be displayed over the image.</its:locNote>
-</its:locNoteRule>
-<its:locNoteRule selector="//h:span[@id='1']/h:img/@alt" locNoteType="alert">
-<its:locNote>Do not translate the word "Chobe"</its:locNote>
-</its:locNoteRule>
-<its:locNoteRule locNoteType="alert" selector="//h:span[@id='DisableInfo']">
-<its:locNote>
-The variable
-{0}
-has three possible values: 'printer', 'stacker' and 'stapler options'.
-</its:locNote>
-</its:locNoteRule>
-</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:locNoteRule selector="//@alt" locNoteType="description">
+<its:locNote>This text will be displayed over the image.</its:locNote>
+</its:locNoteRule>
+<its:locNoteRule selector="//h:span[@id='1']/h:img/@alt" locNoteType="alert">
+<its:locNote>Do not translate the word "Chobe"</its:locNote>
+</its:locNoteRule>
+<its:locNoteRule locNoteType="alert" selector="//h:span[@id='DisableInfo']">
+<its:locNote>
+The variable
+{0}
+has three possible values: 'printer', 'stacker' and 'stapler options'.
+</its:locNote>
+</its:locNoteRule>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote7html.html b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote7html.html
index 52ea451..4741c32 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote7html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote7html.html
@@ -1,10 +1,10 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset=utf-8>
- <title>LocNote test: Default</title>
- </head>
- <body>
- <p>This is a <span its-loc-note="Check with terminology engineer" its-loc-note-type="ALERT">motherboard</span>.</p>
- </body>
-</html>
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset=utf-8>
+ <title>LocNote test: Default</title>
+ </head>
+ <body>
+ <p>This is a <span its-loc-note="Check with terminology engineer" its-loc-note-type="ALERT">motherboard</span>.</p>
+ </body>
+</html>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote8html.html b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote8html.html
index c4b7813..8913b8e 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote8html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote8html.html
@@ -1,21 +1,21 @@
-<!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8>
- <title>EXAMPLE</title>
- <link href="locnote8htmlrules.xml" rel="its-rules"/>
- </head>
- <body>
- <span id="1">
- This is a hippoptamus:
- <img src="hippo.png" alt="Hippo in the Chobe River"/>
- .
- </span>
- <span id="2">
- This is an elephant:
- <img src="elephants.png" alt="Elephants taking a mud bath"/>
- .
- </span>
- <span id="DisableInfo">The {0} has been disabled.</span>
- </body>
- </html>
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <title>EXAMPLE</title>
+ <link href="locnote8htmlrules.xml" rel="its-rules"/>
+ </head>
+ <body>
+ <span id="1">
+ This is a hippoptamus:
+ <img src="hippo.png" alt="Hippo in the Chobe River"/>
+ .
+ </span>
+ <span id="2">
+ This is an elephant:
+ <img src="elephants.png" alt="Elephants taking a mud bath"/>
+ .
+ </span>
+ <span id="DisableInfo">The {0} has been disabled.</span>
+ </body>
+ </html>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote8htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote8htmlrules.xml
index ed9d07e..7d6c81f 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote8htmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote8htmlrules.xml
@@ -1,16 +1,16 @@
-<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="spanIdParam">DisableInfo</its:param>
-<its:locNoteRule selector="//@alt" locNoteType="description">
-<its:locNote>This text will be displayed over the image.</its:locNote>
-</its:locNoteRule>
-<its:locNoteRule selector="//h:span[@id='1']/h:img/@alt" locNoteType="alert">
-<its:locNote>Do not translate the word "Chobe"</its:locNote>
-</its:locNoteRule>
-<its:locNoteRule locNoteType="alert" selector="//h:span[@id=$spanIdParam]">
-<its:locNote>
-The variable
-{0}
-has three possible values: 'printer', 'stacker' and 'stapler options'.
-</its:locNote>
-</its:locNoteRule>
-</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="spanIdParam">DisableInfo</its:param>
+<its:locNoteRule selector="//@alt" locNoteType="description">
+<its:locNote>This text will be displayed over the image.</its:locNote>
+</its:locNoteRule>
+<its:locNoteRule selector="//h:span[@id='1']/h:img/@alt" locNoteType="alert">
+<its:locNote>Do not translate the word "Chobe"</its:locNote>
+</its:locNoteRule>
+<its:locNoteRule locNoteType="alert" selector="//h:span[@id=$spanIdParam]">
+<its:locNote>
+The variable
+{0}
+has three possible values: 'printer', 'stacker' and 'stapler options'.
+</its:locNote>
+</its:locNoteRule>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote9html.html b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote9html.html
index 8080e24..9adbbcd 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote9html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/html/locnote9html.html
@@ -1,20 +1,20 @@
-<!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="locnoteparam">DisableInfo</its:param>
- <its:locNoteRule locNoteType="alert" selector="//h:p[@id=$locnoteparam]">
- <its:locNote>The variable {0} has three possible values: 'printer',
- 'stacker' and 'stapler options'.</its:locNote>
- </its:locNoteRule>
- </its:rules>
-</script>
- <meta charset=utf-8>
- <title>Example</title>
- </head>
-<body>
- <p id="DisableInfo">The {0} has been disabled.</p>
- </body>
-</html>
-
+<!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="locnoteparam">DisableInfo</its:param>
+ <its:locNoteRule locNoteType="alert" selector="//h:p[@id=$locnoteparam]">
+ <its:locNote>The variable {0} has three possible values: 'printer',
+ 'stacker' and 'stapler options'.</its:locNote>
+ </its:locNoteRule>
+ </its:rules>
+</script>
+ <meta charset=utf-8>
+ <title>Example</title>
+ </head>
+<body>
+ <p id="DisableInfo">The {0} has been disabled.</p>
+ </body>
+</html>
+
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote10xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote10xml.xml
index 2831a2e..aefe57b 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote10xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote10xml.xml
@@ -1,33 +1,33 @@
-<msgList>
-<head>
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
-<its:param name="DisableInfoParam">DisableInfo</its:param>
-<its:locNoteRule selector="//@alt" locNoteType="description">
-<its:locNote>This text will be displayed over the image.</its:locNote>
-</its:locNoteRule>
-<its:locNoteRule selector="//msg[@id='1']/img/@alt" locNoteType="alert">
-<its:locNote>Do not translate the word "Chobe"</its:locNote>
-</its:locNoteRule>
-<its:locNoteRule locNoteType="alert" selector="//msg[@id=$DisableInfoParam]">
-<its:locNote>
-The variable
-{0}
-has three possible values: 'printer', 'stacker' and 'stapler options'.
-</its:locNote>
-</its:locNoteRule>
-</its:rules>
-</head>
-<body>
-<msg id="1">
-This is a hippoptamus:
-<img src="hippo.png" alt="Hippo in the Chobe River"/>
-.
-</msg>
-<msg id="2">
-This is an elephant:
-<img src="elephants.png" alt="Elephants taking a mud bath"/>
-.
-</msg>
-<msg id="DisableInfo">The {0} has been disabled.</msg>
-</body>
-</msgList>
+<msgList>
+<head>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+<its:param name="DisableInfoParam">DisableInfo</its:param>
+<its:locNoteRule selector="//@alt" locNoteType="description">
+<its:locNote>This text will be displayed over the image.</its:locNote>
+</its:locNoteRule>
+<its:locNoteRule selector="//msg[@id='1']/img/@alt" locNoteType="alert">
+<its:locNote>Do not translate the word "Chobe"</its:locNote>
+</its:locNoteRule>
+<its:locNoteRule locNoteType="alert" selector="//msg[@id=$DisableInfoParam]">
+<its:locNote>
+The variable
+{0}
+has three possible values: 'printer', 'stacker' and 'stapler options'.
+</its:locNote>
+</its:locNoteRule>
+</its:rules>
+</head>
+<body>
+<msg id="1">
+This is a hippoptamus:
+<img src="hippo.png" alt="Hippo in the Chobe River"/>
+.
+</msg>
+<msg id="2">
+This is an elephant:
+<img src="elephants.png" alt="Elephants taking a mud bath"/>
+.
+</msg>
+<msg id="DisableInfo">The {0} has been disabled.</msg>
+</body>
+</msgList>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote11xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote11xml.xml
index c55fd84..20a697e 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote11xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote11xml.xml
@@ -1,18 +1,18 @@
-<msgList>
-<head>
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="locnote11xmlrules.xml"/>
-</head>
-<body>
-<msg id="1">
-This is a hippoptamus:
-<img src="hippo.png" alt="Hippo in the Chobe River"/>
-.
-</msg>
-<msg id="2">
-This is an elephant:
-<img src="elephants.png" alt="Elephants taking a mud bath"/>
-.
-</msg>
-<msg id="DisableInfo">The {0} has been disabled.</msg>
-</body>
-</msgList>
+<msgList>
+<head>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="locnote11xmlrules.xml"/>
+</head>
+<body>
+<msg id="1">
+This is a hippoptamus:
+<img src="hippo.png" alt="Hippo in the Chobe River"/>
+.
+</msg>
+<msg id="2">
+This is an elephant:
+<img src="elephants.png" alt="Elephants taking a mud bath"/>
+.
+</msg>
+<msg id="DisableInfo">The {0} has been disabled.</msg>
+</body>
+</msgList>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote11xmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote11xmlrules.xml
index 0f17ead..43b00c7 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote11xmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote11xmlrules.xml
@@ -1,16 +1,16 @@
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
-<its:param name="DisableInfoParam">DisableInfo</its:param>
-<its:locNoteRule selector="//@alt" locNoteType="description">
-<its:locNote>This text will be displayed over the image.</its:locNote>
-</its:locNoteRule>
-<its:locNoteRule selector="//msg[@id='1']/img/@alt" locNoteType="alert">
-<its:locNote>Do not translate the word "Chobe"</its:locNote>
-</its:locNoteRule>
-<its:locNoteRule locNoteType="alert" selector="//msg[@id=$DisableInfoParam]">
-<its:locNote>
-The variable
-{0}
-has three possible values: 'printer', 'stacker' and 'stapler options'.
-</its:locNote>
-</its:locNoteRule>
-</its:rules>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+<its:param name="DisableInfoParam">DisableInfo</its:param>
+<its:locNoteRule selector="//@alt" locNoteType="description">
+<its:locNote>This text will be displayed over the image.</its:locNote>
+</its:locNoteRule>
+<its:locNoteRule selector="//msg[@id='1']/img/@alt" locNoteType="alert">
+<its:locNote>Do not translate the word "Chobe"</its:locNote>
+</its:locNoteRule>
+<its:locNoteRule locNoteType="alert" selector="//msg[@id=$DisableInfoParam]">
+<its:locNote>
+The variable
+{0}
+has three possible values: 'printer', 'stacker' and 'stapler options'.
+</its:locNote>
+</its:locNoteRule>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote1xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote1xml.xml
index 8020244..4b50997 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote1xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote1xml.xml
@@ -1,13 +1,13 @@
-<myRes>
- <head>
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:locNoteRule locNoteType="alert" selector="//msg[@id='DisableInfo']">
- <its:locNote>The variable {0} has three possible values: 'printer',
- 'stacker' and 'stapler options'.</its:locNote>
- </its:locNoteRule>
- </its:rules>
- </head>
- <body>
- <msg id="DisableInfo">The {0} has been disabled.</msg>
- </body>
-</myRes>
+<myRes>
+ <head>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:locNoteRule locNoteType="alert" selector="//msg[@id='DisableInfo']">
+ <its:locNote>The variable {0} has three possible values: 'printer',
+ 'stacker' and 'stapler options'.</its:locNote>
+ </its:locNoteRule>
+ </its:rules>
+ </head>
+ <body>
+ <msg id="DisableInfo">The {0} has been disabled.</msg>
+ </body>
+</myRes>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote2xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote2xml.xml
index 31633ea..166215d 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote2xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote2xml.xml
@@ -1,19 +1,19 @@
-<Res>
- <prolog>
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:translateRule selector="//msg/notes" translate="no"/>
- <its:locNoteRule locNoteType="description" selector="//msg/data"
- locNotePointer="../notes"/>
- </its:rules>
- </prolog>
- <body>
- <msg id="FileNotFound">
- <notes>Indicates that the resource file {0} could not be loaded.</notes>
- <data>Cannot find the file {0}.</data>
- </msg>
- <msg id="DivByZero">
- <notes>A division by 0 was going to be computed.</notes>
- <data>Invalid parameter.</data>
- </msg>
- </body>
-</Res>
+<Res>
+ <prolog>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:translateRule selector="//msg/notes" translate="no"/>
+ <its:locNoteRule locNoteType="description" selector="//msg/data"
+ locNotePointer="../notes"/>
+ </its:rules>
+ </prolog>
+ <body>
+ <msg id="FileNotFound">
+ <notes>Indicates that the resource file {0} could not be loaded.</notes>
+ <data>Cannot find the file {0}.</data>
+ </msg>
+ <msg id="DivByZero">
+ <notes>A division by 0 was going to be computed.</notes>
+ <data>Invalid parameter.</data>
+ </msg>
+ </body>
+</Res>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote3xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote3xml.xml
index 2f5aa81..3336af3 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote3xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote3xml.xml
@@ -1,12 +1,12 @@
-<myRes>
- <head>
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:locNoteRule locNoteType="description"
- selector="//msg[@id='NotFound']"
- locNoteRef="ErrorsInfo.html/#NotFound" />
- </its:rules>
- </head>
- <body>
- <msg id="NotFound">Cannot find {0} on {1}.</msg>
- </body>
-</myRes>
+<myRes>
+ <head>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:locNoteRule locNoteType="description"
+ selector="//msg[@id='NotFound']"
+ locNoteRef="ErrorsInfo.html/#NotFound" />
+ </its:rules>
+ </head>
+ <body>
+ <msg id="NotFound">Cannot find {0} on {1}.</msg>
+ </body>
+</myRes>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote4xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote4xml.xml
index 2dd649e..a98b30e 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote4xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote4xml.xml
@@ -1,16 +1,16 @@
-<dataFile>
- <prolog>
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:locNoteRule locNoteType="description" selector="//body/string/data"
- locNoteRefPointer="../@noteFile" />
- </its:rules>
- </prolog>
- <body>
- <string id="FileNotFound" noteFile="Comments.html#FileNotFound">
- <data>Cannot find the file {0}.</data>
- </string>
- <string id="DivByZero" noteFile="Comments.html#DivByZero">
- <data>Invalid parameter.</data>
- </string>
- </body>
-</dataFile>
+<dataFile>
+ <prolog>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:locNoteRule locNoteType="description" selector="//body/string/data"
+ locNoteRefPointer="../@noteFile" />
+ </its:rules>
+ </prolog>
+ <body>
+ <string id="FileNotFound" noteFile="Comments.html#FileNotFound">
+ <data>Cannot find the file {0}.</data>
+ </string>
+ <string id="DivByZero" noteFile="Comments.html#DivByZero">
+ <data>Invalid parameter.</data>
+ </string>
+ </body>
+</dataFile>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote5xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote5xml.xml
index cd3e07e..dac3607 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote5xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote5xml.xml
@@ -1,15 +1,15 @@
-<msgList>
- <head>
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"
- xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="locnote5xmlrules.xml">
- <its:locNoteRule selector="//msg[@id='1']/img/@alt" locNoteType="alert">
- <its:locNote>Do not translate the word "Chobe"</its:locNote>
- </its:locNoteRule>
- </its:rules>
- </head>
- <body>
- <msg id="1">This is a hippoptamus: <img src="hippo.png" alt="Hippo in the Chobe River"/>.</msg>
- <msg id="2">This is an elephant: <img src="elephants.png" alt="Elephants taking a mud bath"/>.</msg>
- <msg id="DisableInfo">The {0} has been disabled.</msg>
- </body>
-</msgList>
+<msgList>
+ <head>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"
+ xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="locnote5xmlrules.xml">
+ <its:locNoteRule selector="//msg[@id='1']/img/@alt" locNoteType="alert">
+ <its:locNote>Do not translate the word "Chobe"</its:locNote>
+ </its:locNoteRule>
+ </its:rules>
+ </head>
+ <body>
+ <msg id="1">This is a hippoptamus: <img src="hippo.png" alt="Hippo in the Chobe River"/>.</msg>
+ <msg id="2">This is an elephant: <img src="elephants.png" alt="Elephants taking a mud bath"/>.</msg>
+ <msg id="DisableInfo">The {0} has been disabled.</msg>
+ </body>
+</msgList>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote5xmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote5xmlrules.xml
index 1318f24..8eb7b34 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote5xmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote5xmlrules.xml
@@ -1,9 +1,9 @@
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:locNoteRule selector="//@alt" locNoteType="description">
- <its:locNote>This text will be displayed over the image.</its:locNote>
- </its:locNoteRule>
- <its:locNoteRule locNoteType="alert" selector="//msg[@id='DisableInfo']">
- <its:locNote>The variable {0} has three possible values: 'printer',
- 'stacker' and 'stapler options'.</its:locNote>
- </its:locNoteRule>
-</its:rules>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:locNoteRule selector="//@alt" locNoteType="description">
+ <its:locNote>This text will be displayed over the image.</its:locNote>
+ </its:locNoteRule>
+ <its:locNoteRule locNoteType="alert" selector="//msg[@id='DisableInfo']">
+ <its:locNote>The variable {0} has three possible values: 'printer',
+ 'stacker' and 'stapler options'.</its:locNote>
+ </its:locNoteRule>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote6xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote6xml.xml
index beb5827..2df8838 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote6xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote6xml.xml
@@ -1,21 +1,21 @@
-<msgList>
- <head>
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:locNoteRule selector="//@alt" locNoteType="description">
- <its:locNote>This text will be displayed over the image.</its:locNote>
- </its:locNoteRule>
- <its:locNoteRule selector="//msg[@id='1']/img/@alt" locNoteType="alert">
- <its:locNote>Do not translate the word "Chobe"</its:locNote>
- </its:locNoteRule>
- <its:locNoteRule locNoteType="alert" selector="//msg[@id='DisableInfo']">
- <its:locNote>The variable {0} has three possible values: 'printer',
- 'stacker' and 'stapler options'.</its:locNote>
- </its:locNoteRule>
- </its:rules>
- </head>
- <body>
- <msg id="1">This is a hippoptamus: <img src="hippo.png" alt="Hippo in the Chobe River"/>.</msg>
- <msg id="2">This is an elephant: <img src="elephants.png" alt="Elephants taking a mud bath"/>.</msg>
- <msg id="DisableInfo">The {0} has been disabled.</msg>
- </body>
-</msgList>
+<msgList>
+ <head>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:locNoteRule selector="//@alt" locNoteType="description">
+ <its:locNote>This text will be displayed over the image.</its:locNote>
+ </its:locNoteRule>
+ <its:locNoteRule selector="//msg[@id='1']/img/@alt" locNoteType="alert">
+ <its:locNote>Do not translate the word "Chobe"</its:locNote>
+ </its:locNoteRule>
+ <its:locNoteRule locNoteType="alert" selector="//msg[@id='DisableInfo']">
+ <its:locNote>The variable {0} has three possible values: 'printer',
+ 'stacker' and 'stapler options'.</its:locNote>
+ </its:locNoteRule>
+ </its:rules>
+ </head>
+ <body>
+ <msg id="1">This is a hippoptamus: <img src="hippo.png" alt="Hippo in the Chobe River"/>.</msg>
+ <msg id="2">This is an elephant: <img src="elephants.png" alt="Elephants taking a mud bath"/>.</msg>
+ <msg id="DisableInfo">The {0} has been disabled.</msg>
+ </body>
+</msgList>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote7xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote7xml.xml
index c4746a6..65021f8 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote7xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote7xml.xml
@@ -1,20 +1,20 @@
-<Res>
-<prolog>
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
-<its:translateRule selector="//msg/notes" translate="no"/>
-<its:locNoteRule locNoteType="description" selector="//msg/data" locNotePointer="../notes"/>
-</its:rules>
-</prolog>
-<body>
-<msg id="FileNotFound">
-<notes>
-Indicates that the resource file {0} could not be loaded.
-</notes>
-<data>Cannot find the file {0}.</data>
-</msg>
-<msg id="DivByZero">
-<notes>A division by 0 was going to be computed.</notes>
-<data>Invalid parameter.</data>
-</msg>
-</body>
-</Res>
+<Res>
+<prolog>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+<its:translateRule selector="//msg/notes" translate="no"/>
+<its:locNoteRule locNoteType="description" selector="//msg/data" locNotePointer="../notes"/>
+</its:rules>
+</prolog>
+<body>
+<msg id="FileNotFound">
+<notes>
+Indicates that the resource file {0} could not be loaded.
+</notes>
+<data>Cannot find the file {0}.</data>
+</msg>
+<msg id="DivByZero">
+<notes>A division by 0 was going to be computed.</notes>
+<data>Invalid parameter.</data>
+</msg>
+</body>
+</Res>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote8xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote8xml.xml
index e9a3e19..41049c9 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote8xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote8xml.xml
@@ -1,17 +1,17 @@
-<?xml version="1.0"?>
-<Res xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
- <body its:locNote="The variable {0} is the name of the host.">
- <msg id="HostNotFound">
- <data>Host {0} cannot be found.</data>
- </msg>
- <msg id="HostDisconnected">
- <data>The connection with {0} has been lost.</data>
- </msg>
- <msg id="FileNotFound">
- <data its:locNote="{0} is a filename" its:locNoteType="alert">{0} not found.</data>
- </msg>
- <msg id="CannotLog">
- <data its:locNoteRef="myLocNotes.htm#CannotLog" its:locNoteType="alert">Cannot log with this username.</data>
- </msg>
- </body>
-</Res>
+<?xml version="1.0"?>
+<Res xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
+ <body its:locNote="The variable {0} is the name of the host.">
+ <msg id="HostNotFound">
+ <data>Host {0} cannot be found.</data>
+ </msg>
+ <msg id="HostDisconnected">
+ <data>The connection with {0} has been lost.</data>
+ </msg>
+ <msg id="FileNotFound">
+ <data its:locNote="{0} is a filename" its:locNoteType="alert">{0} not found.</data>
+ </msg>
+ <msg id="CannotLog">
+ <data its:locNoteRef="myLocNotes.htm#CannotLog" its:locNoteType="alert">Cannot log with this username.</data>
+ </msg>
+ </body>
+</Res>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote9xml.xml b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote9xml.xml
index 8835b06..c726ea1 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote9xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/localizationnote/xml/locnote9xml.xml
@@ -1,8 +1,8 @@
-<?xml version="1.0"?>
-<Doc xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
- <body>
- <p><its:span locNote="If possible keep the non-English terms in the translated version too">Everything started when
- Zebulon discovered that he had a <its:span locNoteRef="http://en.wikipedia.org/wiki/Doppelganger">doppelgänger</its:span>
- who was a <b>serious</b> baseball <its:span locNoteRef="http://en.wikipedia.org/wiki/Aficionado">aficionado</its:span>.</its:span></p>
- </body>
-</Doc>
+<?xml version="1.0"?>
+<Doc xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
+ <body>
+ <p><its:span locNote="If possible keep the non-English terms in the translated version too">Everything started when
+ Zebulon discovered that he had a <its:span locNoteRef="http://en.wikipedia.org/wiki/Doppelganger">doppelgänger</its:span>
+ who was a <b>serious</b> baseball <its:span locNoteRef="http://en.wikipedia.org/wiki/Aficionado">aficionado</its:span>.</its:span></p>
+ </body>
+</Doc>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace1xml.xml b/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace1xml.xml
index 98ee033..16330a2 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace1xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace1xml.xml
@@ -1,13 +1,13 @@
-<book xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
- <info>
- <its:rules version="2.0">
- <its:preserveSpaceRule selector="//verse" space="preserve"/>
- </its:rules>
- </info>
- <verse>
- 'Twas brillig, and the slithy toves
- Did gyre and gimble in the wabe;
- All mimsy were the borogoves,
- And the mome raths outgrabe.
- </verse>
-</book>
+<book xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
+ <info>
+ <its:rules version="2.0">
+ <its:preserveSpaceRule selector="//verse" space="preserve"/>
+ </its:rules>
+ </info>
+ <verse>
+ 'Twas brillig, and the slithy toves
+ Did gyre and gimble in the wabe;
+ All mimsy were the borogoves,
+ And the mome raths outgrabe.
+ </verse>
+</book>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace2xml.xml b/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace2xml.xml
index ea95a95..b131356 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace2xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace2xml.xml
@@ -1,8 +1,8 @@
-<book xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
- <verse xml:space="preserve">
- 'Twas brillig, and the slithy toves
- Did gyre and gimble in the wabe;
- All mimsy were the borogoves,
- And the mome raths outgrabe.
- </verse>
-</book>
+<book xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
+ <verse xml:space="preserve">
+ 'Twas brillig, and the slithy toves
+ Did gyre and gimble in the wabe;
+ All mimsy were the borogoves,
+ And the mome raths outgrabe.
+ </verse>
+</book>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace3xml.xml b/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace3xml.xml
index 46181f6..e16d438 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace3xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace3xml.xml
@@ -1,11 +1,11 @@
-<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="preservespace3xmlrules.xml"/>
- </info>
- <verse>
-'Twas brillig, and the slithy toves
- Did gyre and gimble in the wabe;
- All mimsy were the borogoves,
- And the mome raths outgrabe.
- </verse>
-</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="preservespace3xmlrules.xml"/>
+ </info>
+ <verse>
+'Twas brillig, and the slithy toves
+ Did gyre and gimble in the wabe;
+ All mimsy were the borogoves,
+ And the mome raths outgrabe.
+ </verse>
+</book>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace3xmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace3xmlrules.xml
index e9750c8..8b05d41 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace3xmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace3xmlrules.xml
@@ -1,3 +1,3 @@
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:preserveSpaceRule selector="//verse" space="preserve"/>
- </its:rules>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:preserveSpaceRule selector="//verse" space="preserve"/>
+ </its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace4xml.xml b/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace4xml.xml
index b725dd6..a9d919d 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace4xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace4xml.xml
@@ -1,8 +1,8 @@
-<book xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
- <its:span xml:space="preserve">
- 'Twas brillig, and the slithy toves
- Did gyre and gimble in the wabe;
- All mimsy were the borogoves,
- And the mome raths outgrabe.
- </its:span >
-</book>
+<book xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
+ <its:span xml:space="preserve">
+ 'Twas brillig, and the slithy toves
+ Did gyre and gimble in the wabe;
+ All mimsy were the borogoves,
+ And the mome raths outgrabe.
+ </its:span >
+</book>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace5xml.xml b/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace5xml.xml
index 875476d..57b47e1 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace5xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace5xml.xml
@@ -1,14 +1,14 @@
-<book xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
- <info>
- <its:rules version="2.0">
- <its:param name="preserverspaceParam">firstverse</its:param>
- <its:preserveSpaceRule selector="//verse[@id=$preserverspaceParam]" space="preserve"/>
- </its:rules>
- </info>
- <verse id="firstverse">
- 'Twas brillig, and the slithy toves
- Did gyre and gimble in the wabe;
- All mimsy were the borogoves,
- And the mome raths outgrabe.
- </verse>
-</book>
+<book xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
+ <info>
+ <its:rules version="2.0">
+ <its:param name="preserverspaceParam">firstverse</its:param>
+ <its:preserveSpaceRule selector="//verse[@id=$preserverspaceParam]" space="preserve"/>
+ </its:rules>
+ </info>
+ <verse id="firstverse">
+ 'Twas brillig, and the slithy toves
+ Did gyre and gimble in the wabe;
+ All mimsy were the borogoves,
+ And the mome raths outgrabe.
+ </verse>
+</book>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace6xml.xml b/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace6xml.xml
index 0b622cd..ac3cc62 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace6xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace6xml.xml
@@ -1,9 +1,9 @@
-<book xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
-<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="preservespace6xmlrules.xml"/>
- <verse id="firstverse">
- 'Twas brillig, and the slithy toves
- Did gyre and gimble in the wabe;
- All mimsy were the borogoves,
- And the mome raths outgrabe.
- </verse>
-</book>
+<book xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
+<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="preservespace6xmlrules.xml"/>
+ <verse id="firstverse">
+ 'Twas brillig, and the slithy toves
+ Did gyre and gimble in the wabe;
+ All mimsy were the borogoves,
+ And the mome raths outgrabe.
+ </verse>
+</book>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace6xmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace6xmlrules.xml
index bc95f99..d626b57 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace6xmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/preservespace/xml/preservespace6xmlrules.xml
@@ -1,4 +1,4 @@
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:param name="preserverspaceParam">firstverse</its:param>
- <its:preserveSpaceRule selector="//verse[@id=$preserverspaceParam]" space="preserve"/>
- </its:rules>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:param name="preserverspaceParam">firstverse</its:param>
+ <its:preserveSpaceRule selector="//verse[@id=$preserverspaceParam]" space="preserve"/>
+ </its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate1html.html b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate1html.html
index 8a51745..e31fcae 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate1html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate1html.html
@@ -1,17 +1,17 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset=utf-8>
- <title>HTML Link Example</title>
- <link href="translate1htmlrules.xml" rel="its-rules"/>
- </head>
- <body>
- <img src="smiley.gif" alt="Smiley face" width="42" height="42"/>
- <p id="100" title="Text">
- This is the first paragraph. It has some
- <code>un-translatable code</code>
- .
- </p>
- </body>
-</html>
-
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset=utf-8>
+ <title>HTML Link Example</title>
+ <link href="translate1htmlrules.xml" rel="its-rules"/>
+ </head>
+ <body>
+ <img src="smiley.gif" alt="Smiley face" width="42" height="42"/>
+ <p id="100" title="Text">
+ This is the first paragraph. It has some
+ <code>un-translatable code</code>
+ .
+ </p>
+ </body>
+</html>
+
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate1htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate1htmlrules.xml
index 53c5650..bd51763 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate1htmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate1htmlrules.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:translateRule selector="//h:code" translate="no"/>
- <its:translateRule selector="//h:link" translate="no"/>
-</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:translateRule selector="//h:code" translate="no"/>
+ <its:translateRule selector="//h:link" translate="no"/>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate2html.html b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate2html.html
index 469e61b..576eaea 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate2html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate2html.html
@@ -1,18 +1,18 @@
-<!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset=utf-8>
- <title>The Life of a Simple Man</title>
- </head>
- <body>
- <p>
- <img src="smiley.gif" alt="Smiley face" width="42" height="42"/>
- Everything started when Zebulon discovered that he had a
- <span translate="NO">doppelgänger</span>
- who was a serious baseball
- <span translate="nO">aficionado</span>
- .
- </p>
- </body>
-</html>
-
+<!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset=utf-8>
+ <title>The Life of a Simple Man</title>
+ </head>
+ <body>
+ <p>
+ <img src="smiley.gif" alt="Smiley face" width="42" height="42"/>
+ Everything started when Zebulon discovered that he had a
+ <span translate="NO">doppelgänger</span>
+ who was a serious baseball
+ <span translate="nO">aficionado</span>
+ .
+ </p>
+ </body>
+</html>
+
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate3html.html b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate3html.html
index 43b31c4..eece21e 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate3html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate3html.html
@@ -1,23 +1,23 @@
-<!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8>
- <title>EXAMPLE</title>
- <link href="translate3htmlrules.xml" rel="its-rules"/>
- </head>
- <body>
- <span translate="yes">The Life of a Simple Man</span>
- <!--
- Note that the contents of <b> and <span> should end up *not* translatable with these settings
- -->
- <section title="section one">
- <p>
- Everything started when Zebulon discovered that he had a
- <span>doppelgänger</span>
- who was a serious baseball
- <span>aficionado</span>
- .
- </p>
- </section>
- </body>
- </html>
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <title>EXAMPLE</title>
+ <link href="translate3htmlrules.xml" rel="its-rules"/>
+ </head>
+ <body>
+ <span translate="yes">The Life of a Simple Man</span>
+ <!--
+ Note that the contents of <b> and <span> should end up *not* translatable with these settings
+ -->
+ <section title="section one">
+ <p>
+ Everything started when Zebulon discovered that he had a
+ <span>doppelgänger</span>
+ who was a serious baseball
+ <span>aficionado</span>
+ .
+ </p>
+ </section>
+ </body>
+ </html>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate3htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate3htmlrules.xml
index b90e6c1..6193ec0 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate3htmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate3htmlrules.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:translateRule selector="//h:*" translate="no"/>
-<its:translateRule selector="//h:p" translate="yes"/>
-</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:translateRule selector="//h:*" translate="no"/>
+<its:translateRule selector="//h:p" translate="yes"/>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate4html.html b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate4html.html
index 5378561..4baa943 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate4html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate4html.html
@@ -1,23 +1,23 @@
-<!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8>
- <title>EXAMPLE</title>
- <link href="translate4htmlrules.xml" rel="its-rules"/>
- </head>
- <body>
- <span translate="yes">The Life of a Simple Man</span>
- <!--
- Note that the contents of <b> and <span> should end up *not* translatable with these settings
- -->
- <section>
- <p>
- Everything started when Zebulon discovered that he had a
- <span>doppelgänger</span>
- who was a serious baseball
- <span>aficionado</span>
- .
- </p>
- </section>
- </body>
- </html>
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <title>EXAMPLE</title>
+ <link href="translate4htmlrules.xml" rel="its-rules"/>
+ </head>
+ <body>
+ <span translate="yes">The Life of a Simple Man</span>
+ <!--
+ Note that the contents of <b> and <span> should end up *not* translatable with these settings
+ -->
+ <section>
+ <p>
+ Everything started when Zebulon discovered that he had a
+ <span>doppelgänger</span>
+ who was a serious baseball
+ <span>aficionado</span>
+ .
+ </p>
+ </section>
+ </body>
+ </html>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate4htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate4htmlrules.xml
index e20cc94..c252a2d 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate4htmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate4htmlrules.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:translateRule selector="/h:html" translate="no"/>
-<its:translateRule selector="//h:p" translate="yes"/>
-</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:translateRule selector="/h:html" translate="no"/>
+<its:translateRule selector="//h:p" translate="yes"/>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate5html.html b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate5html.html
index 1cf7b3c..c95d116 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate5html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate5html.html
@@ -1,34 +1,34 @@
-<!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8>
- <title>The ITS Topic</title>
- <link href="translate5htmlrules.xml" rel="its-rules"/>
- </head>
- <body>
- <section>
- <span id="tDataCat">
- <b>Data category</b>
- <cite>
- ITS defines
- <i>data category</i>
- as an abstract concept for a particular type of information for internationalization and localization of XML schemas and documents.
- </cite>
- </span>
- </section>
- <p>
- For the implementation of ITS, apply the rules in the order:
- </p>
- <ul>
- <li>Default</li>
- <li>Rules in the schema</li>
- <li>Rules in the document instance</li>
- <li>Local attributes</li>
- </ul>
- <p>
- <span lang="fr">Et voila !</span>
- The last rule wins.
- </p>
- </body>
- </html>
-
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <title>The ITS Topic</title>
+ <link href="translate5htmlrules.xml" rel="its-rules"/>
+ </head>
+ <body>
+ <section>
+ <span id="tDataCat">
+ <b>Data category</b>
+ <cite>
+ ITS defines
+ <i>data category</i>
+ as an abstract concept for a particular type of information for internationalization and localization of XML schemas and documents.
+ </cite>
+ </span>
+ </section>
+ <p>
+ For the implementation of ITS, apply the rules in the order:
+ </p>
+ <ul>
+ <li>Default</li>
+ <li>Rules in the schema</li>
+ <li>Rules in the document instance</li>
+ <li>Local attributes</li>
+ </ul>
+ <p>
+ <span lang="fr">Et voila !</span>
+ The last rule wins.
+ </p>
+ </body>
+ </html>
+
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate5htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate5htmlrules.xml
index b90e6c1..6193ec0 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate5htmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate5htmlrules.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:translateRule selector="//h:*" translate="no"/>
-<its:translateRule selector="//h:p" translate="yes"/>
-</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:translateRule selector="//h:*" translate="no"/>
+<its:translateRule selector="//h:p" translate="yes"/>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate6html.html b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate6html.html
index 3912a13..a55f8d7 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate6html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate6html.html
@@ -1,34 +1,34 @@
-<!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8>
- <title>The ITS Topic</title>
- <link href="translate6htmlrules.xml" rel="its-rules"/>
- </head>
- <body>
- <section>
- <span id="tDataCat">
- <b>Data category</b>
- <cite>
- ITS defines
- <i>data category</i>
- as an abstract concept for a particular type of information for internationalization and localization of XML schemas and documents.
- </cite>
- </span>
- </section>
- <p>
- For the implementation of ITS, apply the rules in the order:
- </p>
- <ul>
- <li>Default</li>
- <li>Rules in the schema</li>
- <li>Rules in the document instance</li>
- <li>Local attributes</li>
- </ul>
- <p>
- <span lang="fr">Et voila !</span>
- The last rule wins.
- </p>
- </body>
- </html>
-
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <title>The ITS Topic</title>
+ <link href="translate6htmlrules.xml" rel="its-rules"/>
+ </head>
+ <body>
+ <section>
+ <span id="tDataCat">
+ <b>Data category</b>
+ <cite>
+ ITS defines
+ <i>data category</i>
+ as an abstract concept for a particular type of information for internationalization and localization of XML schemas and documents.
+ </cite>
+ </span>
+ </section>
+ <p>
+ For the implementation of ITS, apply the rules in the order:
+ </p>
+ <ul>
+ <li>Default</li>
+ <li>Rules in the schema</li>
+ <li>Rules in the document instance</li>
+ <li>Local attributes</li>
+ </ul>
+ <p>
+ <span lang="fr">Et voila !</span>
+ The last rule wins.
+ </p>
+ </body>
+ </html>
+
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate6htmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate6htmlrules.xml
index e10604a..dadbad1 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate6htmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate6htmlrules.xml
@@ -1,6 +1,6 @@
-<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="tDataCatParam">tDataCat</its:param>
-<its:translateRule selector="//h:*" translate="no"/>
-<its:translateRule selector="//h:p" translate="yes"/>
-<its:translateRule selector="//h:span[@id=$tDataCatParam]" translate="yes"/>
-</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="tDataCatParam">tDataCat</its:param>
+<its:translateRule selector="//h:*" translate="no"/>
+<its:translateRule selector="//h:p" translate="yes"/>
+<its:translateRule selector="//h:span[@id=$tDataCatParam]" translate="yes"/>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate7html.html b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate7html.html
index 8473640..c17322d 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate7html.html
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/html/translate7html.html
@@ -1,19 +1,19 @@
-<!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="translateparam">name</its:param>
- <its:translateRule selector="//h:*[@id=$translateparam]" translate="no"/>
- </its:rules>
-</script>
- <meta charset="utf-8"/>
- <title>Example</title>
- </head>
- <body title="login details">
-<p style="color:green">Login names can only use letters from A to Z (upper or lowercase)
- For example: <code id="name">Huck_Finn</code>.</p>
- </body>
-</html>
-
-
+<!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="translateparam">name</its:param>
+ <its:translateRule selector="//h:*[@id=$translateparam]" translate="no"/>
+ </its:rules>
+</script>
+ <meta charset="utf-8"/>
+ <title>Example</title>
+ </head>
+ <body title="login details">
+<p style="color:green">Login names can only use letters from A to Z (upper or lowercase)
+ For example: <code id="name">Huck_Finn</code>.</p>
+ </body>
+</html>
+
+
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate10xml.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate10xml.xml
index 8051a13..0559c51 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate10xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate10xml.xml
@@ -1,7 +1,7 @@
-<doc>
- <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="translate10xmlrules.xml"/>
- <msg lcid="409" num="1">Create a folder</msg>
- <msg lcid="411" num="1">フォルダーを作成する</msg>
- <msg lcid="407" num="1">Erstellen Sie einen Ordner</msg>
- <msg lcid="408" num="1">Créer un dossier</msg>
-</doc>
+<doc>
+ <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="translate10xmlrules.xml"/>
+ <msg lcid="409" num="1">Create a folder</msg>
+ <msg lcid="411" num="1">フォルダーを作成する</msg>
+ <msg lcid="407" num="1">Erstellen Sie einen Ordner</msg>
+ <msg lcid="408" num="1">Créer un dossier</msg>
+</doc>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate10xmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate10xmlrules.xml
index 3202fda..5b32c69 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate10xmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate10xmlrules.xml
@@ -1,5 +1,5 @@
- <its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its">
- <its:param name="LCID">409</its:param>
- <its:translateRule selector="/doc" translate="no"/>
- <its:translateRule selector="//msg[@lcid=$LCID]" translate="yes"/>
- </its:rules>
+ <its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its">
+ <its:param name="LCID">409</its:param>
+ <its:translateRule selector="/doc" translate="no"/>
+ <its:translateRule selector="//msg[@lcid=$LCID]" translate="yes"/>
+ </its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate1xml.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate1xml.xml
index 997f252..5649d70 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate1xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate1xml.xml
@@ -1,39 +1,39 @@
-<?xml version="1.0"?>
-<myMetaDoc
- xmlns:cml="myChineseMakupLanguage">
- <head>
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:translateRule selector="//img/@alt" translate="yes"/>
- <its:translateRule selector="//*/@title" translate="yes"/>
- <its:translateRule selector="//verbatim" translate="no"/>
- <its:translateRule selector="//verbatim/@*" translate="no"/>
- <its:translateRule selector="//verbatim//*/@*" translate="no"/>
- <its:withinTextRule selector="//img|//verbatim" withinText="yes"/>
- </its:rules>
- </head>
- <body>
- <par>Text with an image: <img alt="Image description" src="img.png"/>.</par>
- <par id="100" title="Text">This is the first paragraph. It has some <verbatim>un-translatable
- code with an image: <img src="test.png" alt="Image description"/></verbatim>.</par>
- <insert xmlns:z="myChineseMakupLanguage" xmlns:i="http://www.w3.org/2005/11/its">
- <z:书籍>
- <z:封面>
- <z:汇集>The Lord of the Rings</z:汇集>
- <z:标题>The Return of the King</z:标题>
- <z:作者>J.R.R. Tolkein</z:作者>
- </z:封面>
- <z:章节 数="1">
- <z:头注>Minas Tirith</z:头注>
- <z:段落识别 id="A34B"><z:姓名>Pippin</z:姓名> looked out from the shelter of <z:姓名>Gandalf</z:姓名>'s cloak.</z:段落识别>
- </z:章节>
- <z:躯>
- <i:rules version="2.0" xmlns:cml="myChineseMakupLanguage">
- <i:translateRule selector="//cml:作者" translate="no"/>
- <i:translateRule selector="//cml:姓名" translate="no"/>
- <i:withinTextRule selector="//cml:姓名" withinText="yes"/>
- </i:rules>
- </z:躯>
- </z:书籍>
- </insert>
- </body>
-</myMetaDoc>
+<?xml version="1.0"?>
+<myMetaDoc
+ xmlns:cml="myChineseMakupLanguage">
+ <head>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:translateRule selector="//img/@alt" translate="yes"/>
+ <its:translateRule selector="//*/@title" translate="yes"/>
+ <its:translateRule selector="//verbatim" translate="no"/>
+ <its:translateRule selector="//verbatim/@*" translate="no"/>
+ <its:translateRule selector="//verbatim//*/@*" translate="no"/>
+ <its:withinTextRule selector="//img|//verbatim" withinText="yes"/>
+ </its:rules>
+ </head>
+ <body>
+ <par>Text with an image: <img alt="Image description" src="img.png"/>.</par>
+ <par id="100" title="Text">This is the first paragraph. It has some <verbatim>un-translatable
+ code with an image: <img src="test.png" alt="Image description"/></verbatim>.</par>
+ <insert xmlns:z="myChineseMakupLanguage" xmlns:i="http://www.w3.org/2005/11/its">
+ <z:书籍>
+ <z:封面>
+ <z:汇集>The Lord of the Rings</z:汇集>
+ <z:标题>The Return of the King</z:标题>
+ <z:作者>J.R.R. Tolkein</z:作者>
+ </z:封面>
+ <z:章节 数="1">
+ <z:头注>Minas Tirith</z:头注>
+ <z:段落识别 id="A34B"><z:姓名>Pippin</z:姓名> looked out from the shelter of <z:姓名>Gandalf</z:姓名>'s cloak.</z:段落识别>
+ </z:章节>
+ <z:躯>
+ <i:rules version="2.0" xmlns:cml="myChineseMakupLanguage">
+ <i:translateRule selector="//cml:作者" translate="no"/>
+ <i:translateRule selector="//cml:姓名" translate="no"/>
+ <i:withinTextRule selector="//cml:姓名" withinText="yes"/>
+ </i:rules>
+ </z:躯>
+ </z:书籍>
+ </insert>
+ </body>
+</myMetaDoc>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate2xml.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate2xml.xml
index 46a48b6..68bfd3f 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate2xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate2xml.xml
@@ -1,10 +1,10 @@
-<?xml version="1.0"?>
-<myDoc>
- <head>
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"
- xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="translate2xmlrules.xml"/>
- </head>
- <body>
- <par id="100" title="Text">This is the first paragraph. It has some <code>un-translatable code</code>.</par>
- </body>
-</myDoc>
+<?xml version="1.0"?>
+<myDoc>
+ <head>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"
+ xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="translate2xmlrules.xml"/>
+ </head>
+ <body>
+ <par id="100" title="Text">This is the first paragraph. It has some <code>un-translatable code</code>.</par>
+ </body>
+</myDoc>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate2xmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate2xmlrules.xml
index e594bb3..69de855 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate2xmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate2xmlrules.xml
@@ -1,5 +1,5 @@
-<?xml version="1.0"?>
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:translateRule selector="//code" translate="no"/>
- <its:translateRule selector="//*/@title" translate="yes"/>
-</its:rules>
+<?xml version="1.0"?>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:translateRule selector="//code" translate="no"/>
+ <its:translateRule selector="//*/@title" translate="yes"/>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate3xml.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate3xml.xml
index 8bfcc66..fcccc69 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate3xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate3xml.xml
@@ -1,13 +1,13 @@
-<?xml version="1.0"?>
-<myDoc>
- <head>
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"
- xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="translate3xmlrules.xml">
- <its:translateRule selector="//par[@id='101']/@title" translate="no"/>
- </its:rules>
- </head>
- <body>
- <par id="100" title="Text">This is the first paragraph. It has some <code>un-translatable code</code>.</par>
- <par id="101" title="Not extractable text">Some additional text.</par>
- </body>
-</myDoc>
+<?xml version="1.0"?>
+<myDoc>
+ <head>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"
+ xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="translate3xmlrules.xml">
+ <its:translateRule selector="//par[@id='101']/@title" translate="no"/>
+ </its:rules>
+ </head>
+ <body>
+ <par id="100" title="Text">This is the first paragraph. It has some <code>un-translatable code</code>.</par>
+ <par id="101" title="Not extractable text">Some additional text.</par>
+ </body>
+</myDoc>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate3xmlrules.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate3xmlrules.xml
index 9794dba..0a45c97 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate3xmlrules.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate3xmlrules.xml
@@ -1,6 +1,6 @@
-<?xml version="1.0"?>
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:translateRule selector="//head" translate="no"/>
- <its:translateRule selector="//code" translate="no"/>
- <its:translateRule selector="//*/@title" translate="yes"/>
-</its:rules>
+<?xml version="1.0"?>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:translateRule selector="//head" translate="no"/>
+ <its:translateRule selector="//code" translate="no"/>
+ <its:translateRule selector="//*/@title" translate="yes"/>
+</its:rules>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate4xml.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate4xml.xml
index 336951c..ac26ccc 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate4xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate4xml.xml
@@ -1,11 +1,11 @@
-<book xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
- <head>
- <title>The Life of a Simple Man</title>
- </head>
- <body>
- <img src="smiley.gif" alt="Smiley face" width="42" height="42"/>
- <p>Everything started when Zebulon discovered that he had
- a <fexp its:translate="no">doppelgänger</fexp> who was a
- serious baseball <fexp its:translate="no">aficionado</fexp>.</p>
- </body>
-</book>
+<book xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
+ <head>
+ <title>The Life of a Simple Man</title>
+ </head>
+ <body>
+ <img src="smiley.gif" alt="Smiley face" width="42" height="42"/>
+ <p>Everything started when Zebulon discovered that he had
+ a <fexp its:translate="no">doppelgänger</fexp> who was a
+ serious baseball <fexp its:translate="no">aficionado</fexp>.</p>
+ </body>
+</book>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate5xml.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate5xml.xml
index 23d437d..19acae2 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate5xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate5xml.xml
@@ -1,13 +1,13 @@
-<book xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="EX-ways-to-use-its-5.xsd"
- xmlns:its="http://www.w3.org/2005/11/its"
- its:version="2.0">
- <head>
- <title>The Life of a Simple Man</title>
- </head>
- <body>
- <p>Everything started when Zebulon discovered that he had
- a <its:span translate="no">doppelgänger</its:span> who was a
- serious baseball <its:span translate="no">aficionado</its:span>.</p>
- </body>
-</book>
+<book xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="EX-ways-to-use-its-5.xsd"
+ xmlns:its="http://www.w3.org/2005/11/its"
+ its:version="2.0">
+ <head>
+ <title>The Life of a Simple Man</title>
+ </head>
+ <body>
+ <p>Everything started when Zebulon discovered that he had
+ a <its:span translate="no">doppelgänger</its:span> who was a
+ serious baseball <its:span translate="no">aficionado</its:span>.</p>
+ </body>
+</book>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate6xml.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate6xml.xml
index ecec0ba..28bbea1 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate6xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate6xml.xml
@@ -1,19 +1,19 @@
-<doc xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
- <head>
- <its:rules version="2.0">
- <its:translateRule selector="//*" translate="no"/>
- <its:translateRule selector="//p" translate="yes"/>
- </its:rules>
- </head>
- <info>
- <item type="title" its:translate="yes">The Life of a <b>Simple Man</b></item>
- <!-- Note that the contents of <b> and <span> should end up
- *not* translatable with these settings -->
- <item type="date-main">Dec-05-2006</item>
- </info>
- <content>
- <p>Everything started when Zebulon discovered that he had
- a <span>doppelgänger</span> who was a
- serious baseball <span>aficionado</span>.</p>
- </content>
-</doc>
+<doc xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
+ <head>
+ <its:rules version="2.0">
+ <its:translateRule selector="//*" translate="no"/>
+ <its:translateRule selector="//p" translate="yes"/>
+ </its:rules>
+ </head>
+ <info>
+ <item type="title" its:translate="yes">The Life of a <b>Simple Man</b></item>
+ <!-- Note that the contents of <b> and <span> should end up
+ *not* translatable with these settings -->
+ <item type="date-main">Dec-05-2006</item>
+ </info>
+ <content>
+ <p>Everything started when Zebulon discovered that he had
+ a <span>doppelgänger</span> who was a
+ serious baseball <span>aficionado</span>.</p>
+ </content>
+</doc>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate7xml.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate7xml.xml
index 751d7b7..20e9ea7 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate7xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate7xml.xml
@@ -1,19 +1,19 @@
-<doc xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
- <head>
- <its:rules version="2.0">
- <its:translateRule selector="/doc" translate="no"/>
- <its:translateRule selector="//p" translate="yes"/>
- </its:rules>
- </head>
- <info>
- <item type="title" its:translate="yes">The Life of a <b>Simple Man</b></item>
- <!-- Note that the contents of <b> and <span> should end up
- translatable with these settings -->
- <item type="date-main">Dec-05-2006</item>
- </info>
- <content>
- <p>Everything started when Zebulon discovered that he had
- a <span>doppelgänger</span> who was a
- serious baseball <span>aficionado</span>.</p>
- </content>
-</doc>
+<doc xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
+ <head>
+ <its:rules version="2.0">
+ <its:translateRule selector="/doc" translate="no"/>
+ <its:translateRule selector="//p" translate="yes"/>
+ </its:rules>
+ </head>
+ <info>
+ <item type="title" its:translate="yes">The Life of a <b>Simple Man</b></item>
+ <!-- Note that the contents of <b> and <span> should end up
+ translatable with these settings -->
+ <item type="date-main">Dec-05-2006</item>
+ </info>
+ <content>
+ <p>Everything started when Zebulon discovered that he had
+ a <span>doppelgänger</span> who was a
+ serious baseball <span>aficionado</span>.</p>
+ </content>
+</doc>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate8xml.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate8xml.xml
index c879286..78f6cd5 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate8xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate8xml.xml
@@ -1,28 +1,28 @@
-<topic id="myTopic">
- <title>The ITS Topic</title>
- <prolog>
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:translateRule selector="//*" translate="no"/>
- <its:translateRule selector="//p" translate="yes"/>
- <!-- With these rules only the text "For the implementation of ITS, apply the rules in the order:"
- and " The last rule wins." should end up translatable -->
- </its:rules>
- </prolog>
- <body>
- <dl>
- <dlentry id="tDataCat">
- <dt>Data category</dt>
- <dd>ITS defines <term>data category</term> as an abstract concept for a particular
- type of information for internationalization and localization of XML schemas and documents.</dd>
- </dlentry>
- </dl>
- <p>For the implementation of ITS, apply the rules in the order:</p>
- <ul>
- <li>Default</li>
- <li>Rules in the schema</li>
- <li>Rules in the document instance</li>
- <li>Local attributes</li>
- </ul>
- <p><ph xml:lang="fr">Et voilà !</ph> The last rule wins.</p>
- </body>
-</topic>
+<topic id="myTopic">
+ <title>The ITS Topic</title>
+ <prolog>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:translateRule selector="//*" translate="no"/>
+ <its:translateRule selector="//p" translate="yes"/>
+ <!-- With these rules only the text "For the implementation of ITS, apply the rules in the order:"
+ and " The last rule wins." should end up translatable -->
+ </its:rules>
+ </prolog>
+ <body>
+ <dl>
+ <dlentry id="tDataCat">
+ <dt>Data category</dt>
+ <dd>ITS defines <term>data category</term> as an abstract concept for a particular
+ type of information for internationalization and localization of XML schemas and documents.</dd>
+ </dlentry>
+ </dl>
+ <p>For the implementation of ITS, apply the rules in the order:</p>
+ <ul>
+ <li>Default</li>
+ <li>Rules in the schema</li>
+ <li>Rules in the document instance</li>
+ <li>Local attributes</li>
+ </ul>
+ <p><ph xml:lang="fr">Et voilà !</ph> The last rule wins.</p>
+ </body>
+</topic>
diff --git a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate9xml.xml b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate9xml.xml
index 1c1fe1d..f8606b6 100644
--- a/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate9xml.xml
+++ b/tests/ITS-2.0-Testsuite/inputdata/translate/xml/translate9xml.xml
@@ -1,11 +1,11 @@
-<doc>
- <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:param name="LCID">409</its:param>
- <its:translateRule selector="/doc" translate="no"/>
- <its:translateRule selector="//msg[@lcid=$LCID]" translate="yes"/>
- </its:rules>
- <msg lcid="409" num="1">Create a folder</msg>
- <msg lcid="411" num="1">フォルダーを作成する</msg>
- <msg lcid="407" num="1">Erstellen Sie einen Ordner</msg>
- <msg lcid="40c" num="1">Créer un dossier</msg>
-</doc>
+<doc>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:param name="LCID">409</its:param>
+ <its:translateRule selector="/doc" translate="no"/>
+ <its:translateRule selector="//msg[@lcid=$LCID]" translate="yes"/>
+ </its:rules>
+ <msg lcid="409" num="1">Create a folder</msg>
+ <msg lcid="411" num="1">フォルダーを作成する</msg>
+ <msg lcid="407" num="1">Erstellen Sie einen Ordner</msg>
+ <msg lcid="40c" num="1">Créer un dossier</msg>
+</doc>