tests/type/namespace/_namespace-test-set.xml
author Michael Kay <mike@saxonica.com>
Fri, 14 Dec 2018 23:38:22 +0000
changeset 1930 c4dff19ec90a
parent 1884 86f29c06b4b4
child 1947 87e0d599a2e4
permissions -rw-r--r--
Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     2
<test-set xmlns:xs="http://www.w3.org/2001/XMLSchema"
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
     3
   xmlns="http://www.w3.org/2012/10/xslt-test-catalog" name="namespace">
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     4
   <description>Tests namespace</description>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
     5
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     6
   <environment name="namespace-02">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     7
      <source role=".">
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
     8
         <content><![CDATA[<doc/>]]></content>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     9
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    10
   </environment>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
    11
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    12
   <environment name="namespace-04">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    13
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    14
         <content><![CDATA[<foo xmlns="http://bogus" up="down"/>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    15
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    16
   </environment>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
    17
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
    18
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
    19
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    20
   <environment name="namespace-08">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    21
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    22
         <content><![CDATA[<AAA>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    23
  <XXX/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    24
  <YYY xmlns="http://yyy/"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    25
</AAA>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    26
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    27
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    28
   <environment name="namespace-09">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    29
      <source role="." file="namespace-09.xml"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    30
   </environment>
413
5e41c43bf85d Move namespace-alias tests to new test-set
Michael Kay <mike@saxonica.com>
parents: 345
diff changeset
    31
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    32
   <environment name="namespace-11">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    33
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    34
         <content><![CDATA[<doc/>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    35
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    36
   </environment>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
    37
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    38
   <environment name="namespace-14">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    39
      <source role="." file="namespace-14.xml"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    40
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    41
   <environment name="namespace-15">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    42
      <source role="." file="namespace-15.xml"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    43
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    44
   <environment name="namespace-16">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    45
      <source role=".">
89
35b77beb904f Removed whitespace
tmills
parents: 72
diff changeset
    46
         <content><![CDATA[<doc><a:a xmlns:a="http://a.uri/"> </a:a><b:a xmlns:b="http://b.uri/"> </b:a><A:b xmlns:A="http://a.uri/"> </A:b><B:b xmlns:B="http://b.uri/"> </B:b></doc>]]></content>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    47
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    48
   </environment>
1884
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
    49
   
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
    50
   <environment name="namespace-19">
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
    51
      <source role="." file="namespace-19a.xml"/>
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
    52
      <source file="namespace-19b.xml"/>
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
    53
   </environment>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
    54
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    55
   <environment name="namespace-23">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    56
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    57
         <content><![CDATA[<e xmlns:my="http://my.uri/" att="att" my:att="my:att">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    58
  <f/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    59
  <my:g/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    60
  <?api a processing instruction?>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    61
  <!-- a comment -->
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    62
</e>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    63
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    64
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    65
   <environment name="namespace-24">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    66
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    67
         <content><![CDATA[<e xmlns:my="http://my.uri/" att="att" my:att="my:att" xmlns="http://default.uri/">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    68
  <f xmlns="" xmlns:your="http://your.uri/"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    69
</e>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    70
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    71
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    72
   <environment name="namespace-25">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    73
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    74
         <content><![CDATA[<doc>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    75
</doc>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    76
]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    77
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    78
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    79
   <environment name="namespace-26">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    80
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    81
         <content><![CDATA[<data/>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    82
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    83
   </environment>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
    84
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    85
   <environment name="namespace-28">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    86
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    87
         <content><![CDATA[<doc xmlns:one="http://one.uri/" xmlns="http://default.uri/">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    88
  <chap xmlns="" att-one="text">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    89
    <data-one>one:value</data-one>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    90
    <data-two>value</data-two>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    91
  </chap>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    92
</doc>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    93
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    94
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    95
   <environment name="namespace-29">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    96
      <source role="." file="namespace-29.xml"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    97
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    98
   <environment name="namespace-30">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    99
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   100
         <content><![CDATA[  <s:complexType xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns="http://t.com/">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   101
    <s:element ref="abcd" xmlns=""/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   102
  </s:complexType>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   103
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   104
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   105
   <environment name="namespace-31">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   106
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   107
         <content><![CDATA[<doc>x</doc>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   108
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   109
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   110
   <environment name="namespace-32">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   111
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   112
         <content><![CDATA[<doc>x</doc>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   113
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   114
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   115
   <environment name="namespace-33">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   116
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   117
         <content><![CDATA[<doc>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   118
</doc>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   119
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   120
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   121
   <environment name="namespace-34">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   122
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   123
         <content><![CDATA[<doc>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   124
  <a/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   125
</doc>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   126
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   127
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   128
   <environment name="namespace-35">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   129
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   130
         <content><![CDATA[<doc>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   131
<a>1</a>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   132
<b>2</b>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   133
<c>3</c>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   134
</doc>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   135
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   136
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   137
   <environment name="namespace-36">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   138
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   139
         <content><![CDATA[<doc>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   140
<a>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   141
<b/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   142
</a>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   143
<c/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   144
</doc>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   145
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   146
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   147
   <environment name="namespace-37">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   148
      <source role="." file="namespace-37.xml"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   149
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   150
   <environment name="namespace-38">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   151
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   152
         <content><![CDATA[<doc>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   153
  <a at1="test"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   154
</doc>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   155
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   156
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   157
   <environment name="namespace-39">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   158
      <source role="." file="namespace-39.xml"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   159
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   160
   <environment name="namespace-40">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   161
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   162
         <content><![CDATA[<docs>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   163
<doc/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   164
</docs>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   165
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   166
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   167
   <environment name="namespace-41">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   168
      <source role="." file="namespace-41.xml"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   169
   </environment>
413
5e41c43bf85d Move namespace-alias tests to new test-set
Michael Kay <mike@saxonica.com>
parents: 345
diff changeset
   170
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   171
   <environment name="namespace-43">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   172
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   173
         <content><![CDATA[<doc>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   174
  <n:a xmlns:n="http://example.com">content</n:a>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   175
</doc>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   176
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   177
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   178
   <environment name="namespace-44">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   179
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   180
         <content><![CDATA[<doc>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   181
  <noprefix>elementName</noprefix>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   182
  <prefix>someprefix:elementName</prefix>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   183
  <namespace>http://otherspace</namespace>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   184
</doc>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   185
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   186
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   187
   <environment name="namespace-45">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   188
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   189
         <content><![CDATA[<doc/>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   190
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   191
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   192
   <environment name="namespace-46">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   193
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   194
         <content><![CDATA[ 
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   195
<doc xmlns="http://example.com"/>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   196
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   197
   </environment>
413
5e41c43bf85d Move namespace-alias tests to new test-set
Michael Kay <mike@saxonica.com>
parents: 345
diff changeset
   198
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   199
   <environment name="namespace-48">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   200
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   201
         <content><![CDATA[<doc>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   202
  boo
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   203
</doc>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   204
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   205
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   206
   <environment name="namespace-49">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   207
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   208
         <content><![CDATA[<doc xmlns:xem="http://www.psol.com/xtension/1.0">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   209
  <foo>xyz</foo>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   210
  <xem:foo>www.psol.com</xem:foo>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   211
  <foo>zyx</foo>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   212
</doc>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   213
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   214
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   215
   <environment name="namespace-50">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   216
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   217
         <content><![CDATA[<doc>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   218
</doc>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   219
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   220
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   221
   <environment name="namespace-51">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   222
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   223
         <content><![CDATA[<foo/>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   224
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   225
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   226
   <environment name="namespace-52">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   227
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   228
         <content><![CDATA[ 
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   229
<doc>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   230
</doc>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   231
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   232
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   233
   <environment name="namespace-53">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   234
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   235
         <content><![CDATA[ 
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   236
<?a-pi some data?>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   237
<doc>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   238
  test
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   239
</doc>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   240
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   241
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   242
   <environment name="namespace-54">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   243
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   244
         <content><![CDATA[ 
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   245
<doc>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   246
  <!-- This is the 1st comment -->
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   247
  text-in-doc
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   248
  <inner>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   249
    inner-text
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   250
    <!-- This is the 2nd comment -->
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   251
    <sub>subtext</sub>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   252
  </inner>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   253
  text-in-doc2
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   254
</doc>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   255
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   256
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   257
   <environment name="namespace-55">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   258
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   259
         <content><![CDATA[ 
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   260
<doc>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   261
  text-in-doc
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   262
  <inner>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   263
    inner-text
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   264
    <sub>subtext</sub>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   265
  </inner>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   266
  text-in-doc2
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   267
</doc>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   268
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   269
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   270
   <environment name="namespace-56">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   271
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   272
         <content><![CDATA[<a xmlns="http://test/"
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   273
 xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   274
</a>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   275
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   276
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   277
   <environment name="namespace-57">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   278
      <source role="." file="namespace-57.xml"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   279
   </environment>
413
5e41c43bf85d Move namespace-alias tests to new test-set
Michael Kay <mike@saxonica.com>
parents: 345
diff changeset
   280
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   281
   <environment name="namespace-59">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   282
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   283
         <content><![CDATA[<one>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   284
  <two>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   285
    <three>drei</three>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   286
  </two>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   287
</one>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   288
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   289
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   290
   <environment name="namespace-60">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   291
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   292
         <content><![CDATA[<docs>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   293
  <a href="http://www.ped.com">Out1</a>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   294
  <b href="">Out2</b>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   295
  <c href="http://www.bdd.com">Out3</c>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   296
</docs>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   297
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   298
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   299
   <environment name="namespace-61">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   300
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   301
         <content><![CDATA[<doc>boo</doc>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   302
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   303
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   304
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   305
   <test-case name="namespace-0101">
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   306
      <description>name attribute of xsl:attribute; undeclared namespace prefix</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   307
      <created by="Michael Kay" on="2012-10-30"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   308
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   309
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   310
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   311
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   312
         <stylesheet file="namespace-0101.xsl"/>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   313
         <initial-template name="main"/>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   314
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   315
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   316
         <error code="XTDE0860"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   317
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   318
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   319
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   320
   <test-case name="namespace-0201">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   321
      <description>Test namespace attribute of xsl:attribute</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   322
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   323
      <environment ref="namespace-02"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   324
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   325
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   326
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   327
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   328
         <stylesheet file="namespace-0201.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   329
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   330
      <result>
72
c638a1ff6993 remove indent="yes" from tests using assert-xml
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   331
         <assert-xml><![CDATA[<out xmlns:anamespace="http://foo.com/"><p anamespace:test="true"/><p xmlns:ns0="http://baz.com/" ns0:test="true"/></out>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   332
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   333
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   334
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   335
   <test-case name="namespace-0202">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   336
      <description>test namespace attribute of xsl:element</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   337
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   338
      <environment ref="namespace-02"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   339
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   340
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   341
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   342
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   343
         <stylesheet file="namespace-0202.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   344
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   345
      <result>
72
c638a1ff6993 remove indent="yes" from tests using assert-xml
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   346
         <assert-xml><![CDATA[<out xmlns:anamespace="http://foo.com/"><p><test xmlns="http://foo.com/"/></p><p><test xmlns="http://baz.com/"/></p></out>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   347
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   348
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   349
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   350
   <test-case name="namespace-0301">
1471
bad6ffefd756 Fix bug 29810
Michael Kay <mike@saxonica.com>
parents: 1435
diff changeset
   351
      <description>Multiple attributes with same name, different namespaces.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   352
      <created by="Michael Kay" on="2012-11-07"/>
1471
bad6ffefd756 Fix bug 29810
Michael Kay <mike@saxonica.com>
parents: 1435
diff changeset
   353
      <modified by="Tim Mills" on="2012-12-06" change="Removed whitespace, corrected expected result"/>
bad6ffefd756 Fix bug 29810
Michael Kay <mike@saxonica.com>
parents: 1435
diff changeset
   354
      <modified by="Michael Kay" on="2016-10-20" change="Fix bug 29810"/>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   355
      <environment>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   356
         <source role="." file="namespace-03.xml"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   357
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   358
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   359
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   360
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   361
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   362
         <stylesheet file="namespace-0301.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   363
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   364
      <result>
90
7be7de0f2f52 Fixed whitespace in namespace-0301
tmills
parents: 89
diff changeset
   365
         <assert-xml><![CDATA[<out xmlns:c="http://y.com" xmlns:a="http://z.com" xmlns:b="http://x.com" t1="http://z.com:t1" t2="http://z.com:t2"><foo t1="http://y.com:t1" t2="http://z.com:t2"/></out>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   366
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   367
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   368
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   369
   <test-case name="namespace-0401">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   370
      <description>Tests "that default namespaces do not apply directly to
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   371
         attributes."</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   372
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   373
      <environment ref="namespace-04"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   374
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   375
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   376
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   377
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   378
         <stylesheet file="namespace-0401.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   379
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   380
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   381
         <assert-xml><![CDATA[<foo xmlns:bogus="http://bogus"/>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   382
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   383
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   384
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   385
   <test-case name="namespace-0402">
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   386
      <description>Test that default namespaces do not apply directly to attributes.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   387
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   388
      <environment ref="namespace-04"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   389
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   390
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   391
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   392
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   393
         <stylesheet file="namespace-0402.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   394
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   395
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   396
         <assert-xml><![CDATA[<foo xmlns:bogus="http://bogus"/>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   397
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   398
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   399
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   400
   <test-case name="namespace-0501">
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   401
      <description>Test of namespace stuff</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   402
      <created by="Michael Kay" on="2012-11-07"/>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   403
      <environment>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   404
         <source role="." file="namespace-05.xml"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   405
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   406
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   407
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   408
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   409
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   410
         <stylesheet file="namespace-0501.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   411
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   412
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   413
         <assert-xml file="namespace-0501.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   414
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   415
   </test-case>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   416
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   417
   <environment name="namespace-06">
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   418
      <source role=".">
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   419
         <content><![CDATA[<doc><q xmlns:a="http://a.uri/" xmlns:b="http://b.uri/" xmlns:c="http://c.uri/"/></doc>]]></content>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   420
      </source>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   421
      <stylesheet file="namespace-0601.xsl"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   422
   </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   423
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   424
   <test-case name="namespace-0601">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   425
      <description>Test copying of namespace nodes REF: XSLT 1.0 Errata</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   426
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   427
      <environment ref="namespace-06"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   428
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   429
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   430
         <feature value="namespace_axis"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   431
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   432
      <test>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   433
         <initial-mode name="a"/>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   434
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   435
      <result>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   436
         <assert-xml><![CDATA[<out xmlns:a="http://a.uri/" xmlns:c="http://c.uri/" xmlns:b="http://b.uri/"/>]]></assert-xml>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   437
      </result>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   438
   </test-case>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   439
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   440
   <test-case name="namespace-0602">
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   441
      <description>Test copying of namespace nodes REF: XSLT 1.0 Errata</description>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   442
      <created by="Michael Kay" on="2012-11-07"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   443
      <environment ref="namespace-06"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   444
      <dependencies>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   445
         <spec value="XSLT10+"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   446
         <feature value="namespace_axis"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   447
      </dependencies>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   448
      <test>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   449
         <initial-mode name="b"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   450
      </test>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   451
      <result>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   452
         <assert-xml><![CDATA[<out xmlns:a="http://a.uri/"/>]]></assert-xml>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   453
      </result>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   454
   </test-case>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   455
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   456
   <test-case name="namespace-0603">
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   457
      <description>Test copying of namespace nodes REF: XSLT 1.0 Errata</description>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   458
      <created by="Michael Kay" on="2012-11-07"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   459
      <environment ref="namespace-06"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   460
      <dependencies>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   461
         <spec value="XSLT10+"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   462
         <feature value="namespace_axis"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   463
      </dependencies>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   464
      <test>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   465
         <initial-mode name="c"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   466
      </test>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   467
      <result>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   468
         <assert-xml><![CDATA[<out xmlns:a="http://a.uri/" xmlns:c="http://c.uri/" xmlns:b="http://b.uri/"/>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   469
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   470
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   471
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   472
   <test-case name="namespace-0701">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   473
      <description>test union operation applied to namespace nodes</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   474
      <created by="Michael Kay" on="2012-11-07"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   475
      <modified by="John Lumley" on="2014-09-02" change="Declared serialization requirement"/>
1284
b49507438ad2 Rewrite namespace-0701 to not serialize
Michael Kay <mike@saxonica.com>
parents: 921
diff changeset
   476
      <modified by="Michael Kay" on="2016-03-11" change="Remove serialization requirement"/>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   477
      <environment>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   478
         <source role="." file="namespace-07.xml"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   479
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   480
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   481
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   482
         <feature value="namespace_axis"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   483
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   484
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   485
         <stylesheet file="namespace-0701.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   486
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   487
      <result>
1284
b49507438ad2 Rewrite namespace-0701 to not serialize
Michael Kay <mike@saxonica.com>
parents: 921
diff changeset
   488
         <assert-xml><![CDATA[<out
b49507438ad2 Rewrite namespace-0701 to not serialize
Michael Kay <mike@saxonica.com>
parents: 921
diff changeset
   489
            ><A><z/><z/><z/><z/><z>xml</z><z>xml</z><z>xml</z><z>xsl</z><z>xsl</z><z>xsl</z><z>xsl:apply-templates</z><z>xsl:template</z><z>xsl:transform</z><a>13 combined nodes</a></A
b49507438ad2 Rewrite namespace-0701 to not serialize
Michael Kay <mike@saxonica.com>
parents: 921
diff changeset
   490
            ><B><z>xml</z><z>xml</z><z>xml</z><z>xsl</z><z>xsl</z><z>xsl</z><b>6 namespace nodes</b></B
b49507438ad2 Rewrite namespace-0701 to not serialize
Michael Kay <mike@saxonica.com>
parents: 921
diff changeset
   491
            ><C><z>xsl:transform</z><z/><z>xsl:template</z><z/><z>xsl:apply-templates</z><z/><z/><c>7 node()s</c></C></out>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   492
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   493
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   494
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   495
   <test-case name="namespace-0801">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   496
      <description/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   497
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   498
      <environment ref="namespace-08"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   499
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   500
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   501
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   502
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   503
         <stylesheet file="namespace-0801.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   504
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   505
      <result>
72
c638a1ff6993 remove indent="yes" from tests using assert-xml
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   506
         <assert-xml><![CDATA[<out xmlns="http://dummy/"><Variable><XXX xmlns=""/><YYY xmlns="http://yyy/"/></Variable
c638a1ff6993 remove indent="yes" from tests using assert-xml
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   507
            ><Direct><XXX xmlns=""/><YYY xmlns="http://yyy/"/></Direct></out>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   508
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   509
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   510
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   511
   <test-case name="namespace-0802">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   512
      <description>Test use of namespace="" in xsl:element and xsl:attribute The spec says the
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   513
         element or attribute should go in the null namespace (Bug Saxon 6.2/005)</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   514
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   515
      <environment ref="namespace-08"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   516
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   517
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   518
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   519
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   520
         <stylesheet file="namespace-0802.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   521
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   522
      <result>
72
c638a1ff6993 remove indent="yes" from tests using assert-xml
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   523
         <assert-xml><![CDATA[<doc xmlns:p="http://dummy/"><p:part1><e/><e/><e a="1"/><e a="2"/></p:part1
c638a1ff6993 remove indent="yes" from tests using assert-xml
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   524
            ><part2><e/><e/><e a="3"/><e a="4"/></part2
c638a1ff6993 remove indent="yes" from tests using assert-xml
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   525
            ><part3 xmlns="http://something/"><e xmlns=""/><e xmlns=""/><e a="5"/><e a="6"/></part3></doc>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   526
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   527
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   528
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   529
   <test-case name="namespace-0901">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   530
      <description>Test namespace nodes. Note, this test is now superseded by nspc12-17 which break
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   531
         it up into parts, for ease of analysing the results</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   532
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   533
      <environment ref="namespace-09"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   534
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   535
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   536
         <feature value="namespace_axis"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   537
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   538
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   539
         <stylesheet file="namespace-0901.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   540
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   541
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   542
         <assert-xml file="namespace-0901.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   543
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   544
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   545
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   546
   <test-case name="namespace-0902">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   547
      <description> Test generate-id() on namespace nodes. modified 2002-08-08 to give reproducable
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   548
         results. The test now simply checks that all the namespace nodes have distinct id values
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   549
         modified 2002-08-08 to give even more reproducable results. Output is now well-formed, and
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   550
         sorted. </description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   551
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   552
      <environment ref="namespace-09"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   553
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   554
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   555
         <feature value="namespace_axis"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   556
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   557
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   558
         <stylesheet file="namespace-0902.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   559
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   560
      <result>
72
c638a1ff6993 remove indent="yes" from tests using assert-xml
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   561
         <assert-xml><![CDATA[<out><namespace name="" value="http://chap-default.uri/" count="1"
c638a1ff6993 remove indent="yes" from tests using assert-xml
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   562
            /><namespace name="" value="http://default.uri/" count="1"
c638a1ff6993 remove indent="yes" from tests using assert-xml
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   563
            /><namespace name="xml" value="http://www.w3.org/XML/1998/namespace" count="1"
c638a1ff6993 remove indent="yes" from tests using assert-xml
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   564
            /><namespace name="xml" value="http://www.w3.org/XML/1998/namespace" count="1"
c638a1ff6993 remove indent="yes" from tests using assert-xml
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   565
            /><namespace name="xml" value="http://www.w3.org/XML/1998/namespace" count="1"
c638a1ff6993 remove indent="yes" from tests using assert-xml
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   566
            /><namespace name="z" value="http://new-z.uri/" count="1"
c638a1ff6993 remove indent="yes" from tests using assert-xml
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   567
            /><namespace name="z" value="http://new-z.uri/" count="1"
c638a1ff6993 remove indent="yes" from tests using assert-xml
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   568
            /><namespace name="z" value="http://z.uri/" count="1"/></out>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   569
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   570
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   571
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   572
   <test-case name="namespace-0903">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   573
      <description>Test copying of namespace nodes</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   574
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   575
      <environment ref="namespace-09"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   576
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   577
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   578
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   579
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   580
         <stylesheet file="namespace-0903.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   581
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   582
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   583
         <assert-xml file="namespace-0903.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   584
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   585
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   586
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   587
   <test-case name="namespace-0904">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   588
      <description>Test copying of namespace nodes</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   589
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   590
      <environment ref="namespace-09"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   591
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   592
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   593
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   594
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   595
         <stylesheet file="namespace-0904.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   596
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   597
      <result>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   598
         <assert-xml><![CDATA[<out><chap xmlns:z="http://new-z.uri/" xmlns="http://chap-default.uri/">CC</chap></out>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   599
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   600
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   601
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   602
   <test-case name="namespace-0905">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   603
      <description>Test copying of namespace nodes</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   604
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   605
      <environment ref="namespace-09"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   606
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   607
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   608
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   609
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   610
         <stylesheet file="namespace-0905.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   611
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   612
      <result>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   613
         <assert-xml><![CDATA[<out><para xmlns:z="http://new-z.uri/">PP</para></out>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   614
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   615
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   616
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   617
   <test-case name="namespace-0906">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   618
      <description>Test copying of namespace nodes from a literal result element</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   619
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   620
      <environment ref="namespace-09"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   621
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   622
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   623
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   624
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   625
         <stylesheet file="namespace-0906.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   626
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   627
      <result>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   628
         <assert-xml><![CDATA[<doc xmlns="http://default.uri/" xmlns:z="http://z.uri/"><chap xmlns="http://chap-default.uri/" xmlns:z="http://new-z.uri/"><para xmlns=""/></chap></doc>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   629
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   630
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   631
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   632
   <test-case name="namespace-0907">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   633
      <description>List all the namespace nodes for an element</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   634
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   635
      <environment ref="namespace-09"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   636
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   637
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   638
         <feature value="namespace_axis"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   639
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   640
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   641
         <stylesheet file="namespace-0907.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   642
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   643
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   644
         <assert-xml><![CDATA[<out> = http://chap-default.uri/;
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   645
    xml = http://www.w3.org/XML/1998/namespace;
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   646
    z = http://new-z.uri/;
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   647
    </out>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   648
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   649
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   650
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   651
   <test-case name="namespace-0908">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   652
      <description>List all the namespace nodes for an element</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   653
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   654
      <environment ref="namespace-09"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   655
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   656
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   657
         <feature value="namespace_axis"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   658
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   659
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   660
         <stylesheet file="namespace-0908.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   661
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   662
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   663
         <assert-xml><![CDATA[<out>;
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   664
xml = http://www.w3.org/XML/1998/namespace;
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   665
z = http://new-z.uri/;
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   666
</out>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   667
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   668
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   669
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   670
   <test-case name="namespace-0909">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   671
      <description>List the id's of the namespace nodes for an element modified 2002-08-08 to give
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   672
         reproducable results. The test now outputs the id modulo the document id</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   673
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   674
      <environment ref="namespace-09"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   675
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   676
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   677
         <feature value="namespace_axis"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   678
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   679
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   680
         <stylesheet file="namespace-0909.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   681
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   682
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   683
         <assert-xml><![CDATA[<out>8</out>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   684
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   685
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   686
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   687
   <test-case name="namespace-0910">
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   688
      <description>Check the parentage of the namespace nodes for an element</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   689
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   690
      <environment ref="namespace-09"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   691
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   692
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   693
         <feature value="namespace_axis"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   694
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   695
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   696
         <stylesheet file="namespace-0910.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   697
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   698
      <result>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   699
         <assert-xml><![CDATA[<out><check>true</check><check>true</check><check>true</check></out>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   700
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   701
   </test-case>
1930
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   702
   
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   703
   <test-case name="namespace-0911">
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   704
      <description>Check that exclude-result-prefixes applies to URIs, not to prefixes</description>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   705
      <created by="Michael Kay" on="2018-11-20"/>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   706
      <environment ref="namespace-09"/>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   707
      <dependencies>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   708
         <spec value="XSLT20+"/>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   709
      </dependencies>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   710
      <test>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   711
         <stylesheet file="namespace-0911.xsl"/>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   712
         <initial-template name="main"/>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   713
      </test>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   714
      <result>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   715
         <all-of>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   716
            <assert>/alpha/namespace::b = 'b.uri'</assert>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   717
            <assert>/alpha/beta/namespace::c = 'e.uri'</assert>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   718
            <assert>empty(/alpha/namespace::a)</assert>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   719
            <assert>empty(/alpha/namespace::c)</assert>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   720
            <assert>empty(/alpha/beta/namespace::a)</assert>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   721
            <assert>/alpha/beta/namespace::b = 'b.uri'</assert>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   722
         </all-of>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   723
        
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   724
      </result>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents: 1884
diff changeset
   725
   </test-case>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   726
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   727
   <test-case name="namespace-1101">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   728
      <description>TEST xsl:namespace (XSLT 2.0)</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   729
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   730
      <environment ref="namespace-11"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   731
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   732
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   733
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   734
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   735
         <stylesheet file="namespace-1101.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   736
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   737
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   738
         <assert-xml><![CDATA[<out xmlns:zz="http://a-namespace-uri/" new="at XSLT 2.0"/>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   739
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   740
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   741
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   742
   <test-case name="namespace-1102">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   743
      <description>attribute must have prefix submitted by Eric Bratton, shows bug in Saxon
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   744
         6.5</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   745
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   746
      <environment ref="namespace-11"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   747
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   748
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   749
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   750
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   751
         <stylesheet file="namespace-1102.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   752
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   753
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   754
         <assert-xml><![CDATA[<newdoc6 xmlns="http://NotDefault/" xmlns:ns0="http://NotDefault/" ns0:third="3rd"/>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   755
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   756
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   757
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   758
   <test-case name="namespace-1103">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   759
      <description>check that the namespace::xml node is accessible</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   760
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   761
      <environment ref="namespace-11"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   762
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   763
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   764
         <feature value="namespace_axis"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   765
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   766
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   767
         <stylesheet file="namespace-1103.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   768
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   769
      <result>
72
c638a1ff6993 remove indent="yes" from tests using assert-xml
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   770
         <assert-xml><![CDATA[<out><ans count="1" name="xml" value="http://www.w3.org/XML/1998/namespace"/></out>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   771
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   772
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   773
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   774
   <test-case name="namespace-1104">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   775
      <description>TEST xsl:namespace declaring the default namespace (XSLT 2.0)</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   776
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   777
      <environment ref="namespace-11"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   778
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   779
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   780
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   781
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   782
         <stylesheet file="namespace-1104.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   783
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   784
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   785
         <assert-xml><![CDATA[<x:out xmlns:x="http://some-uri/" xmlns="http://a-namespace-uri/" new="at XSLT 2.0"/>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   786
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   787
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   788
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   789
   <test-case name="namespace-1201">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   790
      <description/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   791
      <created by="Michael Kay" on="2012-11-07"/>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   792
      <environment>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   793
         <source role=".">
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   794
            <content><![CDATA[<doc>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   795
 <a:a xmlns:a="http://a.uri/"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   796
 <b:a xmlns:b="http://b.uri/"/> 
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   797
 <A:b xmlns:A="http://a.uri/"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   798
 <B:b xmlns:B="http://b.uri/"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   799
</doc>]]></content>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   800
         </source>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   801
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   802
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   803
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   804
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   805
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   806
         <stylesheet file="namespace-1201.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   807
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   808
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   809
         <assert-xml><![CDATA[<o><a:a xmlns:a="http://a.uri/"/><A:b xmlns:A="http://a.uri/"/></o>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   810
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   811
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   812
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   813
   <test-case name="namespace-1301">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   814
      <description/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   815
      <created by="Michael Kay" on="2012-11-07"/>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   816
      <environment>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   817
         <source role=".">
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   818
            <content><![CDATA[<doc>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   819
 <a:a xmlns:a="http://a.uri/"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   820
 <b:a xmlns:b="http://b.uri/"/> 
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   821
 <A:b xmlns:A="http://a.uri/"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   822
 <B:b xmlns:B="http://b.uri/"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   823
 <a/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   824
</doc>]]></content>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   825
         </source>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   826
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   827
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   828
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   829
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   830
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   831
         <stylesheet file="namespace-1301.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   832
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   833
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   834
         <assert-xml><![CDATA[<o><a:a xmlns:a="http://a.uri/"/><b:a xmlns:b="http://b.uri/"/><a/></o>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   835
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   836
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   837
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   838
   <test-case name="namespace-1401">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   839
      <description/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   840
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   841
      <environment ref="namespace-14"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   842
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   843
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   844
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   845
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   846
         <stylesheet file="namespace-1401.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   847
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   848
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   849
         <assert-xml><![CDATA[<o>1,3</o>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   850
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   851
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   852
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   853
   <test-case name="namespace-1402">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   854
      <description/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   855
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   856
      <environment ref="namespace-14"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   857
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   858
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   859
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   860
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   861
         <stylesheet file="namespace-1402.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   862
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   863
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   864
         <assert-xml><![CDATA[<o>1,2,5</o>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   865
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   866
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   867
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   868
   <test-case name="namespace-1403">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   869
      <description/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   870
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   871
      <environment ref="namespace-14"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   872
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   873
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   874
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   875
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   876
         <stylesheet file="namespace-1403.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   877
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   878
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   879
         <assert-xml><![CDATA[<o xmlns:a="http://a.uri/" xmlns:b="http://b.uri/">[a:a][][A:b][]5</o>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   880
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   881
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   882
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   883
   <test-case name="namespace-1404">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   884
      <description/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   885
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   886
      <environment ref="namespace-14"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   887
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   888
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   889
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   890
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   891
         <stylesheet file="namespace-1404.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   892
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   893
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   894
         <assert-xml><![CDATA[<o xmlns:a="http://a.uri/" xmlns:b="http://b.uri/">[a:a][b:a][][][a]</o>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   895
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   896
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   897
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   898
   <test-case name="namespace-1501">
1299
710eb0004191 Add a test description
Michael Kay <mike@saxonica.com>
parents: 1284
diff changeset
   899
      <description>Wildcard node-tests on namespaced attributes</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   900
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   901
      <environment ref="namespace-15"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   902
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   903
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   904
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   905
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   906
         <stylesheet file="namespace-1501.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   907
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   908
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   909
         <assert-xml><![CDATA[<o xmlns:a="http://a.uri/" xmlns:b="http://b.uri/">[a:a][b:a][][][a]12345</o>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   910
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   911
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   912
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   913
   <test-case name="namespace-1502">
1299
710eb0004191 Add a test description
Michael Kay <mike@saxonica.com>
parents: 1284
diff changeset
   914
      <description>Wildcard node-tests on namespaced attributes</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   915
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   916
      <environment ref="namespace-15"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   917
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   918
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   919
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   920
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   921
         <stylesheet file="namespace-1502.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   922
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   923
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   924
         <assert-xml><![CDATA[<o xmlns:a="http://a.uri/" xmlns:b="http://b.uri/">12345[a:a][b:a][][][a]</o>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   925
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   926
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   927
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   928
   <test-case name="namespace-1601">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   929
      <description>test use of prefix:* pattern with strip-space</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   930
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   931
      <environment ref="namespace-16"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   932
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   933
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   934
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   935
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   936
         <stylesheet file="namespace-1601.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   937
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   938
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   939
         <assert-xml><![CDATA[<o xmlns:a="http://a.uri/" xmlns:b="http://b.uri/"><a:a/><b:a> </b:a><A:b xmlns:A="http://a.uri/"/><B:b xmlns:B="http://b.uri/"> </B:b></o>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   940
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   941
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   942
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   943
   <test-case name="namespace-1602">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   944
      <description>test use of *:suffix pattern with strip-space</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   945
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   946
      <environment ref="namespace-16"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   947
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   948
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   949
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   950
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   951
         <stylesheet file="namespace-1602.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   952
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   953
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   954
         <assert-xml><![CDATA[<o xmlns:a="http://a.uri/" xmlns:b="http://b.uri/"><a:a/><b:a/><A:b xmlns:A="http://a.uri/"> </A:b><B:b xmlns:B="http://b.uri/"> </B:b></o>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   955
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   956
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   957
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   958
   <test-case name="namespace-1701">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   959
      <description>test that the default namespace is not applied to names in XPath expressions or
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   960
         to variable names</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   961
      <created by="Michael Kay" on="2012-11-07"/>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   962
      <environment>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   963
         <source role=".">
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   964
            <content><![CDATA[<data>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   965
<row>1</row>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   966
<row>2</row>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   967
<row>3</row>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   968
<row>4</row>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   969
</data>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   970
]]></content>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   971
         </source>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   972
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   973
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   974
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   975
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   976
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   977
         <stylesheet file="namespace-1701.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   978
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   979
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   980
         <assert-xml file="namespace-1701.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   981
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   982
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   983
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   984
   <test-case name="namespace-1801">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   985
      <description> This shows a bug in Saxon 6.5: duplicate entries in namespace axis when the
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   986
         source document explicitly declares the "xml" namespace (but note, some XML parsers don't
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
   987
         allow the XML namespace to be declared anyway) </description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   988
      <created by="Michael Kay" on="2012-11-07"/>
69
e1ca2688c741 Make all test-set catalog files valid against the catalog schema
Michael Kay <mike@saxonica.com>
parents: 40
diff changeset
   989
      <environment>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   990
         <source role=".">
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   991
            <content><![CDATA[<doc xmlns:xml="http://www.w3.org/XML/1998/namespace"></doc>]]></content>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   992
         </source>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
   993
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   994
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   995
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   996
         <feature value="namespace_axis"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   997
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   998
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   999
         <stylesheet file="namespace-1801.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1000
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1001
      <result>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1002
         <all-of>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1003
            <assert>count(d/namespace/prefix[.='xml']) = 1</assert>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1004
            <assert>count(d/namespace/uri[.='http://www.w3.org/XML/1998/namespace']) = 1</assert>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1005
            <assert>count(d/namespace/name[.='xml']) = 1</assert>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1006
            <assert>count(d/namespace) = 1</assert>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1007
         </all-of>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1008
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1009
   </test-case>
1884
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
  1010
   
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
  1011
   <test-case name="namespace-1901">
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
  1012
      <description>Test that a no-namespace element copied into a document having a default namespace
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
  1013
         acquires an xmlns="" undeclaration. Saxon bug 3889.</description>
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
  1014
      <created by="Michael Kay" on="2018-08-31"/>
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
  1015
      <environment ref="namespace-19"/>
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
  1016
      <dependencies>
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
  1017
         <spec value="XSLT20+"/>
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
  1018
         <feature value="serialization"/>
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
  1019
      </dependencies>
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
  1020
      <test>
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
  1021
         <stylesheet file="namespace-1901.xsl"/>
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
  1022
         <output serialize="yes"/>
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
  1023
      </test>
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
  1024
      <result>
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
  1025
         <serialization-matches><![CDATA[<header xmlns=['"]['"]><x>]]></serialization-matches>
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
  1026
      </result>
86f29c06b4b4 New test case for copying a no-namespace element into a tree with a default namespace on an ancestor element
Michael Kay <mike@saxonica.com>
parents: 1602
diff changeset
  1027
   </test-case>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1028
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1029
   <test-case name="namespace-2001">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
  1030
      <description>TEST copied namespace clashing with namespace of parent element Results require
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
  1031
         manual inspection because a system-generated prefix is used.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1032
      <created by="Michael Kay" on="2012-11-07"/>
69
e1ca2688c741 Make all test-set catalog files valid against the catalog schema
Michael Kay <mike@saxonica.com>
parents: 40
diff changeset
  1033
      <environment>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1034
         <source role=".">
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1035
            <content><![CDATA[<doc xmlns:ns="http://nstwo.uri/"/>]]></content>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1036
         </source>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1037
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1038
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1039
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1040
         <feature value="namespace_axis"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1041
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1042
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1043
         <stylesheet file="namespace-2001.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1044
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1045
      <result>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1046
         <!-- Saxon result:
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1047
            <ns_0:e xmlns:ns="http://nstwo.uri/" xmlns:ns_0="http://nsone.uri/"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1048
         -->
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1049
         <all-of>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1050
            <assert>/*[local-name()='e' and namespace-uri()='http://nsone.uri/']</assert>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1051
            <assert>/*/namespace::ns[. = 'http://nstwo.uri/']</assert>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1052
         </all-of>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1053
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1054
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1055
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1056
   <test-case name="namespace-2101">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
  1057
      <description>test use of xsl:attribute with a namespace prefix not known until
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
  1058
         run-time</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1059
      <created by="Michael Kay" on="2012-11-07"/>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1060
      <environment>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1061
         <source role="." file="namespace-21.xml"/>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1062
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1063
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1064
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1065
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1066
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1067
         <stylesheet file="namespace-2101.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1068
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1069
      <result>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1070
         <!-- <s:attribute xmlns:d7p1="http://schemas.xmlsoap.org/wsdl/" 
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1071
                           xmlns:s="http://www.w3.org/2001/XMLSchema" 
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1072
                           xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1073
                           d7p1:arrayType="xxx" 
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1074
                           ref="xxx"/>-->
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1075
         <all-of>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1076
            <assert>/*[local-name()='attribute' and namespace-uri()='http://www.w3.org/2001/XMLSchema']</assert>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1077
            <assert>/*/@*[local-name()='arrayType' and namespace-uri()='http://schemas.xmlsoap.org/wsdl/' and .='xxx']</assert>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1078
            <assert>/*/@*[local-name()='ref' and namespace-uri()='' and .='xxx']</assert>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1079
            <assert>/*/namespace::soapenc</assert>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1080
         </all-of>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1081
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1082
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1083
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1084
   <test-case name="namespace-2201">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
  1085
      <description>test use of xsl:element with a namespace prefix not known until
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
  1086
         run-time</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1087
      <created by="Michael Kay" on="2012-11-07"/>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1088
      <environment>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1089
         <source role=".">
72
c638a1ff6993 remove indent="yes" from tests using assert-xml
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
  1090
            <content><![CDATA[<doc xmlns:a="http://a/" xmlns:b="http://b/" xmlns:c="http://c/"><a:thing/><b:thing/><c:thing/><thing/></doc>]]></content>
8
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1091
         </source>
3b618ef0e18e Tidy up test-set namespace: fix up missing files, whitespace issues
Michael Kay <mike@saxonica.com>
parents: 1
diff changeset
  1092
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1093
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1094
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1095
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1096
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1097
         <stylesheet file="namespace-2201.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1098
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1099
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1100
         <assert-xml file="namespace-2201.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1101
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1102
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1103
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1104
   <test-case name="namespace-2301">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1105
      <description>TEST node-name() function (returning a QName)</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1106
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1107
      <environment ref="namespace-23"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1108
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1109
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1110
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1111
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1112
         <stylesheet file="namespace-2301.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1113
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1114
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1115
         <assert-xml file="namespace-2301.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1116
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1117
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1118
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1119
   <test-case name="namespace-2302">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1120
      <description>TEST node-name() function (returning a QName)</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1121
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1122
      <environment ref="namespace-23"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1123
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1124
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1125
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1126
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1127
         <stylesheet file="namespace-2302.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1128
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1129
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1130
         <assert-xml file="namespace-2302.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1131
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1132
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1133
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1134
   <test-case name="namespace-2401">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1135
      <description>TEST in-scope-prefixes() function</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1136
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1137
      <environment ref="namespace-24"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1138
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1139
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1140
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1141
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1142
         <stylesheet file="namespace-2401.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1143
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1144
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1145
         <assert-xml><![CDATA[<z><e>,my,xml</e><f>my,xml,your</f></z>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1146
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1147
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1148
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1149
   <test-case name="namespace-2402">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1150
      <description>TEST namespace-uri-for-prefix() function</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1151
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1152
      <environment ref="namespace-24"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1153
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1154
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1155
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1156
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1157
         <stylesheet file="namespace-2402.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1158
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1159
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1160
         <assert-xml><![CDATA[<z><a emy="http://my.uri/"/><a edefault="http://default.uri/"/><a fmy="http://my.uri/"/><a fdefault=""/><zero count="0"/></z>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1161
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1162
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1163
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1164
   <test-case name="namespace-2501">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
  1165
      <description>Testing "An element from the XSLT namespace may have any attribute not from the
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
  1166
         XSLT namespace, provided that the expanded name of the attribute has a non-null namespace
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 616
diff changeset
  1167
         URI."</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1168
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1169
      <environment ref="namespace-25"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1170
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1171
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1172
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1173
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1174
         <stylesheet file="namespace-2501.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1175
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1176
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1177
         <assert-xml><![CDATA[<out xmlns:foo="http://foo.com"/>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1178
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1179
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1180
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1181
   <test-case name="namespace-2502">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1182
      <description>test exclude-result-prefixes="#all" should copy c.uri only</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1183
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1184
      <environment ref="namespace-25"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1185
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1186
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1187
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1188
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1189
         <stylesheet file="namespace-2502.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1190
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1191
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1192
         <assert-xml><![CDATA[<out xmlns:c="http://c.uri/"/>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1193
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1194
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1195
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1196
   <test-case name="namespace-2503">