summaryrefslogtreecommitdiff
path: root/tests/ITS-2.0-Testsuite/expected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ITS-2.0-Testsuite/expected')
-rw-r--r--tests/ITS-2.0-Testsuite/expected/elementswithintext/html/withintext1htmloutput.txt24
-rw-r--r--tests/ITS-2.0-Testsuite/expected/elementswithintext/html/withintext2htmloutput.txt10
-rw-r--r--tests/ITS-2.0-Testsuite/expected/elementswithintext/html/withintext3htmloutput.txt24
-rw-r--r--tests/ITS-2.0-Testsuite/expected/elementswithintext/html/withintext4htmloutput.txt24
-rw-r--r--tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext1xmloutput.txt17
-rw-r--r--tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext2xmloutput.txt28
-rw-r--r--tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext3xmloutput.txt15
-rw-r--r--tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext4xmloutput.txt15
-rw-r--r--tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext5xmloutput.txt20
-rw-r--r--tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext6xmloutput.txt13
-rw-r--r--tests/ITS-2.0-Testsuite/expected/externalresource/html/externalresource1htmloutput.txt19
-rw-r--r--tests/ITS-2.0-Testsuite/expected/externalresource/html/externalresource2htmloutput.txt21
-rw-r--r--tests/ITS-2.0-Testsuite/expected/externalresource/html/externalresource3htmloutput.txt18
-rw-r--r--tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource1xmloutput.txt17
-rw-r--r--tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource2xmloutput.txt15
-rw-r--r--tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource3xmloutput.txt23
-rw-r--r--tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource4xmloutput.txt19
-rw-r--r--tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource5xmloutput.txt15
-rw-r--r--tests/ITS-2.0-Testsuite/expected/idvalue/html/idvalue1htmloutput.txt15
-rw-r--r--tests/ITS-2.0-Testsuite/expected/idvalue/html/idvalue2htmloutput.txt17
-rw-r--r--tests/ITS-2.0-Testsuite/expected/idvalue/html/idvalue3htmloutput.txt14
-rw-r--r--tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue1xmloutput.txt18
-rw-r--r--tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue2xmloutput.txt6
-rw-r--r--tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue3xmloutput.txt14
-rw-r--r--tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue4xmloutput.txt18
-rw-r--r--tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue5xmloutput.txt22
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localefilter/html/locale1htmloutput.txt12
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localefilter/html/locale2htmloutput.txt10
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localefilter/html/locale3htmloutput.txt12
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localefilter/html/locale4htmloutput.txt11
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale1xmloutput.txt11
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale2xmloutput.txt6
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale3xmloutput.txt9
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale4xmloutput.txt17
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale5xmloutput.txt6
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale6xmloutput.txt15
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale7xmloutput.txt12
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote1htmloutput.txt11
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote2htmloutput.txt17
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote3htmloutput.txt11
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote4htmloutput.txt17
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote5htmloutput.txt21
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote6htmloutput.txt21
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote7htmloutput.txt11
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote8htmloutput.txt21
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote9htmloutput.txt11
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote10xmloutput.txt31
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote11xmloutput.txt19
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote1xmloutput.txt12
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote2xmloutput.txt20
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote3xmloutput.txt11
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote4xmloutput.txt17
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote5xmloutput.txt23
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote6xmloutput.txt29
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote7xmloutput.txt20
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote8xmloutput.txt20
-rw-r--r--tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote9xmloutput.txt11
-rw-r--r--tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace1xmloutput.txt9
-rw-r--r--tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace2xmloutput.txt4
-rw-r--r--tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace3xmloutput.txt7
-rw-r--r--tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace4xmloutput.txt4
-rw-r--r--tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace5xmloutput.txt12
-rw-r--r--tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace6xmloutput.txt8
-rw-r--r--tests/ITS-2.0-Testsuite/expected/translate/html/translate1htmloutput.txt13
-rw-r--r--tests/ITS-2.0-Testsuite/expected/translate/html/translate2htmloutput.txt11
-rw-r--r--tests/ITS-2.0-Testsuite/expected/translate/html/translate3htmloutput.txt15
-rw-r--r--tests/ITS-2.0-Testsuite/expected/translate/html/translate4htmloutput.txt15
-rw-r--r--tests/ITS-2.0-Testsuite/expected/translate/html/translate5htmloutput.txt24
-rw-r--r--tests/ITS-2.0-Testsuite/expected/translate/html/translate6htmloutput.txt24
-rw-r--r--tests/ITS-2.0-Testsuite/expected/translate/html/translate7htmloutput.txt12
-rw-r--r--tests/ITS-2.0-Testsuite/expected/translate/xml/translate10xmloutput.txt17
-rw-r--r--tests/ITS-2.0-Testsuite/expected/translate/xml/translate1xmloutput.txt59
-rw-r--r--tests/ITS-2.0-Testsuite/expected/translate/xml/translate2xmloutput.txt11
-rw-r--r--tests/ITS-2.0-Testsuite/expected/translate/xml/translate3xmloutput.txt17
-rw-r--r--tests/ITS-2.0-Testsuite/expected/translate/xml/translate4xmloutput.txt10
-rw-r--r--tests/ITS-2.0-Testsuite/expected/translate/xml/translate5xmloutput.txt11
-rw-r--r--tests/ITS-2.0-Testsuite/expected/translate/xml/translate6xmloutput.txt22
-rw-r--r--tests/ITS-2.0-Testsuite/expected/translate/xml/translate7xmloutput.txt22
-rw-r--r--tests/ITS-2.0-Testsuite/expected/translate/xml/translate8xmloutput.txt28
-rw-r--r--tests/ITS-2.0-Testsuite/expected/translate/xml/translate9xmloutput.txt23
80 files changed, 1314 insertions, 0 deletions
diff --git a/tests/ITS-2.0-Testsuite/expected/elementswithintext/html/withintext1htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/elementswithintext/html/withintext1htmloutput.txt
new file mode 100644
index 0000000..4436193
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/elementswithintext/html/withintext1htmloutput.txt
@@ -0,0 +1,24 @@
+/html withinText="no"
+/html/head[1] withinText="no"
+/html/head[1]/meta[1] withinText="no"
+/html/head[1]/meta[1]/@charset
+/html/head[1]/link[1] withinText="no"
+/html/head[1]/link[1]/@href
+/html/head[1]/link[1]/@rel
+/html/body[1] withinText="no"
+/html/body[1]/section[1] withinText="no"
+/html/body[1]/section[1]/title[1] withinText="no"
+/html/body[1]/section[1]/span[1] withinText="no"
+/html/body[1]/section[1]/span[1]/@itemref
+/html/body[1]/section[1]/span[2] withinText="no"
+/html/body[1]/section[1]/span[2]/@itemref
+/html/body[1]/p[1] withinText="no"
+/html/body[1]/p[1]/cite[1] withinText="nested"
+/html/body[1]/p[1]/span[1] withinText="yes"
+/html/body[1]/p[1]/span[1]/@itemref
+/html/body[1]/p[2] withinText="no"
+/html/body[1]/p[2]/img[1] withinText="yes"
+/html/body[1]/p[2]/img[1]/@alt
+/html/body[1]/p[2]/img[1]/@src
+/html/body[1]/p[3] withinText="no"
+/html/body[1]/p[3]/em[1] withinText="yes"
diff --git a/tests/ITS-2.0-Testsuite/expected/elementswithintext/html/withintext2htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/elementswithintext/html/withintext2htmloutput.txt
new file mode 100644
index 0000000..e1e535e
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/elementswithintext/html/withintext2htmloutput.txt
@@ -0,0 +1,10 @@
+/html withinText="no"
+/html/@lang
+/html/head[1] withinText="no"
+/html/head[1]/meta[1] withinText="no"
+/html/head[1]/meta[1]/@charset
+/html/head[1]/title[1] withinText="no"
+/html/body[1] withinText="no"
+/html/body[1]/p[1] withinText="no"
+/html/body[1]/p[1]/span[1] withinText="yes"
+/html/body[1]/p[1]/span[1]/@its-within-text
diff --git a/tests/ITS-2.0-Testsuite/expected/elementswithintext/html/withintext3htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/elementswithintext/html/withintext3htmloutput.txt
new file mode 100644
index 0000000..4436193
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/elementswithintext/html/withintext3htmloutput.txt
@@ -0,0 +1,24 @@
+/html withinText="no"
+/html/head[1] withinText="no"
+/html/head[1]/meta[1] withinText="no"
+/html/head[1]/meta[1]/@charset
+/html/head[1]/link[1] withinText="no"
+/html/head[1]/link[1]/@href
+/html/head[1]/link[1]/@rel
+/html/body[1] withinText="no"
+/html/body[1]/section[1] withinText="no"
+/html/body[1]/section[1]/title[1] withinText="no"
+/html/body[1]/section[1]/span[1] withinText="no"
+/html/body[1]/section[1]/span[1]/@itemref
+/html/body[1]/section[1]/span[2] withinText="no"
+/html/body[1]/section[1]/span[2]/@itemref
+/html/body[1]/p[1] withinText="no"
+/html/body[1]/p[1]/cite[1] withinText="nested"
+/html/body[1]/p[1]/span[1] withinText="yes"
+/html/body[1]/p[1]/span[1]/@itemref
+/html/body[1]/p[2] withinText="no"
+/html/body[1]/p[2]/img[1] withinText="yes"
+/html/body[1]/p[2]/img[1]/@alt
+/html/body[1]/p[2]/img[1]/@src
+/html/body[1]/p[3] withinText="no"
+/html/body[1]/p[3]/em[1] withinText="yes"
diff --git a/tests/ITS-2.0-Testsuite/expected/elementswithintext/html/withintext4htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/elementswithintext/html/withintext4htmloutput.txt
new file mode 100644
index 0000000..f060955
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/elementswithintext/html/withintext4htmloutput.txt
@@ -0,0 +1,24 @@
+/html withinText="no"
+/html/head[1] withinText="no"
+/html/head[1]/script[1] withinText="no"
+/html/head[1]/script[1]/@type
+/html/head[1]/meta[1] withinText="no"
+/html/head[1]/meta[1]/@charset
+/html/body[1] withinText="no"
+/html/body[1]/section[1] withinText="no"
+/html/body[1]/section[1]/title[1] withinText="no"
+/html/body[1]/section[1]/span[1] withinText="no"
+/html/body[1]/section[1]/span[1]/@itemref
+/html/body[1]/section[1]/span[2] withinText="no"
+/html/body[1]/section[1]/span[2]/@itemref
+/html/body[1]/p[1] withinText="no"
+/html/body[1]/p[1]/cite[1] withinText="nested"
+/html/body[1]/p[1]/span[1] withinText="yes"
+/html/body[1]/p[1]/span[1]/@itemref
+/html/body[1]/p[2] withinText="no"
+/html/body[1]/p[2]/img[1] withinText="yes"
+/html/body[1]/p[2]/img[1]/@alt
+/html/body[1]/p[2]/img[1]/@src
+/html/body[1]/p[3] withinText="yes"
+/html/body[1]/p[3]/@id
+/html/body[1]/p[3]/em[1] withinText="yes"
diff --git a/tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext1xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext1xmloutput.txt
new file mode 100644
index 0000000..d1531d0
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext1xmloutput.txt
@@ -0,0 +1,17 @@
+/doc withinText="no"
+/doc/head[1] withinText="no"
+/doc/head[1]/its:rules[1] withinText="no"
+/doc/head[1]/its:rules[1]/@version
+/doc/head[1]/its:rules[1]/its:withinTextRule[1] withinText="no"
+/doc/head[1]/its:rules[1]/its:withinTextRule[1]/@selector
+/doc/head[1]/its:rules[1]/its:withinTextRule[1]/@withinText
+/doc/head[1]/its:rules[1]/its:withinTextRule[2] withinText="no"
+/doc/head[1]/its:rules[1]/its:withinTextRule[2]/@selector
+/doc/head[1]/its:rules[1]/its:withinTextRule[2]/@withinText
+/doc/body[1] withinText="no"
+/doc/body[1]/p[1] withinText="no"
+/doc/body[1]/p[1]/b[1] withinText="yes"
+/doc/body[1]/p[1]/i[1] withinText="yes"
+/doc/body[1]/p[1]/u[1] withinText="yes"
+/doc/body[1]/p[2] withinText="no"
+/doc/body[1]/p[2]/fn[1] withinText="nested"
diff --git a/tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext2xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext2xmloutput.txt
new file mode 100644
index 0000000..2b90e8e
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext2xmloutput.txt
@@ -0,0 +1,28 @@
+/myDocument withinText="no"
+/myDocument/@xml:lang
+/myDocument/prolog[1] withinText="no"
+/myDocument/prolog[1]/its:rules[1] withinText="no"
+/myDocument/prolog[1]/its:rules[1]/@version
+/myDocument/prolog[1]/its:rules[1]/@xlink:href
+/myDocument/prolog[1]/its:rules[1]/its:withinTextRule[1] withinText="no"
+/myDocument/prolog[1]/its:rules[1]/its:withinTextRule[1]/@selector
+/myDocument/prolog[1]/its:rules[1]/its:withinTextRule[1]/@withinText
+/myDocument/prolog[1]/author[1] withinText="no"
+/myDocument/prolog[1]/version[1] withinText="no"
+/myDocument/prolog[1]/keywords[1] withinText="no"
+/myDocument/prolog[1]/keywords[1]/kw[1] withinText="no"
+/myDocument/prolog[1]/keywords[1]/kw[2] withinText="no"
+/myDocument/prolog[1]/storageKey[1] withinText="no"
+/myDocument/content[1] withinText="no"
+/myDocument/content[1]/section[1] withinText="no"
+/myDocument/content[1]/section[1]/title[1] withinText="no"
+/myDocument/content[1]/section[1]/p[1] withinText="no"
+/myDocument/content[1]/section[1]/p[1]/fnote[1] withinText="nested"
+/myDocument/content[1]/section[1]/p[1]/kw[1] withinText="yes"
+/myDocument/content[1]/section[1]/p[2] withinText="no"
+/myDocument/content[1]/section[1]/p[2]/img[1] withinText="yes"
+/myDocument/content[1]/section[1]/p[2]/img[1]/@alt
+/myDocument/content[1]/section[1]/p[2]/img[1]/@src
+/myDocument/content[1]/footer[1] withinText="no"
+/myDocument/content[1]/footer[1]/p[1] withinText="no"
+/myDocument/content[1]/footer[1]/p[1]/em[1] withinText="yes"
diff --git a/tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext3xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext3xmloutput.txt
new file mode 100644
index 0000000..5ff5c95
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext3xmloutput.txt
@@ -0,0 +1,15 @@
+/text withinText="no"
+/text/@its:version
+/text/prolog[1] withinText="no"
+/text/prolog[1]/title[1] withinText="no"
+/text/prolog[1]/title[1]/@its:withinText
+/text/prolog[1]/author[1] withinText="no"
+/text/prolog[1]/author[1]/@its:withinText
+/text/prolog[1]/keywords[1] withinText="no"
+/text/prolog[1]/keywords[1]/@its:withinText
+/text/body[1] withinText="no"
+/text/body[1]/p[1] withinText="no"
+/text/body[1]/p[1]/title[1] withinText="yes"
+/text/body[1]/p[1]/title[1]/@its:withinText
+/text/body[1]/p[1]/author[1] withinText="yes"
+/text/body[1]/p[1]/author[1]/@its:withinText
diff --git a/tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext4xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext4xmloutput.txt
new file mode 100644
index 0000000..9c31705
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext4xmloutput.txt
@@ -0,0 +1,15 @@
+/text withinText="no"
+/text/@its:version
+/text/prolog[1] withinText="no"
+/text/prolog[1]/its:span[1] withinText="no"
+/text/prolog[1]/its:span[1]/@withinText
+/text/prolog[1]/its:span[2] withinText="no"
+/text/prolog[1]/its:span[2]/@withinText
+/text/prolog[1]/its:span[3] withinText="no"
+/text/prolog[1]/its:span[3]/@withinText
+/text/body[1] withinText="no"
+/text/body[1]/p[1] withinText="no"
+/text/body[1]/p[1]/its:span[1] withinText="yes"
+/text/body[1]/p[1]/its:span[1]/@withinText
+/text/body[1]/p[1]/its:span[2] withinText="yes"
+/text/body[1]/p[1]/its:span[2]/@withinText
diff --git a/tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext5xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext5xmloutput.txt
new file mode 100644
index 0000000..c452beb
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext5xmloutput.txt
@@ -0,0 +1,20 @@
+/doc withinText="no"
+/doc/head[1] withinText="no"
+/doc/head[1]/its:rules[1] withinText="no"
+/doc/head[1]/its:rules[1]/@version
+/doc/head[1]/its:rules[1]/its:param[1] withinText="no"
+/doc/head[1]/its:rules[1]/its:param[1]/@name
+/doc/head[1]/its:rules[1]/its:withinTextRule[1] withinText="no"
+/doc/head[1]/its:rules[1]/its:withinTextRule[1]/@selector
+/doc/head[1]/its:rules[1]/its:withinTextRule[1]/@withinText
+/doc/head[1]/its:rules[1]/its:withinTextRule[2] withinText="no"
+/doc/head[1]/its:rules[1]/its:withinTextRule[2]/@selector
+/doc/head[1]/its:rules[1]/its:withinTextRule[2]/@withinText
+/doc/body[1] withinText="no"
+/doc/body[1]/p[1] withinText="no"
+/doc/body[1]/p[1]/b[1] withinText="yes"
+/doc/body[1]/p[1]/i[1] withinText="yes"
+/doc/body[1]/p[1]/u[1] withinText="yes"
+/doc/body[1]/p[2] withinText="no"
+/doc/body[1]/p[2]/fn[1] withinText="nested"
+/doc/body[1]/p[2]/fn[1]/@id
diff --git a/tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext6xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext6xmloutput.txt
new file mode 100644
index 0000000..bbbfaab
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/elementswithintext/xml/withintext6xmloutput.txt
@@ -0,0 +1,13 @@
+/doc withinText="no"
+/doc/head[1] withinText="no"
+/doc/head[1]/its:rules[1] withinText="no"
+/doc/head[1]/its:rules[1]/@version
+/doc/head[1]/its:rules[1]/@xlink:href
+/doc/body[1] withinText="no"
+/doc/body[1]/p[1] withinText="no"
+/doc/body[1]/p[1]/b[1] withinText="yes"
+/doc/body[1]/p[1]/i[1] withinText="yes"
+/doc/body[1]/p[1]/u[1] withinText="yes"
+/doc/body[1]/p[2] withinText="no"
+/doc/body[1]/p[2]/fn[1] withinText="nested"
+/doc/body[1]/p[2]/fn[1]/@id
diff --git a/tests/ITS-2.0-Testsuite/expected/externalresource/html/externalresource1htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/externalresource/html/externalresource1htmloutput.txt
new file mode 100644
index 0000000..9d13062
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/externalresource/html/externalresource1htmloutput.txt
@@ -0,0 +1,19 @@
+/html
+/html/@lang
+/html/head[1]
+/html/head[1]/meta[1]
+/html/head[1]/meta[1]/@charset
+/html/head[1]/link[1]
+/html/head[1]/link[1]/@href
+/html/head[1]/link[1]/@rel
+/html/head[1]/title[1]
+/html/body[1]
+/html/body[1]/video[1]
+/html/body[1]/video[1]/@height
+/html/body[1]/video[1]/@poster externalResourceRef="video-image.png"
+/html/body[1]/video[1]/@src externalResourceRef="http://www.example.com/video/v2.mp"
+/html/body[1]/video[1]/@width
+/html/body[1]/video[1]/p[1]
+/html/body[1]/video[1]/p[1]/code[1]
+/html/body[1]/video[1]/p[1]/a[1]
+/html/body[1]/video[1]/p[1]/a[1]/@href
diff --git a/tests/ITS-2.0-Testsuite/expected/externalresource/html/externalresource2htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/externalresource/html/externalresource2htmloutput.txt
new file mode 100644
index 0000000..d665d90
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/externalresource/html/externalresource2htmloutput.txt
@@ -0,0 +1,21 @@
+/html
+/html/@lang
+/html/head[1]
+/html/head[1]/meta[1]
+/html/head[1]/meta[1]/@charset
+/html/head[1]/link[1]
+/html/head[1]/link[1]/@href
+/html/head[1]/link[1]/@rel
+/html/head[1]/title[1]
+/html/body[1]
+/html/body[1]/span[1]
+/html/body[1]/span[1]/@id
+/html/body[1]/span[1]/video[1] externalResourceRef="video-image.png"
+/html/body[1]/span[1]/video[1]/@height
+/html/body[1]/span[1]/video[1]/@poster
+/html/body[1]/span[1]/video[1]/@src
+/html/body[1]/span[1]/video[1]/@width
+/html/body[1]/span[1]/video[1]/p[1]
+/html/body[1]/span[1]/video[1]/p[1]/code[1]
+/html/body[1]/span[1]/video[1]/p[1]/a[1]
+/html/body[1]/span[1]/video[1]/p[1]/a[1]/@href
diff --git a/tests/ITS-2.0-Testsuite/expected/externalresource/html/externalresource3htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/externalresource/html/externalresource3htmloutput.txt
new file mode 100644
index 0000000..e4200a8
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/externalresource/html/externalresource3htmloutput.txt
@@ -0,0 +1,18 @@
+/html
+/html/@lang
+/html/head[1]
+/html/head[1]/script[1]
+/html/head[1]/script[1]/@type
+/html/head[1]/meta[1]
+/html/head[1]/meta[1]/@charset
+/html/head[1]/title[1]
+/html/body[1]
+/html/body[1]/video[1] externalResourceRef="http://www.example.com/video/v2.mp"
+/html/body[1]/video[1]/@height
+/html/body[1]/video[1]/@poster
+/html/body[1]/video[1]/@src
+/html/body[1]/video[1]/@width
+/html/body[1]/video[1]/p[1]
+/html/body[1]/video[1]/p[1]/code[1]
+/html/body[1]/video[1]/p[1]/a[1]
+/html/body[1]/video[1]/p[1]/a[1]/@href
diff --git a/tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource1xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource1xmloutput.txt
new file mode 100644
index 0000000..c683f99
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource1xmloutput.txt
@@ -0,0 +1,17 @@
+/doc
+/doc/its:rules[1]
+/doc/its:rules[1]/@version
+/doc/its:rules[1]/its:externalResourceRefRule[1]
+/doc/its:rules[1]/its:externalResourceRefRule[1]/@externalResourceRefPointer
+/doc/its:rules[1]/its:externalResourceRefRule[1]/@selector
+/doc/dbk:mediaobject[1]
+/doc/dbk:mediaobject[1]/dbk:videoobject[1]
+/doc/dbk:mediaobject[1]/dbk:videoobject[1]/dbk:videodata[1] externalResourceRef="movie.avi"
+/doc/dbk:mediaobject[1]/dbk:videoobject[1]/dbk:videodata[1]/@fileref
+/doc/dbk:mediaobject[1]/dbk:imageobject[1]
+/doc/dbk:mediaobject[1]/dbk:imageobject[1]/dbk:imagedata[1] externalResourceRef="movie-frame.gif"
+/doc/dbk:mediaobject[1]/dbk:imageobject[1]/dbk:imagedata[1]/@fileref
+/doc/dbk:mediaobject[1]/dbk:textobject[1]
+/doc/dbk:mediaobject[1]/dbk:textobject[1]/dbk:para[1]
+/doc/dbk:mediaobject[1]/dbk:textobject[1]/dbk:warning[1]
+/doc/dbk:mediaobject[1]/dbk:textobject[1]/dbk:warning[1]/dbk:para[1]
diff --git a/tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource2xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource2xmloutput.txt
new file mode 100644
index 0000000..8833434
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource2xmloutput.txt
@@ -0,0 +1,15 @@
+/doc
+/doc/its:rules[1]
+/doc/its:rules[1]/@version
+/doc/its:rules[1]/@xlink:href
+/doc/dbk:mediaobject[1]
+/doc/dbk:mediaobject[1]/dbk:videoobject[1]
+/doc/dbk:mediaobject[1]/dbk:videoobject[1]/dbk:videodata[1] externalResourceRef="movie.avi"
+/doc/dbk:mediaobject[1]/dbk:videoobject[1]/dbk:videodata[1]/@fileref
+/doc/dbk:mediaobject[1]/dbk:imageobject[1]
+/doc/dbk:mediaobject[1]/dbk:imageobject[1]/dbk:imagedata[1] externalResourceRef="movie-frame.gif"
+/doc/dbk:mediaobject[1]/dbk:imageobject[1]/dbk:imagedata[1]/@fileref
+/doc/dbk:mediaobject[1]/dbk:textobject[1]
+/doc/dbk:mediaobject[1]/dbk:textobject[1]/dbk:para[1]
+/doc/dbk:mediaobject[1]/dbk:textobject[1]/dbk:warning[1]
+/doc/dbk:mediaobject[1]/dbk:textobject[1]/dbk:warning[1]/dbk:para[1]
diff --git a/tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource3xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource3xmloutput.txt
new file mode 100644
index 0000000..93cc320
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource3xmloutput.txt
@@ -0,0 +1,23 @@
+/doc
+/doc/its:rules[1]
+/doc/its:rules[1]/@version
+/doc/its:rules[1]/@xlink:href
+/doc/its:rules[2]
+/doc/its:rules[2]/@version
+/doc/its:rules[2]/its:externalResourceRefRule[1]
+/doc/its:rules[2]/its:externalResourceRefRule[1]/@externalResourceRefPointer
+/doc/its:rules[2]/its:externalResourceRefRule[1]/@selector
+/doc/dbk:mediaobject[1]
+/doc/dbk:mediaobject[1]/dbk:videoobject[1]
+/doc/dbk:mediaobject[1]/dbk:videoobject[1]/dbk:videodata[1] externalResourceRef="movie.avi"
+/doc/dbk:mediaobject[1]/dbk:videoobject[1]/dbk:videodata[1]/@fileref
+/doc/dbk:mediaobject[1]/dbk:audioobject[1]
+/doc/dbk:mediaobject[1]/dbk:audioobject[1]/dbk:audiodata[1] externalResourceRef="movie.mp3"
+/doc/dbk:mediaobject[1]/dbk:audioobject[1]/dbk:audiodata[1]/@fileref
+/doc/dbk:mediaobject[1]/dbk:imageobject[1]
+/doc/dbk:mediaobject[1]/dbk:imageobject[1]/dbk:imagedata[1] externalResourceRef="movie-frame.gif"
+/doc/dbk:mediaobject[1]/dbk:imageobject[1]/dbk:imagedata[1]/@fileref
+/doc/dbk:mediaobject[1]/dbk:textobject[1]
+/doc/dbk:mediaobject[1]/dbk:textobject[1]/dbk:para[1]
+/doc/dbk:mediaobject[1]/dbk:textobject[1]/dbk:warning[1]
+/doc/dbk:mediaobject[1]/dbk:textobject[1]/dbk:warning[1]/dbk:para[1]
diff --git a/tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource4xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource4xmloutput.txt
new file mode 100644
index 0000000..8f420d2
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource4xmloutput.txt
@@ -0,0 +1,19 @@
+/doc
+/doc/its:rules[1]
+/doc/its:rules[1]/@version
+/doc/its:rules[1]/its:param[1]
+/doc/its:rules[1]/its:param[1]/@name
+/doc/its:rules[1]/its:externalResourceRefRule[1]
+/doc/its:rules[1]/its:externalResourceRefRule[1]/@externalResourceRefPointer
+/doc/its:rules[1]/its:externalResourceRefRule[1]/@selector
+/doc/dbk:mediaobject[1]
+/doc/dbk:mediaobject[1]/dbk:videoobject[1]
+/doc/dbk:mediaobject[1]/dbk:videoobject[1]/dbk:videodata[1]
+/doc/dbk:mediaobject[1]/dbk:videoobject[1]/dbk:videodata[1]/@fileref
+/doc/dbk:mediaobject[1]/dbk:imageobject[1]
+/doc/dbk:mediaobject[1]/dbk:imageobject[1]/dbk:imagedata[1] externalResourceRef="movie-frame.gif"
+/doc/dbk:mediaobject[1]/dbk:imageobject[1]/dbk:imagedata[1]/@fileref
+/doc/dbk:mediaobject[1]/dbk:textobject[1]
+/doc/dbk:mediaobject[1]/dbk:textobject[1]/dbk:para[1]
+/doc/dbk:mediaobject[1]/dbk:textobject[1]/dbk:warning[1]
+/doc/dbk:mediaobject[1]/dbk:textobject[1]/dbk:warning[1]/dbk:para[1]
diff --git a/tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource5xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource5xmloutput.txt
new file mode 100644
index 0000000..79ce5c9
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/externalresource/xml/externalresource5xmloutput.txt
@@ -0,0 +1,15 @@
+/doc
+/doc/its:rules[1]
+/doc/its:rules[1]/@version
+/doc/its:rules[1]/@xlink:href
+/doc/dbk:mediaobject[1]
+/doc/dbk:mediaobject[1]/dbk:videoobject[1]
+/doc/dbk:mediaobject[1]/dbk:videoobject[1]/dbk:videodata[1]
+/doc/dbk:mediaobject[1]/dbk:videoobject[1]/dbk:videodata[1]/@fileref
+/doc/dbk:mediaobject[1]/dbk:imageobject[1]
+/doc/dbk:mediaobject[1]/dbk:imageobject[1]/dbk:imagedata[1] externalResourceRef="movie-frame.gif"
+/doc/dbk:mediaobject[1]/dbk:imageobject[1]/dbk:imagedata[1]/@fileref
+/doc/dbk:mediaobject[1]/dbk:textobject[1]
+/doc/dbk:mediaobject[1]/dbk:textobject[1]/dbk:para[1]
+/doc/dbk:mediaobject[1]/dbk:textobject[1]/dbk:warning[1]
+/doc/dbk:mediaobject[1]/dbk:textobject[1]/dbk:warning[1]/dbk:para[1]
diff --git a/tests/ITS-2.0-Testsuite/expected/idvalue/html/idvalue1htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/idvalue/html/idvalue1htmloutput.txt
new file mode 100644
index 0000000..cb19ed9
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/idvalue/html/idvalue1htmloutput.txt
@@ -0,0 +1,15 @@
+/html
+/html/head[1]
+/html/head[1]/meta[1]
+/html/head[1]/meta[1]/@charset
+/html/head[1]/title[1]
+/html/head[1]/link[1]
+/html/head[1]/link[1]/@href
+/html/head[1]/link[1]/@rel
+/html/body[1]
+/html/body[1]/p[1] idValue="settingsMissing"
+/html/body[1]/p[1]/@id
+/html/body[1]/p[1]/b[1] idValue="text"
+/html/body[1]/p[1]/b[1]/@id
+/html/body[1]/p[1]/var[1] idValue="desc"
+/html/body[1]/p[1]/var[1]/@id
diff --git a/tests/ITS-2.0-Testsuite/expected/idvalue/html/idvalue2htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/idvalue/html/idvalue2htmloutput.txt
new file mode 100644
index 0000000..9f6264e
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/idvalue/html/idvalue2htmloutput.txt
@@ -0,0 +1,17 @@
+/html
+/html/head[1]
+/html/head[1]/meta[1]
+/html/head[1]/meta[1]/@charset
+/html/head[1]/title[1]
+/html/head[1]/link[1]
+/html/head[1]/link[1]/@href
+/html/head[1]/link[1]/@rel
+/html/body[1]
+/html/body[1]/p[1] idValue="settingsMissing"
+/html/body[1]/p[1]/@id
+/html/body[1]/p[1]/b[1] idValue="text"
+/html/body[1]/p[1]/b[1]/@id
+/html/body[1]/p[1]/var[1] idValue="desc"
+/html/body[1]/p[1]/var[1]/@id
+/html/body[1]/p[1]/b[2] idValue="crashtext"
+/html/body[1]/p[1]/b[2]/@id
diff --git a/tests/ITS-2.0-Testsuite/expected/idvalue/html/idvalue3htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/idvalue/html/idvalue3htmloutput.txt
new file mode 100644
index 0000000..b1d3cb6
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/idvalue/html/idvalue3htmloutput.txt
@@ -0,0 +1,14 @@
+/html
+/html/head[1]
+/html/head[1]/script[1]
+/html/head[1]/script[1]/@type
+/html/head[1]/meta[1]
+/html/head[1]/meta[1]/@charset
+/html/head[1]/title[1]
+/html/body[1]
+/html/body[1]/p[1] idValue="settingsMissing"
+/html/body[1]/p[1]/@id
+/html/body[1]/p[1]/b[1] idValue="text"
+/html/body[1]/p[1]/b[1]/@id
+/html/body[1]/p[1]/var[1] idValue="desc"
+/html/body[1]/p[1]/var[1]/@id
diff --git a/tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue1xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue1xmloutput.txt
new file mode 100644
index 0000000..60aa545
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue1xmloutput.txt
@@ -0,0 +1,18 @@
+/resource
+/resource/its:rules[1]
+/resource/its:rules[1]/@version
+/resource/its:rules[1]/its:idValueRule[1]
+/resource/its:rules[1]/its:idValueRule[1]/@idValue
+/resource/its:rules[1]/its:idValueRule[1]/@selector
+/resource/webform[1]
+/resource/webform[1]/entry[1]
+/resource/webform[1]/entry[1]/@name
+/resource/webform[1]/entry[1]/text[1] idValue="btn.OK"
+/resource/webform[1]/entry[1]/pos[1]
+/resource/webform[1]/entry[1]/trig[1]
+/resource/webform[2]
+/resource/webform[2]/entry[1]
+/resource/webform[2]/entry[1]/@name
+/resource/webform[2]/entry[1]/text[1] idValue="btn.CANCEL"
+/resource/webform[2]/entry[1]/pos[1]
+/resource/webform[2]/entry[1]/trig[1]
diff --git a/tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue2xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue2xmloutput.txt
new file mode 100644
index 0000000..cb1a0f0
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue2xmloutput.txt
@@ -0,0 +1,6 @@
+/file
+/file/res[1] idValue="btnAgain"
+/file/res[1]/@name
+/file/res[1]/@xml:id
+/file/res[2]
+/file/res[2]/@name
diff --git a/tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue3xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue3xmloutput.txt
new file mode 100644
index 0000000..70f569a
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue3xmloutput.txt
@@ -0,0 +1,14 @@
+/resource
+/resource/its:rules[1]
+/resource/its:rules[1]/@version
+/resource/its:rules[1]/@xlink:href
+/resource/entry[1] idValue="btn.OK"
+/resource/entry[1]/@name
+/resource/entry[1]/text[1]
+/resource/entry[1]/pos[1]
+/resource/entry[1]/trig[1]
+/resource/entry[2] idValue="btn.CANCEL"
+/resource/entry[2]/@name
+/resource/entry[2]/text[1]
+/resource/entry[2]/pos[1]
+/resource/entry[2]/trig[1]
diff --git a/tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue4xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue4xmloutput.txt
new file mode 100644
index 0000000..43a3d44
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue4xmloutput.txt
@@ -0,0 +1,18 @@
+/resource
+/resource/its:rules[1]
+/resource/its:rules[1]/@version
+/resource/its:rules[1]/@xlink:href
+/resource/webform[1]
+/resource/webform[1]/@id
+/resource/webform[1]/entry[1] idValue="btn.OK"
+/resource/webform[1]/entry[1]/@name
+/resource/webform[1]/entry[1]/text[1]
+/resource/webform[1]/entry[1]/pos[1]
+/resource/webform[1]/entry[1]/trig[1]
+/resource/webform[2]
+/resource/webform[2]/@id
+/resource/webform[2]/entry[1]
+/resource/webform[2]/entry[1]/@name
+/resource/webform[2]/entry[1]/text[1]
+/resource/webform[2]/entry[1]/pos[1]
+/resource/webform[2]/entry[1]/trig[1]
diff --git a/tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue5xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue5xmloutput.txt
new file mode 100644
index 0000000..fb07c55
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/idvalue/xml/idvalue5xmloutput.txt
@@ -0,0 +1,22 @@
+/resource
+/resource/its:rules[1]
+/resource/its:rules[1]/@version
+/resource/its:rules[1]/its:param[1]
+/resource/its:rules[1]/its:param[1]/@name
+/resource/its:rules[1]/its:idValueRule[1]
+/resource/its:rules[1]/its:idValueRule[1]/@idValue
+/resource/its:rules[1]/its:idValueRule[1]/@selector
+/resource/webform[1]
+/resource/webform[1]/@id
+/resource/webform[1]/entry[1] idValue="btn.OK"
+/resource/webform[1]/entry[1]/@name
+/resource/webform[1]/entry[1]/text[1]
+/resource/webform[1]/entry[1]/pos[1]
+/resource/webform[1]/entry[1]/trig[1]
+/resource/webform[2]
+/resource/webform[2]/@id
+/resource/webform[2]/entry[1]
+/resource/webform[2]/entry[1]/@name
+/resource/webform[2]/entry[1]/text[1]
+/resource/webform[2]/entry[1]/pos[1]
+/resource/webform[2]/entry[1]/trig[1]
diff --git a/tests/ITS-2.0-Testsuite/expected/localefilter/html/locale1htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localefilter/html/locale1htmloutput.txt
new file mode 100644
index 0000000..9637b55
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localefilter/html/locale1htmloutput.txt
@@ -0,0 +1,12 @@
+/html localeFilterList="*"
+/html/head[1] localeFilterList="*"
+/html/head[1]/meta[1] localeFilterList="*"
+/html/head[1]/meta[1]/@charset localeFilterList="*"
+/html/head[1]/title[1] localeFilterList="*"
+/html/head[1]/link[1] localeFilterList="*"
+/html/head[1]/link[1]/@href localeFilterList="*"
+/html/head[1]/link[1]/@rel localeFilterList="*"
+/html/body[1] localeFilterList="*"
+/html/body[1]/div[1] localeFilterList="en-CA, fr-CA"
+/html/body[1]/div[1]/@id localeFilterList="en-CA, fr-CA"
+/html/body[1]/div[1]/p[1] localeFilterList="en-CA, fr-CA"
diff --git a/tests/ITS-2.0-Testsuite/expected/localefilter/html/locale2htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localefilter/html/locale2htmloutput.txt
new file mode 100644
index 0000000..3bbac28
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localefilter/html/locale2htmloutput.txt
@@ -0,0 +1,10 @@
+/html localeFilterList="*"
+/html/head[1] localeFilterList="*"
+/html/head[1]/meta[1] localeFilterList="*"
+/html/head[1]/meta[1]/@charset localeFilterList="*"
+/html/head[1]/title[1] localeFilterList="*"
+/html/body[1] localeFilterList="*"
+/html/body[1]/div[1] localeFilterList="en-CA, fr-CA"
+/html/body[1]/div[1]/@id localeFilterList="en-CA, fr-CA"
+/html/body[1]/div[1]/@its-locale-filter-list localeFilterList="en-CA, fr-CA"
+/html/body[1]/div[1]/p[1] localeFilterList="en-CA, fr-CA"
diff --git a/tests/ITS-2.0-Testsuite/expected/localefilter/html/locale3htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localefilter/html/locale3htmloutput.txt
new file mode 100644
index 0000000..9637b55
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localefilter/html/locale3htmloutput.txt
@@ -0,0 +1,12 @@
+/html localeFilterList="*"
+/html/head[1] localeFilterList="*"
+/html/head[1]/meta[1] localeFilterList="*"
+/html/head[1]/meta[1]/@charset localeFilterList="*"
+/html/head[1]/title[1] localeFilterList="*"
+/html/head[1]/link[1] localeFilterList="*"
+/html/head[1]/link[1]/@href localeFilterList="*"
+/html/head[1]/link[1]/@rel localeFilterList="*"
+/html/body[1] localeFilterList="*"
+/html/body[1]/div[1] localeFilterList="en-CA, fr-CA"
+/html/body[1]/div[1]/@id localeFilterList="en-CA, fr-CA"
+/html/body[1]/div[1]/p[1] localeFilterList="en-CA, fr-CA"
diff --git a/tests/ITS-2.0-Testsuite/expected/localefilter/html/locale4htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localefilter/html/locale4htmloutput.txt
new file mode 100644
index 0000000..3100bb5
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localefilter/html/locale4htmloutput.txt
@@ -0,0 +1,11 @@
+/html localeFilterList="*"
+/html/head[1] localeFilterList="*"
+/html/head[1]/script[1] localeFilterList="*"
+/html/head[1]/script[1]/@type localeFilterList="*"
+/html/head[1]/meta[1] localeFilterList="*"
+/html/head[1]/meta[1]/@charset localeFilterList="*"
+/html/head[1]/title[1] localeFilterList="*"
+/html/body[1] localeFilterList="*"
+/html/body[1]/div[1] localeFilterList="en-CA, fr-CA"
+/html/body[1]/div[1]/@id localeFilterList="en-CA, fr-CA"
+/html/body[1]/div[1]/p[1] localeFilterList="en-CA, fr-CA"
diff --git a/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale1xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale1xmloutput.txt
new file mode 100644
index 0000000..e3d4353
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale1xmloutput.txt
@@ -0,0 +1,11 @@
+/book localeFilterList="*"
+/book/@its:version localeFilterList="*"
+/book/info[1] localeFilterList="*"
+/book/info[1]/its:rules[1] localeFilterList="*"
+/book/info[1]/its:rules[1]/@version localeFilterList="*"
+/book/info[1]/its:rules[1]/its:localeFilterRule[1] localeFilterList="*"
+/book/info[1]/its:rules[1]/its:localeFilterRule[1]/@localeFilterList localeFilterList="*"
+/book/info[1]/its:rules[1]/its:localeFilterRule[1]/@selector localeFilterList="*"
+/book/info[1]/legalnotice[1] localeFilterList="en-CA, fr-CA"
+/book/info[1]/legalnotice[1]/@role localeFilterList="en-CA, fr-CA"
+/book/info[1]/legalnotice[1]/para[1] localeFilterList="en-CA, fr-CA"
diff --git a/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale2xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale2xmloutput.txt
new file mode 100644
index 0000000..e3d2d52
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale2xmloutput.txt
@@ -0,0 +1,6 @@
+/book localeFilterList="*"
+/book/@its:version localeFilterList="*"
+/book/info[1] localeFilterList="*"
+/book/info[1]/legalnotice[1] localeFilterList="en-CA, fr-CA"
+/book/info[1]/legalnotice[1]/@its:localeFilterList localeFilterList="en-CA, fr-CA"
+/book/info[1]/legalnotice[1]/para[1] localeFilterList="en-CA, fr-CA"
diff --git a/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale3xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale3xmloutput.txt
new file mode 100644
index 0000000..d793039
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale3xmloutput.txt
@@ -0,0 +1,9 @@
+/book localeFilterList="*"
+/book/@its:version localeFilterList="*"
+/book/info[1] localeFilterList="*"
+/book/info[1]/its:rules[1] localeFilterList="*"
+/book/info[1]/its:rules[1]/@version localeFilterList="*"
+/book/info[1]/its:rules[1]/@xlink:href localeFilterList="*"
+/book/info[1]/legalnotice[1] localeFilterList="en-CA, fr-CA"
+/book/info[1]/legalnotice[1]/@role localeFilterList="en-CA, fr-CA"
+/book/info[1]/legalnotice[1]/para[1] localeFilterList="en-CA, fr-CA"
diff --git a/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale4xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale4xmloutput.txt
new file mode 100644
index 0000000..df596ae
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale4xmloutput.txt
@@ -0,0 +1,17 @@
+/book localeFilterList="*"
+/book/@its:version localeFilterList="*"
+/book/info[1] localeFilterList="*"
+/book/info[1]/its:rules[1] localeFilterList="*"
+/book/info[1]/its:rules[1]/@version localeFilterList="*"
+/book/info[1]/its:rules[1]/@xlink:href localeFilterList="*"
+/book/info[1]/its:rules[2] localeFilterList="*"
+/book/info[1]/its:rules[2]/@version localeFilterList="*"
+/book/info[1]/its:rules[2]/its:localeFilterRule[1] localeFilterList="*"
+/book/info[1]/its:rules[2]/its:localeFilterRule[1]/@localeFilterList localeFilterList="*"
+/book/info[1]/its:rules[2]/its:localeFilterRule[1]/@selector localeFilterList="*"
+/book/info[1]/legalnotice[1] localeFilterList="en-CA, fr-CA"
+/book/info[1]/legalnotice[1]/@role localeFilterList="en-CA, fr-CA"
+/book/info[1]/legalnotice[1]/para[1] localeFilterList="en-CA, fr-CA"
+/book/info[1]/legalnotice[2] localeFilterList="de-DE"
+/book/info[1]/legalnotice[2]/@role localeFilterList="de-DE"
+/book/info[1]/legalnotice[2]/para[1] localeFilterList="de-DE"
diff --git a/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale5xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale5xmloutput.txt
new file mode 100644
index 0000000..ceced3d
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale5xmloutput.txt
@@ -0,0 +1,6 @@
+/book localeFilterList="*"
+/book/@its:version localeFilterList="*"
+/book/info[1] localeFilterList="*"
+/book/info[1]/its:span[1] localeFilterList="en-CA, fr-CA"
+/book/info[1]/its:span[1]/@localeFilterList localeFilterList="en-CA, fr-CA"
+/book/info[1]/its:span[1]/para[1] localeFilterList="en-CA, fr-CA"
diff --git a/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale6xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale6xmloutput.txt
new file mode 100644
index 0000000..17f244f
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale6xmloutput.txt
@@ -0,0 +1,15 @@
+/book localeFilterList="*"
+/book/info[1] localeFilterList="*"
+/book/info[1]/its:rules[1] localeFilterList="*"
+/book/info[1]/its:rules[1]/@version localeFilterList="*"
+/book/info[1]/its:rules[1]/its:param[1] localeFilterList="*"
+/book/info[1]/its:rules[1]/its:param[1]/@name localeFilterList="*"
+/book/info[1]/its:rules[1]/its:localeFilterRule[1] localeFilterList="*"
+/book/info[1]/its:rules[1]/its:localeFilterRule[1]/@localeFilterList localeFilterList="*"
+/book/info[1]/its:rules[1]/its:localeFilterRule[1]/@selector localeFilterList="*"
+/book/info[1]/legalnotice[1] localeFilterList="*"
+/book/info[1]/legalnotice[1]/@role localeFilterList="*"
+/book/info[1]/legalnotice[1]/para[1] localeFilterList="*"
+/book/info[1]/legalnotice[2] localeFilterList="de-DE"
+/book/info[1]/legalnotice[2]/@role localeFilterList="de-DE"
+/book/info[1]/legalnotice[2]/para[1] localeFilterList="de-DE"
diff --git a/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale7xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale7xmloutput.txt
new file mode 100644
index 0000000..d395b38
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localefilter/xml/locale7xmloutput.txt
@@ -0,0 +1,12 @@
+/book localeFilterList="*"
+/book/@its:version localeFilterList="*"
+/book/info[1] localeFilterList="*"
+/book/info[1]/its:rules[1] localeFilterList="*"
+/book/info[1]/its:rules[1]/@version localeFilterList="*"
+/book/info[1]/its:rules[1]/@xlink:href localeFilterList="*"
+/book/info[1]/legalnotice[1] localeFilterList="*"
+/book/info[1]/legalnotice[1]/@role localeFilterList="*"
+/book/info[1]/legalnotice[1]/para[1] localeFilterList="*"
+/book/info[1]/legalnotice[2] localeFilterList="de-DE"
+/book/info[1]/legalnotice[2]/@role localeFilterList="de-DE"
+/book/info[1]/legalnotice[2]/para[1] localeFilterList="de-DE"
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote1htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote1htmloutput.txt
new file mode 100644
index 0000000..8987328
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote1htmloutput.txt
@@ -0,0 +1,11 @@
+/html
+/html/head[1]
+/html/head[1]/meta[1]
+/html/head[1]/meta[1]/@charset
+/html/head[1]/title[1]
+/html/head[1]/link[1]
+/html/head[1]/link[1]/@href
+/html/head[1]/link[1]/@rel
+/html/body[1]
+/html/body[1]/span[1] locNote="The variable {0} has three possible values: 'printer', 'stacker' and 'stapler options'." locNoteType="alert"
+/html/body[1]/span[1]/@id
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote2htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote2htmloutput.txt
new file mode 100644
index 0000000..c81c18e
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote2htmloutput.txt
@@ -0,0 +1,17 @@
+/html
+/html/head[1]
+/html/head[1]/meta[1]
+/html/head[1]/meta[1]/@charset
+/html/head[1]/title[1]
+/html/head[1]/link[1]
+/html/head[1]/link[1]/@href
+/html/head[1]/link[1]/@rel
+/html/body[1]
+/html/body[1]/section[1]
+/html/body[1]/section[1]/@id
+/html/body[1]/section[1]/p[1]
+/html/body[1]/section[1]/span[1] locNote="Indicates that the resource file {0} could not be loaded." locNoteType="description"
+/html/body[1]/section[2]
+/html/body[1]/section[2]/@id
+/html/body[1]/section[2]/p[1]
+/html/body[1]/section[2]/span[1] locNote="A division by 0 was going to be computed." locNoteType="description"
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote3htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote3htmloutput.txt
new file mode 100644
index 0000000..3c68000
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote3htmloutput.txt
@@ -0,0 +1,11 @@
+/html
+/html/head[1]
+/html/head[1]/meta[1]
+/html/head[1]/meta[1]/@charset
+/html/head[1]/title[1]
+/html/head[1]/link[1]
+/html/head[1]/link[1]/@href
+/html/head[1]/link[1]/@rel
+/html/body[1]
+/html/body[1]/span[1] locNoteRef="ErrorsInfo.html/#NotFound" locNoteType="description"
+/html/body[1]/span[1]/@id
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote4htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote4htmloutput.txt
new file mode 100644
index 0000000..16d30c8
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote4htmloutput.txt
@@ -0,0 +1,17 @@
+/html
+/html/head[1]
+/html/head[1]/meta[1]
+/html/head[1]/meta[1]/@charset
+/html/head[1]/title[1]
+/html/head[1]/link[1]
+/html/head[1]/link[1]/@href
+/html/head[1]/link[1]/@rel
+/html/body[1]
+/html/body[1]/p[1]
+/html/body[1]/p[1]/@id
+/html/body[1]/p[1]/@title
+/html/body[1]/p[1]/span[1] locNoteRef="Comments.html#FileNotFound" locNoteType="description"
+/html/body[1]/p[2]
+/html/body[1]/p[2]/@id
+/html/body[1]/p[2]/@title
+/html/body[1]/p[2]/span[1] locNoteRef="Comments.html#DivByZero" locNoteType="description"
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote5htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote5htmloutput.txt
new file mode 100644
index 0000000..349ba68
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote5htmloutput.txt
@@ -0,0 +1,21 @@
+/html
+/html/head[1]
+/html/head[1]/meta[1]
+/html/head[1]/meta[1]/@charset
+/html/head[1]/link[1]
+/html/head[1]/link[1]/@href
+/html/head[1]/link[1]/@rel
+/html/head[1]/title[1]
+/html/body[1]
+/html/body[1]/p[1]
+/html/body[1]/p[1]/@id
+/html/body[1]/p[1]/img[1]
+/html/body[1]/p[1]/img[1]/@alt locNote="Do not translate the word "Chobe"" locNoteType="alert"
+/html/body[1]/p[1]/img[1]/@src
+/html/body[1]/p[2]
+/html/body[1]/p[2]/@id
+/html/body[1]/p[2]/img[1]
+/html/body[1]/p[2]/img[1]/@alt locNote="This text will be displayed over the image." locNoteType="description"
+/html/body[1]/p[2]/img[1]/@src
+/html/body[1]/p[3] locNote="The variable {0} has three possible values: 'printer', 'stacker' and 'stapler options'." locNoteType="alert"
+/html/body[1]/p[3]/@id
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote6htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote6htmloutput.txt
new file mode 100644
index 0000000..b603e77
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote6htmloutput.txt
@@ -0,0 +1,21 @@
+/html
+/html/head[1]
+/html/head[1]/meta[1]
+/html/head[1]/meta[1]/@charset
+/html/head[1]/title[1]
+/html/head[1]/link[1]
+/html/head[1]/link[1]/@href
+/html/head[1]/link[1]/@rel
+/html/body[1]
+/html/body[1]/span[1]
+/html/body[1]/span[1]/@id
+/html/body[1]/span[1]/img[1]
+/html/body[1]/span[1]/img[1]/@alt locNote="Do not translate the word "Chobe"" locNoteType="alert"
+/html/body[1]/span[1]/img[1]/@src
+/html/body[1]/span[2]
+/html/body[1]/span[2]/@id
+/html/body[1]/span[2]/img[1]
+/html/body[1]/span[2]/img[1]/@alt locNote="This text will be displayed over the image." locNoteType="description"
+/html/body[1]/span[2]/img[1]/@src
+/html/body[1]/span[3] locNote="The variable {0} has three possible values: 'printer', 'stacker' and 'stapler options'." locNoteType="alert"
+/html/body[1]/span[3]/@id
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote7htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote7htmloutput.txt
new file mode 100644
index 0000000..0dd1ef8
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote7htmloutput.txt
@@ -0,0 +1,11 @@
+/html
+/html/@lang
+/html/head[1]
+/html/head[1]/meta[1]
+/html/head[1]/meta[1]/@charset
+/html/head[1]/title[1]
+/html/body[1]
+/html/body[1]/p[1]
+/html/body[1]/p[1]/span[1] locNote="Check with terminology engineer" locNoteType="alert"
+/html/body[1]/p[1]/span[1]/@its-loc-note
+/html/body[1]/p[1]/span[1]/@its-loc-note-type
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote8htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote8htmloutput.txt
new file mode 100644
index 0000000..b603e77
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote8htmloutput.txt
@@ -0,0 +1,21 @@
+/html
+/html/head[1]
+/html/head[1]/meta[1]
+/html/head[1]/meta[1]/@charset
+/html/head[1]/title[1]
+/html/head[1]/link[1]
+/html/head[1]/link[1]/@href
+/html/head[1]/link[1]/@rel
+/html/body[1]
+/html/body[1]/span[1]
+/html/body[1]/span[1]/@id
+/html/body[1]/span[1]/img[1]
+/html/body[1]/span[1]/img[1]/@alt locNote="Do not translate the word "Chobe"" locNoteType="alert"
+/html/body[1]/span[1]/img[1]/@src
+/html/body[1]/span[2]
+/html/body[1]/span[2]/@id
+/html/body[1]/span[2]/img[1]
+/html/body[1]/span[2]/img[1]/@alt locNote="This text will be displayed over the image." locNoteType="description"
+/html/body[1]/span[2]/img[1]/@src
+/html/body[1]/span[3] locNote="The variable {0} has three possible values: 'printer', 'stacker' and 'stapler options'." locNoteType="alert"
+/html/body[1]/span[3]/@id
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote9htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote9htmloutput.txt
new file mode 100644
index 0000000..807c6c2
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/html/locnote9htmloutput.txt
@@ -0,0 +1,11 @@
+/html
+/html/@lang
+/html/head[1]
+/html/head[1]/script[1]
+/html/head[1]/script[1]/@type
+/html/head[1]/meta[1]
+/html/head[1]/meta[1]/@charset
+/html/head[1]/title[1]
+/html/body[1]
+/html/body[1]/p[1] locNote="The variable {0} has three possible values: 'printer', 'stacker' and 'stapler options'." locNoteType="alert"
+/html/body[1]/p[1]/@id
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote10xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote10xmloutput.txt
new file mode 100644
index 0000000..7c7c1f3
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote10xmloutput.txt
@@ -0,0 +1,31 @@
+/msgList
+/msgList/head[1]
+/msgList/head[1]/its:rules[1]
+/msgList/head[1]/its:rules[1]/@version
+/msgList/head[1]/its:rules[1]/its:param[1]
+/msgList/head[1]/its:rules[1]/its:param[1]/@name
+/msgList/head[1]/its:rules[1]/its:locNoteRule[1]
+/msgList/head[1]/its:rules[1]/its:locNoteRule[1]/@locNoteType
+/msgList/head[1]/its:rules[1]/its:locNoteRule[1]/@selector
+/msgList/head[1]/its:rules[1]/its:locNoteRule[1]/its:locNote[1]
+/msgList/head[1]/its:rules[1]/its:locNoteRule[2]
+/msgList/head[1]/its:rules[1]/its:locNoteRule[2]/@locNoteType
+/msgList/head[1]/its:rules[1]/its:locNoteRule[2]/@selector
+/msgList/head[1]/its:rules[1]/its:locNoteRule[2]/its:locNote[1]
+/msgList/head[1]/its:rules[1]/its:locNoteRule[3]
+/msgList/head[1]/its:rules[1]/its:locNoteRule[3]/@locNoteType
+/msgList/head[1]/its:rules[1]/its:locNoteRule[3]/@selector
+/msgList/head[1]/its:rules[1]/its:locNoteRule[3]/its:locNote[1]
+/msgList/body[1]
+/msgList/body[1]/msg[1]
+/msgList/body[1]/msg[1]/@id
+/msgList/body[1]/msg[1]/img[1]
+/msgList/body[1]/msg[1]/img[1]/@alt locNote="Do not translate the word "Chobe"" locNoteType="alert"
+/msgList/body[1]/msg[1]/img[1]/@src
+/msgList/body[1]/msg[2]
+/msgList/body[1]/msg[2]/@id
+/msgList/body[1]/msg[2]/img[1]
+/msgList/body[1]/msg[2]/img[1]/@alt locNote="This text will be displayed over the image." locNoteType="description"
+/msgList/body[1]/msg[2]/img[1]/@src
+/msgList/body[1]/msg[3] locNote="The variable {0} has three possible values: 'printer', 'stacker' and 'stapler options'." locNoteType="alert"
+/msgList/body[1]/msg[3]/@id
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote11xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote11xmloutput.txt
new file mode 100644
index 0000000..33df8db
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote11xmloutput.txt
@@ -0,0 +1,19 @@
+/msgList
+/msgList/head[1]
+/msgList/head[1]/its:rules[1]
+/msgList/head[1]/its:rules[1]/@version
+/msgList/head[1]/its:rules[1]/@xlink:href
+/msgList/head[1]/its:rules[1]/@xlink:type
+/msgList/body[1]
+/msgList/body[1]/msg[1]
+/msgList/body[1]/msg[1]/@id
+/msgList/body[1]/msg[1]/img[1]
+/msgList/body[1]/msg[1]/img[1]/@alt locNote="Do not translate the word "Chobe"" locNoteType="alert"
+/msgList/body[1]/msg[1]/img[1]/@src
+/msgList/body[1]/msg[2]
+/msgList/body[1]/msg[2]/@id
+/msgList/body[1]/msg[2]/img[1]
+/msgList/body[1]/msg[2]/img[1]/@alt locNote="This text will be displayed over the image." locNoteType="description"
+/msgList/body[1]/msg[2]/img[1]/@src
+/msgList/body[1]/msg[3] locNote="The variable {0} has three possible values: 'printer', 'stacker' and 'stapler options'." locNoteType="alert"
+/msgList/body[1]/msg[3]/@id
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote1xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote1xmloutput.txt
new file mode 100644
index 0000000..7a4a9b1
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote1xmloutput.txt
@@ -0,0 +1,12 @@
+/myRes
+/myRes/head[1]
+/myRes/head[1]/its:rules[1]
+/myRes/head[1]/its:rules[1]/@its:translate
+/myRes/head[1]/its:rules[1]/@version
+/myRes/head[1]/its:rules[1]/its:locNoteRule[1]
+/myRes/head[1]/its:rules[1]/its:locNoteRule[1]/@locNoteType
+/myRes/head[1]/its:rules[1]/its:locNoteRule[1]/@selector
+/myRes/head[1]/its:rules[1]/its:locNoteRule[1]/its:locNote[1]
+/myRes/body[1]
+/myRes/body[1]/msg[1] locNote="The variable {0} has three possible values: 'printer', 'stacker' and 'stapler options'." locNoteType="alert"
+/myRes/body[1]/msg[1]/@id
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote2xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote2xmloutput.txt
new file mode 100644
index 0000000..14449fc
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote2xmloutput.txt
@@ -0,0 +1,20 @@
+/Res
+/Res/prolog[1]
+/Res/prolog[1]/its:rules[1]
+/Res/prolog[1]/its:rules[1]/@version
+/Res/prolog[1]/its:rules[1]/its:translateRule[1]
+/Res/prolog[1]/its:rules[1]/its:translateRule[1]/@selector
+/Res/prolog[1]/its:rules[1]/its:translateRule[1]/@translate
+/Res/prolog[1]/its:rules[1]/its:locNoteRule[1]
+/Res/prolog[1]/its:rules[1]/its:locNoteRule[1]/@locNotePointer
+/Res/prolog[1]/its:rules[1]/its:locNoteRule[1]/@locNoteType
+/Res/prolog[1]/its:rules[1]/its:locNoteRule[1]/@selector
+/Res/body[1]
+/Res/body[1]/msg[1]
+/Res/body[1]/msg[1]/@id
+/Res/body[1]/msg[1]/notes[1]
+/Res/body[1]/msg[1]/data[1] locNote="Indicates that the resource file {0} could not be loaded." locNoteType="description"
+/Res/body[1]/msg[2]
+/Res/body[1]/msg[2]/@id
+/Res/body[1]/msg[2]/notes[1]
+/Res/body[1]/msg[2]/data[1] locNote="A division by 0 was going to be computed." locNoteType="description"
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote3xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote3xmloutput.txt
new file mode 100644
index 0000000..4f16005
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote3xmloutput.txt
@@ -0,0 +1,11 @@
+/myRes
+/myRes/head[1]
+/myRes/head[1]/its:rules[1]
+/myRes/head[1]/its:rules[1]/@version
+/myRes/head[1]/its:rules[1]/its:locNoteRule[1]
+/myRes/head[1]/its:rules[1]/its:locNoteRule[1]/@locNoteRef
+/myRes/head[1]/its:rules[1]/its:locNoteRule[1]/@locNoteType
+/myRes/head[1]/its:rules[1]/its:locNoteRule[1]/@selector
+/myRes/body[1]
+/myRes/body[1]/msg[1] locNoteRef="ErrorsInfo.html/#NotFound" locNoteType="description"
+/myRes/body[1]/msg[1]/@id
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote4xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote4xmloutput.txt
new file mode 100644
index 0000000..2e889b4
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote4xmloutput.txt
@@ -0,0 +1,17 @@
+/dataFile
+/dataFile/prolog[1]
+/dataFile/prolog[1]/its:rules[1]
+/dataFile/prolog[1]/its:rules[1]/@version
+/dataFile/prolog[1]/its:rules[1]/its:locNoteRule[1]
+/dataFile/prolog[1]/its:rules[1]/its:locNoteRule[1]/@locNoteRefPointer
+/dataFile/prolog[1]/its:rules[1]/its:locNoteRule[1]/@locNoteType
+/dataFile/prolog[1]/its:rules[1]/its:locNoteRule[1]/@selector
+/dataFile/body[1]
+/dataFile/body[1]/string[1]
+/dataFile/body[1]/string[1]/@id
+/dataFile/body[1]/string[1]/@noteFile
+/dataFile/body[1]/string[1]/data[1] locNoteRef="Comments.html#FileNotFound" locNoteType="description"
+/dataFile/body[1]/string[2]
+/dataFile/body[1]/string[2]/@id
+/dataFile/body[1]/string[2]/@noteFile
+/dataFile/body[1]/string[2]/data[1] locNoteRef="Comments.html#DivByZero" locNoteType="description"
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote5xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote5xmloutput.txt
new file mode 100644
index 0000000..4245c44
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote5xmloutput.txt
@@ -0,0 +1,23 @@
+/msgList
+/msgList/head[1]
+/msgList/head[1]/its:rules[1]
+/msgList/head[1]/its:rules[1]/@version
+/msgList/head[1]/its:rules[1]/@xlink:href
+/msgList/head[1]/its:rules[1]/@xlink:type
+/msgList/head[1]/its:rules[1]/its:locNoteRule[1]
+/msgList/head[1]/its:rules[1]/its:locNoteRule[1]/@locNoteType
+/msgList/head[1]/its:rules[1]/its:locNoteRule[1]/@selector
+/msgList/head[1]/its:rules[1]/its:locNoteRule[1]/its:locNote[1]
+/msgList/body[1]
+/msgList/body[1]/msg[1]
+/msgList/body[1]/msg[1]/@id
+/msgList/body[1]/msg[1]/img[1]
+/msgList/body[1]/msg[1]/img[1]/@alt locNote="Do not translate the word "Chobe"" locNoteType="alert"
+/msgList/body[1]/msg[1]/img[1]/@src
+/msgList/body[1]/msg[2]
+/msgList/body[1]/msg[2]/@id
+/msgList/body[1]/msg[2]/img[1]
+/msgList/body[1]/msg[2]/img[1]/@alt locNote="This text will be displayed over the image." locNoteType="description"
+/msgList/body[1]/msg[2]/img[1]/@src
+/msgList/body[1]/msg[3] locNote="The variable {0} has three possible values: 'printer', 'stacker' and 'stapler options'." locNoteType="alert"
+/msgList/body[1]/msg[3]/@id
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote6xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote6xmloutput.txt
new file mode 100644
index 0000000..2f114f4
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote6xmloutput.txt
@@ -0,0 +1,29 @@
+/msgList
+/msgList/head[1]
+/msgList/head[1]/its:rules[1]
+/msgList/head[1]/its:rules[1]/@version
+/msgList/head[1]/its:rules[1]/its:locNoteRule[1]
+/msgList/head[1]/its:rules[1]/its:locNoteRule[1]/@locNoteType
+/msgList/head[1]/its:rules[1]/its:locNoteRule[1]/@selector
+/msgList/head[1]/its:rules[1]/its:locNoteRule[1]/its:locNote[1]
+/msgList/head[1]/its:rules[1]/its:locNoteRule[2]
+/msgList/head[1]/its:rules[1]/its:locNoteRule[2]/@locNoteType
+/msgList/head[1]/its:rules[1]/its:locNoteRule[2]/@selector
+/msgList/head[1]/its:rules[1]/its:locNoteRule[2]/its:locNote[1]
+/msgList/head[1]/its:rules[1]/its:locNoteRule[3]
+/msgList/head[1]/its:rules[1]/its:locNoteRule[3]/@locNoteType
+/msgList/head[1]/its:rules[1]/its:locNoteRule[3]/@selector
+/msgList/head[1]/its:rules[1]/its:locNoteRule[3]/its:locNote[1]
+/msgList/body[1]
+/msgList/body[1]/msg[1]
+/msgList/body[1]/msg[1]/@id
+/msgList/body[1]/msg[1]/img[1]
+/msgList/body[1]/msg[1]/img[1]/@alt locNote="Do not translate the word "Chobe"" locNoteType="alert"
+/msgList/body[1]/msg[1]/img[1]/@src
+/msgList/body[1]/msg[2]
+/msgList/body[1]/msg[2]/@id
+/msgList/body[1]/msg[2]/img[1]
+/msgList/body[1]/msg[2]/img[1]/@alt locNote="This text will be displayed over the image." locNoteType="description"
+/msgList/body[1]/msg[2]/img[1]/@src
+/msgList/body[1]/msg[3] locNote="The variable {0} has three possible values: 'printer', 'stacker' and 'stapler options'." locNoteType="alert"
+/msgList/body[1]/msg[3]/@id
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote7xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote7xmloutput.txt
new file mode 100644
index 0000000..14449fc
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote7xmloutput.txt
@@ -0,0 +1,20 @@
+/Res
+/Res/prolog[1]
+/Res/prolog[1]/its:rules[1]
+/Res/prolog[1]/its:rules[1]/@version
+/Res/prolog[1]/its:rules[1]/its:translateRule[1]
+/Res/prolog[1]/its:rules[1]/its:translateRule[1]/@selector
+/Res/prolog[1]/its:rules[1]/its:translateRule[1]/@translate
+/Res/prolog[1]/its:rules[1]/its:locNoteRule[1]
+/Res/prolog[1]/its:rules[1]/its:locNoteRule[1]/@locNotePointer
+/Res/prolog[1]/its:rules[1]/its:locNoteRule[1]/@locNoteType
+/Res/prolog[1]/its:rules[1]/its:locNoteRule[1]/@selector
+/Res/body[1]
+/Res/body[1]/msg[1]
+/Res/body[1]/msg[1]/@id
+/Res/body[1]/msg[1]/notes[1]
+/Res/body[1]/msg[1]/data[1] locNote="Indicates that the resource file {0} could not be loaded." locNoteType="description"
+/Res/body[1]/msg[2]
+/Res/body[1]/msg[2]/@id
+/Res/body[1]/msg[2]/notes[1]
+/Res/body[1]/msg[2]/data[1] locNote="A division by 0 was going to be computed." locNoteType="description"
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote8xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote8xmloutput.txt
new file mode 100644
index 0000000..0f1f04c
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote8xmloutput.txt
@@ -0,0 +1,20 @@
+/Res
+/Res/@its:version
+/Res/body[1] locNote="The variable {0} is the name of the host." locNoteType="description"
+/Res/body[1]/@its:locNote
+/Res/body[1]/msg[1] locNote="The variable {0} is the name of the host." locNoteType="description"
+/Res/body[1]/msg[1]/@id
+/Res/body[1]/msg[1]/data[1] locNote="The variable {0} is the name of the host." locNoteType="description"
+/Res/body[1]/msg[2] locNote="The variable {0} is the name of the host." locNoteType="description"
+/Res/body[1]/msg[2]/@id
+/Res/body[1]/msg[2]/data[1] locNote="The variable {0} is the name of the host." locNoteType="description"
+/Res/body[1]/msg[3] locNote="The variable {0} is the name of the host." locNoteType="description"
+/Res/body[1]/msg[3]/@id
+/Res/body[1]/msg[3]/data[1] locNote="{0} is a filename" locNoteType="alert"
+/Res/body[1]/msg[3]/data[1]/@its:locNote
+/Res/body[1]/msg[3]/data[1]/@its:locNoteType
+/Res/body[1]/msg[4] locNote="The variable {0} is the name of the host." locNoteType="description"
+/Res/body[1]/msg[4]/@id
+/Res/body[1]/msg[4]/data[1] locNoteRef="myLocNotes.htm#CannotLog" locNoteType="alert"
+/Res/body[1]/msg[4]/data[1]/@its:locNoteRef
+/Res/body[1]/msg[4]/data[1]/@its:locNoteType
diff --git a/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote9xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote9xmloutput.txt
new file mode 100644
index 0000000..600872d
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/localizationnote/xml/locnote9xmloutput.txt
@@ -0,0 +1,11 @@
+/Doc
+/Doc/@its:version
+/Doc/body[1]
+/Doc/body[1]/p[1]
+/Doc/body[1]/p[1]/its:span[1] locNote="If possible keep the non-English terms in the translated version too" locNoteType="description"
+/Doc/body[1]/p[1]/its:span[1]/@locNote
+/Doc/body[1]/p[1]/its:span[1]/its:span[1] locNoteRef="http://en.wikipedia.org/wiki/Doppelganger" locNoteType="description"
+/Doc/body[1]/p[1]/its:span[1]/its:span[1]/@locNoteRef
+/Doc/body[1]/p[1]/its:span[1]/b[1] locNote="If possible keep the non-English terms in the translated version too" locNoteType="description"
+/Doc/body[1]/p[1]/its:span[1]/its:span[2] locNoteRef="http://en.wikipedia.org/wiki/Aficionado" locNoteType="description"
+/Doc/body[1]/p[1]/its:span[1]/its:span[2]/@locNoteRef
diff --git a/tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace1xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace1xmloutput.txt
new file mode 100644
index 0000000..08ad0a1
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace1xmloutput.txt
@@ -0,0 +1,9 @@
+/book space="default"
+/book/@its:version space="default"
+/book/info[1] space="default"
+/book/info[1]/its:rules[1] space="default"
+/book/info[1]/its:rules[1]/@version space="default"
+/book/info[1]/its:rules[1]/its:preserveSpaceRule[1] space="default"
+/book/info[1]/its:rules[1]/its:preserveSpaceRule[1]/@selector space="default"
+/book/info[1]/its:rules[1]/its:preserveSpaceRule[1]/@space space="default"
+/book/verse[1] space="preserve"
diff --git a/tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace2xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace2xmloutput.txt
new file mode 100644
index 0000000..208dbe9
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace2xmloutput.txt
@@ -0,0 +1,4 @@
+/book space="default"
+/book/@its:version space="default"
+/book/verse[1] space="preserve"
+/book/verse[1]/@xml:space space="preserve"
diff --git a/tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace3xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace3xmloutput.txt
new file mode 100644
index 0000000..ad764ba
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace3xmloutput.txt
@@ -0,0 +1,7 @@
+/book space="default"
+/book/@its:version space="default"
+/book/info[1] space="default"
+/book/info[1]/its:rules[1] space="default"
+/book/info[1]/its:rules[1]/@version space="default"
+/book/info[1]/its:rules[1]/@xlink:href space="default"
+/book/verse[1] space="preserve"
diff --git a/tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace4xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace4xmloutput.txt
new file mode 100644
index 0000000..c42316f
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace4xmloutput.txt
@@ -0,0 +1,4 @@
+/book space="default"
+/book/@its:version space="default"
+/book/its:span[1] space="preserve"
+/book/its:span[1]/@xml:space space="preserve"
diff --git a/tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace5xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace5xmloutput.txt
new file mode 100644
index 0000000..a0fa6b8
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace5xmloutput.txt
@@ -0,0 +1,12 @@
+/book space="default"
+/book/@its:version space="default"
+/book/info[1] space="default"
+/book/info[1]/its:rules[1] space="default"
+/book/info[1]/its:rules[1]/@version space="default"
+/book/info[1]/its:rules[1]/its:param[1] space="default"
+/book/info[1]/its:rules[1]/its:param[1]/@name space="default"
+/book/info[1]/its:rules[1]/its:preserveSpaceRule[1] space="default"
+/book/info[1]/its:rules[1]/its:preserveSpaceRule[1]/@selector space="default"
+/book/info[1]/its:rules[1]/its:preserveSpaceRule[1]/@space space="default"
+/book/verse[1] space="preserve"
+/book/verse[1]/@id space="preserve"
diff --git a/tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace6xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace6xmloutput.txt
new file mode 100644
index 0000000..4bb6e0d
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/preservespace/xml/preservespace6xmloutput.txt
@@ -0,0 +1,8 @@
+/book space="default"
+/book/@its:version space="default"
+/book/its:rules[1] space="default"
+/book/its:rules[1]/@version space="default"
+/book/its:rules[1]/@xlink:href space="default"
+/book/its:rules[1]/@xlink:type space="default"
+/book/verse[1] space="preserve"
+/book/verse[1]/@id space="preserve"
diff --git a/tests/ITS-2.0-Testsuite/expected/translate/html/translate1htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/translate/html/translate1htmloutput.txt
new file mode 100644
index 0000000..e518dc9
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/translate/html/translate1htmloutput.txt
@@ -0,0 +1,13 @@
+/html translate="yes"
+/html/head[1] translate="yes"
+/html/head[1]/meta[1] translate="yes"
+/html/head[1]/meta[1]/@charset translate="no"
+/html/head[1]/title[1] translate="yes"
+/html/head[1]/link[1] translate="yes"
+/html/head[1]/link[1]/@href translate="no"
+/html/head[1]/link[1]/@rel translate="no"
+/html/body[1] translate="yes"
+/html/body[1]/p[1] translate="yes"
+/html/body[1]/p[1]/@id translate="no"
+/html/body[1]/p[1]/@title translate="yes"
+/html/body[1]/p[1]/code[1] translate="no"
diff --git a/tests/ITS-2.0-Testsuite/expected/translate/html/translate2htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/translate/html/translate2htmloutput.txt
new file mode 100644
index 0000000..9d0dc84
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/translate/html/translate2htmloutput.txt
@@ -0,0 +1,11 @@
+/html translate="yes"
+/html/head[1] translate="yes"
+/html/head[1]/meta[1] translate="yes"
+/html/head[1]/meta[1]/@charset translate="no"
+/html/head[1]/title[1] translate="yes"
+/html/body[1] translate="yes"
+/html/body[1]/p[1] translate="yes"
+/html/body[1]/p[1]/span[1] translate="no"
+/html/body[1]/p[1]/span[1]/@translate translate="no"
+/html/body[1]/p[1]/span[2] translate="no"
+/html/body[1]/p[1]/span[2]/@translate translate="no"
diff --git a/tests/ITS-2.0-Testsuite/expected/translate/html/translate3htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/translate/html/translate3htmloutput.txt
new file mode 100644
index 0000000..38b15cc
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/translate/html/translate3htmloutput.txt
@@ -0,0 +1,15 @@
+/html translate="no"
+/html/head[1] translate="no"
+/html/head[1]/meta[1] translate="no"
+/html/head[1]/meta[1]/@charset translate="no"
+/html/head[1]/title[1] translate="no"
+/html/head[1]/link[1] translate="no"
+/html/head[1]/link[1]/@href translate="no"
+/html/head[1]/link[1]/@rel translate="no"
+/html/body[1] translate="no"
+/html/body[1]/span[1] translate="yes"
+/html/body[1]/span[1]/@translate translate="no"
+/html/body[1]/section[1] translate="no"
+/html/body[1]/section[1]/p[1] translate="yes"
+/html/body[1]/section[1]/p[1]/span[1] translate="no"
+/html/body[1]/section[1]/p[1]/span[2] translate="no"
diff --git a/tests/ITS-2.0-Testsuite/expected/translate/html/translate4htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/translate/html/translate4htmloutput.txt
new file mode 100644
index 0000000..0d34fed
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/translate/html/translate4htmloutput.txt
@@ -0,0 +1,15 @@
+/html translate="no"
+/html/head[1] translate="no"
+/html/head[1]/meta[1] translate="no"
+/html/head[1]/meta[1]/@charset translate="no"
+/html/head[1]/title[1] translate="no"
+/html/head[1]/link[1] translate="no"
+/html/head[1]/link[1]/@href translate="no"
+/html/head[1]/link[1]/@rel translate="no"
+/html/body[1] translate="no"
+/html/body[1]/span[1] translate="yes"
+/html/body[1]/span[1]/@translate translate="no"
+/html/body[1]/section[1] translate="no"
+/html/body[1]/section[1]/p[1] translate="yes"
+/html/body[1]/section[1]/p[1]/span[1] translate="yes"
+/html/body[1]/section[1]/p[1]/span[2] translate="yes"
diff --git a/tests/ITS-2.0-Testsuite/expected/translate/html/translate5htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/translate/html/translate5htmloutput.txt
new file mode 100644
index 0000000..9f94f11
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/translate/html/translate5htmloutput.txt
@@ -0,0 +1,24 @@
+/html translate="no"
+/html/head[1] translate="no"
+/html/head[1]/meta[1] translate="no"
+/html/head[1]/meta[1]/@charset translate="no"
+/html/head[1]/title[1] translate="no"
+/html/head[1]/link[1] translate="no"
+/html/head[1]/link[1]/@href translate="no"
+/html/head[1]/link[1]/@rel translate="no"
+/html/body[1] translate="no"
+/html/body[1]/section[1] translate="no"
+/html/body[1]/section[1]/span[1] translate="no"
+/html/body[1]/section[1]/span[1]/@id translate="no"
+/html/body[1]/section[1]/span[1]/b[1] translate="no"
+/html/body[1]/section[1]/span[1]/cite[1] translate="no"
+/html/body[1]/section[1]/span[1]/cite[1]/i[1] translate="no"
+/html/body[1]/p[1] translate="yes"
+/html/body[1]/ul[1] translate="no"
+/html/body[1]/ul[1]/li[1] translate="no"
+/html/body[1]/ul[1]/li[2] translate="no"
+/html/body[1]/ul[1]/li[3] translate="no"
+/html/body[1]/ul[1]/li[4] translate="no"
+/html/body[1]/p[2] translate="yes"
+/html/body[1]/p[2]/span[1] translate="no"
+/html/body[1]/p[2]/span[1]/@lang translate="no"
diff --git a/tests/ITS-2.0-Testsuite/expected/translate/html/translate6htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/translate/html/translate6htmloutput.txt
new file mode 100644
index 0000000..31b1c29
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/translate/html/translate6htmloutput.txt
@@ -0,0 +1,24 @@
+/html translate="no"
+/html/head[1] translate="no"
+/html/head[1]/meta[1] translate="no"
+/html/head[1]/meta[1]/@charset translate="no"
+/html/head[1]/title[1] translate="no"
+/html/head[1]/link[1] translate="no"
+/html/head[1]/link[1]/@href translate="no"
+/html/head[1]/link[1]/@rel translate="no"
+/html/body[1] translate="no"
+/html/body[1]/section[1] translate="no"
+/html/body[1]/section[1]/span[1] translate="yes"
+/html/body[1]/section[1]/span[1]/@id translate="no"
+/html/body[1]/section[1]/span[1]/b[1] translate="no"
+/html/body[1]/section[1]/span[1]/cite[1] translate="no"
+/html/body[1]/section[1]/span[1]/cite[1]/i[1] translate="no"
+/html/body[1]/p[1] translate="yes"
+/html/body[1]/ul[1] translate="no"
+/html/body[1]/ul[1]/li[1] translate="no"
+/html/body[1]/ul[1]/li[2] translate="no"
+/html/body[1]/ul[1]/li[3] translate="no"
+/html/body[1]/ul[1]/li[4] translate="no"
+/html/body[1]/p[2] translate="yes"
+/html/body[1]/p[2]/span[1] translate="no"
+/html/body[1]/p[2]/span[1]/@lang translate="no"
diff --git a/tests/ITS-2.0-Testsuite/expected/translate/html/translate7htmloutput.txt b/tests/ITS-2.0-Testsuite/expected/translate/html/translate7htmloutput.txt
new file mode 100644
index 0000000..65856ef
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/translate/html/translate7htmloutput.txt
@@ -0,0 +1,12 @@
+/html translate="yes"
+/html/@lang translate="no"
+/html/head[1] translate="yes"
+/html/head[1]/script[1] translate="yes"
+/html/head[1]/script[1]/@type translate="no"
+/html/head[1]/meta[1] translate="yes"
+/html/head[1]/meta[1]/@charset translate="no"
+/html/head[1]/title[1] translate="yes"
+/html/body[1] translate="yes"
+/html/body[1]/p[1] translate="yes"
+/html/body[1]/p[1]/code[1] translate="no"
+/html/body[1]/p[1]/code[1]/@id translate="no"
diff --git a/tests/ITS-2.0-Testsuite/expected/translate/xml/translate10xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate10xmloutput.txt
new file mode 100644
index 0000000..6268884
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate10xmloutput.txt
@@ -0,0 +1,17 @@
+/doc translate="no"
+/doc/its:rules[1] translate="no"
+/doc/its:rules[1]/@version translate="no"
+/doc/its:rules[1]/@xlink:href translate="no"
+/doc/its:rules[1]/@xlink:type translate="no"
+/doc/msg[1] translate="yes"
+/doc/msg[1]/@lcid translate="no"
+/doc/msg[1]/@num translate="no"
+/doc/msg[2] translate="no"
+/doc/msg[2]/@lcid translate="no"
+/doc/msg[2]/@num translate="no"
+/doc/msg[3] translate="no"
+/doc/msg[3]/@lcid translate="no"
+/doc/msg[3]/@num translate="no"
+/doc/msg[4] translate="no"
+/doc/msg[4]/@lcid translate="no"
+/doc/msg[4]/@num translate="no"
diff --git a/tests/ITS-2.0-Testsuite/expected/translate/xml/translate1xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate1xmloutput.txt
new file mode 100644
index 0000000..2e9eb33
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate1xmloutput.txt
@@ -0,0 +1,59 @@
+/myMetaDoc translate="yes"
+/myMetaDoc/head[1] translate="yes"
+/myMetaDoc/head[1]/its:rules[1] translate="yes"
+/myMetaDoc/head[1]/its:rules[1]/@version translate="no"
+/myMetaDoc/head[1]/its:rules[1]/its:translateRule[1] translate="yes"
+/myMetaDoc/head[1]/its:rules[1]/its:translateRule[1]/@selector translate="no"
+/myMetaDoc/head[1]/its:rules[1]/its:translateRule[1]/@translate translate="no"
+/myMetaDoc/head[1]/its:rules[1]/its:translateRule[2] translate="yes"
+/myMetaDoc/head[1]/its:rules[1]/its:translateRule[2]/@selector translate="no"
+/myMetaDoc/head[1]/its:rules[1]/its:translateRule[2]/@translate translate="no"
+/myMetaDoc/head[1]/its:rules[1]/its:translateRule[3] translate="yes"
+/myMetaDoc/head[1]/its:rules[1]/its:translateRule[3]/@selector translate="no"
+/myMetaDoc/head[1]/its:rules[1]/its:translateRule[3]/@translate translate="no"
+/myMetaDoc/head[1]/its:rules[1]/its:translateRule[4] translate="yes"
+/myMetaDoc/head[1]/its:rules[1]/its:translateRule[4]/@selector translate="no"
+/myMetaDoc/head[1]/its:rules[1]/its:translateRule[4]/@translate translate="no"
+/myMetaDoc/head[1]/its:rules[1]/its:translateRule[5] translate="yes"
+/myMetaDoc/head[1]/its:rules[1]/its:translateRule[5]/@selector translate="no"
+/myMetaDoc/head[1]/its:rules[1]/its:translateRule[5]/@translate translate="no"
+/myMetaDoc/head[1]/its:rules[1]/its:withinTextRule[1] translate="yes"
+/myMetaDoc/head[1]/its:rules[1]/its:withinTextRule[1]/@selector translate="no"
+/myMetaDoc/head[1]/its:rules[1]/its:withinTextRule[1]/@withinText translate="no"
+/myMetaDoc/body[1] translate="yes"
+/myMetaDoc/body[1]/par[1] translate="yes"
+/myMetaDoc/body[1]/par[1]/img[1] translate="yes"
+/myMetaDoc/body[1]/par[1]/img[1]/@alt translate="yes"
+/myMetaDoc/body[1]/par[1]/img[1]/@src translate="no"
+/myMetaDoc/body[1]/par[2] translate="yes"
+/myMetaDoc/body[1]/par[2]/@id translate="no"
+/myMetaDoc/body[1]/par[2]/@title translate="yes"
+/myMetaDoc/body[1]/par[2]/verbatim[1] translate="no"
+/myMetaDoc/body[1]/par[2]/verbatim[1]/img[1] translate="no"
+/myMetaDoc/body[1]/par[2]/verbatim[1]/img[1]/@alt translate="no"
+/myMetaDoc/body[1]/par[2]/verbatim[1]/img[1]/@src translate="no"
+/myMetaDoc/body[1]/insert[1] translate="yes"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1] translate="yes"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:封面[1] translate="yes"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:封面[1]/z:汇集[1] translate="yes"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:封面[1]/z:标题[1] translate="yes"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:封面[1]/z:作者[1] translate="no"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:章节[1] translate="yes"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:章节[1]/@数 translate="no"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:章节[1]/z:头注[1] translate="yes"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:章节[1]/z:段落识别[1] translate="yes"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:章节[1]/z:段落识别[1]/@id translate="no"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:章节[1]/z:段落识别[1]/z:姓名[1] translate="no"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:章节[1]/z:段落识别[1]/z:姓名[2] translate="no"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:躯[1] translate="yes"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:躯[1]/i:rules[1] translate="yes"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:躯[1]/i:rules[1]/@version translate="no"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:躯[1]/i:rules[1]/i:translateRule[1] translate="yes"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:躯[1]/i:rules[1]/i:translateRule[1]/@selector translate="no"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:躯[1]/i:rules[1]/i:translateRule[1]/@translate translate="no"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:躯[1]/i:rules[1]/i:translateRule[2] translate="yes"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:躯[1]/i:rules[1]/i:translateRule[2]/@selector translate="no"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:躯[1]/i:rules[1]/i:translateRule[2]/@translate translate="no"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:躯[1]/i:rules[1]/i:withinTextRule[1] translate="yes"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:躯[1]/i:rules[1]/i:withinTextRule[1]/@selector translate="no"
+/myMetaDoc/body[1]/insert[1]/z:书籍[1]/z:躯[1]/i:rules[1]/i:withinTextRule[1]/@withinText translate="no"
diff --git a/tests/ITS-2.0-Testsuite/expected/translate/xml/translate2xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate2xmloutput.txt
new file mode 100644
index 0000000..a11576f
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate2xmloutput.txt
@@ -0,0 +1,11 @@
+/myDoc translate="yes"
+/myDoc/head[1] translate="yes"
+/myDoc/head[1]/its:rules[1] translate="yes"
+/myDoc/head[1]/its:rules[1]/@version translate="no"
+/myDoc/head[1]/its:rules[1]/@xlink:href translate="no"
+/myDoc/head[1]/its:rules[1]/@xlink:type translate="no"
+/myDoc/body[1] translate="yes"
+/myDoc/body[1]/par[1] translate="yes"
+/myDoc/body[1]/par[1]/@id translate="no"
+/myDoc/body[1]/par[1]/@title translate="yes"
+/myDoc/body[1]/par[1]/code[1] translate="no"
diff --git a/tests/ITS-2.0-Testsuite/expected/translate/xml/translate3xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate3xmloutput.txt
new file mode 100644
index 0000000..6755ec8
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate3xmloutput.txt
@@ -0,0 +1,17 @@
+/myDoc translate="yes"
+/myDoc/head[1] translate="no"
+/myDoc/head[1]/its:rules[1] translate="no"
+/myDoc/head[1]/its:rules[1]/@version translate="no"
+/myDoc/head[1]/its:rules[1]/@xlink:href translate="no"
+/myDoc/head[1]/its:rules[1]/@xlink:type translate="no"
+/myDoc/head[1]/its:rules[1]/its:translateRule[1] translate="no"
+/myDoc/head[1]/its:rules[1]/its:translateRule[1]/@selector translate="no"
+/myDoc/head[1]/its:rules[1]/its:translateRule[1]/@translate translate="no"
+/myDoc/body[1] translate="yes"
+/myDoc/body[1]/par[1] translate="yes"
+/myDoc/body[1]/par[1]/@id translate="no"
+/myDoc/body[1]/par[1]/@title translate="yes"
+/myDoc/body[1]/par[1]/code[1] translate="no"
+/myDoc/body[1]/par[2] translate="yes"
+/myDoc/body[1]/par[2]/@id translate="no"
+/myDoc/body[1]/par[2]/@title translate="no"
diff --git a/tests/ITS-2.0-Testsuite/expected/translate/xml/translate4xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate4xmloutput.txt
new file mode 100644
index 0000000..3d22e7e
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate4xmloutput.txt
@@ -0,0 +1,10 @@
+/book translate="yes"
+/book/@its:version translate="no"
+/book/head[1] translate="yes"
+/book/head[1]/title[1] translate="yes"
+/book/body[1] translate="yes"
+/book/body[1]/p[1] translate="yes"
+/book/body[1]/p[1]/fexp[1] translate="no"
+/book/body[1]/p[1]/fexp[1]/@its:translate translate="no"
+/book/body[1]/p[1]/fexp[2] translate="no"
+/book/body[1]/p[1]/fexp[2]/@its:translate translate="no"
diff --git a/tests/ITS-2.0-Testsuite/expected/translate/xml/translate5xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate5xmloutput.txt
new file mode 100644
index 0000000..8c92f46
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate5xmloutput.txt
@@ -0,0 +1,11 @@
+/book translate="yes"
+/book/@its:version translate="no"
+/book/@xsi:noNamespaceSchemaLocation translate="no"
+/book/head[1] translate="yes"
+/book/head[1]/title[1] translate="yes"
+/book/body[1] translate="yes"
+/book/body[1]/p[1] translate="yes"
+/book/body[1]/p[1]/its:span[1] translate="no"
+/book/body[1]/p[1]/its:span[1]/@translate translate="no"
+/book/body[1]/p[1]/its:span[2] translate="no"
+/book/body[1]/p[1]/its:span[2]/@translate translate="no"
diff --git a/tests/ITS-2.0-Testsuite/expected/translate/xml/translate6xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate6xmloutput.txt
new file mode 100644
index 0000000..4ae42e5
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate6xmloutput.txt
@@ -0,0 +1,22 @@
+/doc translate="no"
+/doc/@its:version translate="no"
+/doc/head[1] translate="no"
+/doc/head[1]/its:rules[1] translate="no"
+/doc/head[1]/its:rules[1]/@version translate="no"
+/doc/head[1]/its:rules[1]/its:translateRule[1] translate="no"
+/doc/head[1]/its:rules[1]/its:translateRule[1]/@selector translate="no"
+/doc/head[1]/its:rules[1]/its:translateRule[1]/@translate translate="no"
+/doc/head[1]/its:rules[1]/its:translateRule[2] translate="no"
+/doc/head[1]/its:rules[1]/its:translateRule[2]/@selector translate="no"
+/doc/head[1]/its:rules[1]/its:translateRule[2]/@translate translate="no"
+/doc/info[1] translate="no"
+/doc/info[1]/item[1] translate="yes"
+/doc/info[1]/item[1]/@its:translate translate="no"
+/doc/info[1]/item[1]/@type translate="no"
+/doc/info[1]/item[1]/b[1] translate="no"
+/doc/info[1]/item[2] translate="no"
+/doc/info[1]/item[2]/@type translate="no"
+/doc/content[1] translate="no"
+/doc/content[1]/p[1] translate="yes"
+/doc/content[1]/p[1]/span[1] translate="no"
+/doc/content[1]/p[1]/span[2] translate="no"
diff --git a/tests/ITS-2.0-Testsuite/expected/translate/xml/translate7xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate7xmloutput.txt
new file mode 100644
index 0000000..8361cd3
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate7xmloutput.txt
@@ -0,0 +1,22 @@
+/doc translate="no"
+/doc/@its:version translate="no"
+/doc/head[1] translate="no"
+/doc/head[1]/its:rules[1] translate="no"
+/doc/head[1]/its:rules[1]/@version translate="no"
+/doc/head[1]/its:rules[1]/its:translateRule[1] translate="no"
+/doc/head[1]/its:rules[1]/its:translateRule[1]/@selector translate="no"
+/doc/head[1]/its:rules[1]/its:translateRule[1]/@translate translate="no"
+/doc/head[1]/its:rules[1]/its:translateRule[2] translate="no"
+/doc/head[1]/its:rules[1]/its:translateRule[2]/@selector translate="no"
+/doc/head[1]/its:rules[1]/its:translateRule[2]/@translate translate="no"
+/doc/info[1] translate="no"
+/doc/info[1]/item[1] translate="yes"
+/doc/info[1]/item[1]/@its:translate translate="no"
+/doc/info[1]/item[1]/@type translate="no"
+/doc/info[1]/item[1]/b[1] translate="yes"
+/doc/info[1]/item[2] translate="no"
+/doc/info[1]/item[2]/@type translate="no"
+/doc/content[1] translate="no"
+/doc/content[1]/p[1] translate="yes"
+/doc/content[1]/p[1]/span[1] translate="yes"
+/doc/content[1]/p[1]/span[2] translate="yes"
diff --git a/tests/ITS-2.0-Testsuite/expected/translate/xml/translate8xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate8xmloutput.txt
new file mode 100644
index 0000000..68c3737
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate8xmloutput.txt
@@ -0,0 +1,28 @@
+/topic translate="no"
+/topic/@id translate="no"
+/topic/title[1] translate="no"
+/topic/prolog[1] translate="no"
+/topic/prolog[1]/its:rules[1] translate="no"
+/topic/prolog[1]/its:rules[1]/@version translate="no"
+/topic/prolog[1]/its:rules[1]/its:translateRule[1] translate="no"
+/topic/prolog[1]/its:rules[1]/its:translateRule[1]/@selector translate="no"
+/topic/prolog[1]/its:rules[1]/its:translateRule[1]/@translate translate="no"
+/topic/prolog[1]/its:rules[1]/its:translateRule[2] translate="no"
+/topic/prolog[1]/its:rules[1]/its:translateRule[2]/@selector translate="no"
+/topic/prolog[1]/its:rules[1]/its:translateRule[2]/@translate translate="no"
+/topic/body[1] translate="no"
+/topic/body[1]/dl[1] translate="no"
+/topic/body[1]/dl[1]/dlentry[1] translate="no"
+/topic/body[1]/dl[1]/dlentry[1]/@id translate="no"
+/topic/body[1]/dl[1]/dlentry[1]/dt[1] translate="no"
+/topic/body[1]/dl[1]/dlentry[1]/dd[1] translate="no"
+/topic/body[1]/dl[1]/dlentry[1]/dd[1]/term[1] translate="no"
+/topic/body[1]/p[1] translate="yes"
+/topic/body[1]/ul[1] translate="no"
+/topic/body[1]/ul[1]/li[1] translate="no"
+/topic/body[1]/ul[1]/li[2] translate="no"
+/topic/body[1]/ul[1]/li[3] translate="no"
+/topic/body[1]/ul[1]/li[4] translate="no"
+/topic/body[1]/p[2] translate="yes"
+/topic/body[1]/p[2]/ph[1] translate="no"
+/topic/body[1]/p[2]/ph[1]/@xml:lang translate="no"
diff --git a/tests/ITS-2.0-Testsuite/expected/translate/xml/translate9xmloutput.txt b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate9xmloutput.txt
new file mode 100644
index 0000000..760822e
--- /dev/null
+++ b/tests/ITS-2.0-Testsuite/expected/translate/xml/translate9xmloutput.txt
@@ -0,0 +1,23 @@
+/doc translate="no"
+/doc/its:rules[1] translate="no"
+/doc/its:rules[1]/@version translate="no"
+/doc/its:rules[1]/its:param[1] translate="no"
+/doc/its:rules[1]/its:param[1]/@name translate="no"
+/doc/its:rules[1]/its:translateRule[1] translate="no"
+/doc/its:rules[1]/its:translateRule[1]/@selector translate="no"
+/doc/its:rules[1]/its:translateRule[1]/@translate translate="no"
+/doc/its:rules[1]/its:translateRule[2] translate="no"
+/doc/its:rules[1]/its:translateRule[2]/@selector translate="no"
+/doc/its:rules[1]/its:translateRule[2]/@translate translate="no"
+/doc/msg[1] translate="yes"
+/doc/msg[1]/@lcid translate="no"
+/doc/msg[1]/@num translate="no"
+/doc/msg[2] translate="no"
+/doc/msg[2]/@lcid translate="no"
+/doc/msg[2]/@num translate="no"
+/doc/msg[3] translate="no"
+/doc/msg[3]/@lcid translate="no"
+/doc/msg[3]/@num translate="no"
+/doc/msg[4] translate="no"
+/doc/msg[4]/@lcid translate="no"
+/doc/msg[4]/@num translate="no"