tests/misc/bug/_bug-test-set.xml
author abraaksm
Tue, 07 Apr 2015 22:55:30 +0200
changeset 937 d6e14de632e4
parent 918 9f8233561870
child 1658 de1bac6849d3
permissions -rw-r--r--
Bug 28416 fix spacing issues in bug-0701 output and serialization test
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: 155
diff changeset
     3
   xmlns="http://www.w3.org/2012/10/xslt-test-catalog" name="bug">
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
     4
   <description>A collection of miscellaneous tests garnered from interesting bug
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
     5
      reports</description>
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
     6
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
     7
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     8
   <environment name="bug-03">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     9
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    10
         <content><![CDATA[<doc/>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    11
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    12
   </environment>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
    13
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    14
   <environment name="bug-05">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    15
      <source role="." file="bug-05.xml"/>
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: 155
diff changeset
    17
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    18
   <environment name="bug-12">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    19
      <source role=".">
41
90de10fd486f Tidy up normalize-unicode tests
Michael Kay <mike@saxonica.com>
parents: 40
diff changeset
    20
         <content><![CDATA[<source_document/>]]></content>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    21
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    22
   </environment>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
    23
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    24
   <environment name="bug-14">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    25
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    26
         <content><![CDATA[<bar>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    27
  baz
41
90de10fd486f Tidy up normalize-unicode tests
Michael Kay <mike@saxonica.com>
parents: 40
diff changeset
    28
</bar>]]></content>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    29
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    30
   </environment>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
    31
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    32
   <environment name="bug-18">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    33
      <source role=".">
41
90de10fd486f Tidy up normalize-unicode tests
Michael Kay <mike@saxonica.com>
parents: 40
diff changeset
    34
         <content><![CDATA[<foo xmlns="http://pre.uri/" />]]></content>
1
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: 155
diff changeset
    37
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
    38
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    39
   <environment name="bug-21">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    40
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    41
         <content><![CDATA[<document>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    42
  <element_1 att_1="bob"> jim </element_1>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    43
  <element_2 att_1="joe"> jack </element_2>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    44
</document>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    45
]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    46
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    47
   </environment>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
    48
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    49
   <environment name="bug-25">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    50
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    51
         <content><![CDATA[<list>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    52
<item month="May"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    53
<item month="Dec"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    54
<item month="Jan"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    55
<item month="Apr"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    56
<item month="Nov"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    57
</list>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    58
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    59
   </environment>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
    60
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    61
   <environment name="bug-27">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    62
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    63
         <content><![CDATA[<xxx>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    64
   <ref file="xbug45a.xml" />
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    65
   <ref file="xbug45b.xml" />
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    66
</xxx>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    67
]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    68
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    69
      <source file="xbug45a.xml" uri="xbug45a.xml"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    70
      <source file="xbug45b.xml" uri="xbug45b.xml"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    71
   </environment>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
    72
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    73
   <environment name="bug-31">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    74
      <source role="." file="bug-31.xml"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    75
   </environment>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
    76
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    77
   <environment name="bug-47">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    78
      <source role="." file="bug-47.xml"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    79
   </environment>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
    80
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    81
   <environment name="bug-53">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    82
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    83
         <content><![CDATA[<a>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    84
<b z="z"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    85
<b z="z"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    86
<b z="z"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    87
</a>]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    88
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    89
   </environment>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
    90
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    91
   <environment name="bug-58">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    92
      <source role=".">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    93
         <content><![CDATA[<a>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    94
  <b>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    95
    <c id="11"/><c id="12"/><c id="13"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    96
  </b>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    97
  <b>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    98
    <c id="21"/><c id="22"/><c id="23"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    99
  </b>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   100
  <b>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   101
    <c id="31"/><c id="32"/><c id="33"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   102
  </b>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   103
</a>  ]]></content>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   104
      </source>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   105
   </environment>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   106
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   107
   <test-case name="bug-0101">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   108
      <description>test fix for bug 5.3/001</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   109
      <created by="Michael Kay" on="2012-11-07"/>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   110
      <environment>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   111
         <source role="." file="bug-01.xml"/>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   112
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   113
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   114
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   115
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   116
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   117
         <stylesheet file="bug-0101.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   118
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   119
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   120
         <assert-xml><![CDATA[<out><a a-foo="a-bar"/><b b-foo="b-bar"/></out>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   121
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   122
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   123
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   124
   <test-case name="bug-0201">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   125
      <description>test fix for bug 768422</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   126
      <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: 41
diff changeset
   127
      <environment>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   128
         <source role=".">
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   129
            <content><![CDATA[<doc element="e" attribute="a">jump</doc>]]></content>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   130
         </source>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   131
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   132
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   133
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   134
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   135
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   136
         <stylesheet file="bug-0201.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   137
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   138
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   139
         <assert-xml><![CDATA[<a>jump</a>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   140
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   141
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   142
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   143
   <test-case name="bug-0301">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   144
      <description>BUG: Saxon 5.3/003 DESCRIPTION: The attribute
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   145
         &lt;b&gt;[xsl:]exclude-result-prefixes="#default"&lt;/b&gt; has no effect.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   146
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   147
      <environment ref="bug-03"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   148
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   149
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   150
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   151
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   152
         <stylesheet file="bug-0301.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   153
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   154
      <result>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   155
         <assert-xml><![CDATA[<out xmlns:z="http://z.uri/" changed="2004-04-06"><z:a a-foo="a-bar"
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   156
            /><z:b xmlns="http://abc.uri/" b-foo="b-bar"/><c xmlns="http://abc.uri/" c-foo="c-bar"/></out>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   157
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   158
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   159
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   160
   <test-case name="bug-0302">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   161
      <description>BUG: Saxon 5.3/003 DESCRIPTION: The attribute
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   162
         &lt;b&gt;[xsl:]exclude-result-prefixes="#default"&lt;/b&gt; has no effect. NOTE: Expected
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   163
         results changed 2011-06-01 as a consequence of erratum XT.E37: see member bugzilla
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   164
         931</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   165
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   166
      <environment ref="bug-03"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   167
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   168
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   169
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   170
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   171
         <stylesheet file="bug-0302.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   172
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   173
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   174
         <assert-xml><![CDATA[<out xmlns="http://abc.uri/" xmlns:z="http://z.uri/" changed="2004-04-06"><z:a a-foo="a-bar"/><z:b b-foo="b-bar"/><c c-foo="c-bar"/></out>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   175
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   176
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   177
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   178
   <test-case name="bug-0303">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   179
      <description>BUG: Saxon 5.2/020 DESCRIPTION: xsl:namespace-alias must come before the relevant
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   180
         xsl:template elements</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   181
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   182
      <environment ref="bug-03"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   183
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   184
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   185
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   186
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   187
         <stylesheet file="bug-0303.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   188
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   189
      <result>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   190
         <assert-xml><![CDATA[<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   191
            ><xsl:variable name="temp" select="3"/></xsl:stylesheet>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   192
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   193
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   194
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   195
   <test-case name="bug-0304">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   196
      <description>BUG: Saxon 5.3/007 DESCRIPTION: The HTML output method occasionally applies URL
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   197
         escaping to an attribute that is not a URL, for example (with the Microsoft JVM) it does so
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   198
         with &lt;h2 style="clear: all"&gt;.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   199
      <created by="Michael Kay" on="2012-11-07"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   200
      <modified by="John Lumley" on="2014-09-04" change="Declared serialization requirement"/>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   201
      <environment ref="bug-03"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   202
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   203
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   204
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   205
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   206
         <stylesheet file="bug-0304.xsl"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   207
         <output serialize="yes"/>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   208
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   209
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   210
         <assert-serialization method="html" file="bug07.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   211
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   212
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   213
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   214
   <test-case name="bug-0305">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   215
      <description>BUG: Saxon 5.3.2/001 DESCRIPTION: test recovery action when outputting element
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   216
         nodes into attributes, comments, and PIs</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   217
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   218
      <environment ref="bug-03"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   219
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   220
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   221
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   222
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   223
         <stylesheet file="bug-0305.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   224
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   225
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   226
         <assert-xml><![CDATA[<doc spec-changed="2004-12-01" test="attribute !! value">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   227
    +<!--Comment  !!  text-->+
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   228
    +<?pi pi  !!  text?>+
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   229
    </doc>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   230
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   231
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   232
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   233
   <test-case name="bug-0401">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   234
      <description>BUG: Saxon 5.3/004 DESCRIPTION: The priorities of the components in a union
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   235
         pattern may be calculated incorrectly, for example in the pattern "text() | *" both
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   236
         components are given priority +0.5 instead of -0.5.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   237
      <created by="Michael Kay" on="2012-11-07"/>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   238
      <environment>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   239
         <source role=".">
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   240
            <content><![CDATA[<nos><no>CBS 4230</no></nos>]]></content>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   241
         </source>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   242
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   243
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   244
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   245
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   246
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   247
         <stylesheet file="bug-0401.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   248
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   249
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   250
         <assert-xml><![CDATA[<src>OK</src>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   251
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   252
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   253
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   254
   <test-case name="bug-0501">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   255
      <description>BUG: Saxon 5.2/021 DESCRIPTION: Every element should have a namespace node for
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   256
         the "xml" namespace. It doesn't. for reproducible results</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   257
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   258
      <environment ref="bug-05"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   259
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   260
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   261
         <feature value="namespace_axis"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   262
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   263
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   264
         <stylesheet file="bug-0501.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   265
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   266
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   267
         <assert-xml><![CDATA[<out>xml=http://www.w3.org/XML/1998/namespace;
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   268
xsl=http://www.w3.org/1999/XSL/Transform;
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   269
axsl=http://www.w3.org/1999/XSL/TransformAlias;
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   270
</out>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   271
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   272
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   273
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   274
   <test-case name="bug-0502">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   275
      <description> BUG: Saxon 5.3/009 DESCRIPTION: The parent of a namespace node is the element on
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   276
         which the namespace was declared, not the element on whose namespace axis the namespace
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   277
         node lies.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   278
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   279
      <environment ref="bug-05"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   280
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   281
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   282
         <feature value="namespace_axis"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   283
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   284
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   285
         <stylesheet file="bug-0502.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   286
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   287
      <result>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   288
         <all-of>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   289
            <assert>normalize-space(/out/element[1]) = normalize-space("xsl:stylesheet:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   290
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:stylesheet)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   291
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:stylesheet)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   292
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:stylesheet)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   293
            <assert>normalize-space(/out/element[2]) = normalize-space("xsl:import:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   294
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:import)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   295
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:import)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   296
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:import)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   297
            <assert>normalize-space(/out/element[3]) = normalize-space("xsl:template:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   298
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:template)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   299
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:template)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   300
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:template)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   301
            <assert>normalize-space(/out/element[4]) = normalize-space("axsl:output:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   302
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: axsl:output)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   303
               xml = http://www.w3.org/XML/1998/namespace (owner: axsl:output)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   304
               xsl = http://www.w3.org/1999/XSL/Transform (owner: axsl:output)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   305
            <assert>normalize-space(/out/element[5]) = normalize-space("xsl:template:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   306
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:template)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   307
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:template)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   308
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:template)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   309
            <assert>normalize-space(/out/element[6]) = normalize-space("xsl:param:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   310
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:param)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   311
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:param)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   312
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:param)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   313
            <assert>normalize-space(/out/element[7]) = normalize-space("xsl:param:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   314
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:param)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   315
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:param)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   316
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:param)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   317
            <assert>normalize-space(/out/element[8]) = normalize-space("xsl:value-of:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   318
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:value-of)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   319
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:value-of)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   320
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:value-of)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   321
            <assert>normalize-space(/out/element[9]) = normalize-space("xsl:text:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   322
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:text)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   323
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:text)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   324
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:text)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   325
            <assert>normalize-space(/out/element[10]) = normalize-space("xsl:copy-of:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   326
               = java:useless.uri (owner: xsl:copy-of)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   327
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:copy-of)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   328
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:copy-of)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   329
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:copy-of)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   330
            <assert>normalize-space(/out/element[11]) = normalize-space("xsl:template:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   331
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:template)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   332
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:template)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   333
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:template)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   334
            <assert>normalize-space(/out/element[12]) = normalize-space("xsl:param:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   335
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:param)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   336
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:param)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   337
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:param)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   338
            <assert>normalize-space(/out/element[13]) = normalize-space("xsl:param:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   339
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:param)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   340
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:param)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   341
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:param)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   342
            <assert>normalize-space(/out/element[14]) = normalize-space("xsl:text:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   343
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:text)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   344
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:text)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   345
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:text)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   346
            <assert>normalize-space(/out/element[15]) = normalize-space("xsl:value-of:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   347
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:value-of)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   348
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:value-of)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   349
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:value-of)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   350
            <assert>normalize-space(/out/element[16]) = normalize-space("xsl:if:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   351
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:if)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   352
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:if)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   353
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:if)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   354
            <assert>normalize-space(/out/element[17]) = normalize-space("xsl:text:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   355
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:text)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   356
               saxon = http://icl.com.saxon (owner: xsl:text)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   357
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:text)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   358
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:text)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   359
            <assert>normalize-space(/out/element[18]) = normalize-space("xsl:value-of:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   360
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:value-of)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   361
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:value-of)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   362
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:value-of)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   363
            <assert>normalize-space(/out/element[19]) = normalize-space("xsl:text:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   364
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:text)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   365
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:text)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   366
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:text)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   367
            <assert>normalize-space(/out/element[20]) = normalize-space("xsl:apply-templates:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   368
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:apply-templates)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   369
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:apply-templates)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   370
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:apply-templates)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   371
            <assert>normalize-space(/out/element[21]) = normalize-space("xsl:text:
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   372
               axsl = http://www.w3.org/1999/XSL/TransformAlias (owner: xsl:text)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   373
               xml = http://www.w3.org/XML/1998/namespace (owner: xsl:text)
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   374
               xsl = http://www.w3.org/1999/XSL/Transform (owner: xsl:text)")</assert>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   375
         </all-of>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   376
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   377
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   378
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   379
   <test-case name="bug-0601">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   380
      <description>Preprocessor for the Schematron XML Schema Language. BUG: Saxon 5.3/005 and
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   381
         5.3/008 DESCRIPTION: 5.3/005: If xml:namespace-alias is used in an included or imported
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   382
         stylesheet module, it is ignored. 5.3/008: When xsl:copy-of is used to copy a result tree
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   383
         fragment to the final tree, no attempt is made to remove redundant namespace
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   384
         declarations.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   385
      <created by="Michael Kay" on="2012-11-07"/>
155
f739cde95c4d Fix validity errors in test catalog
Michael Kay <mike@saxonica.com>
parents: 118
diff changeset
   386
      <modified by="Tim Mills" on="2012-12-11" change="Removed whitespace from expected result"/>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   387
      <environment>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   388
         <source role="." file="bug-06.xml"/>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   389
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   390
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   391
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   392
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   393
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   394
         <stylesheet file="bug-0601.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   395
         <stylesheet file="bug-0601a.xsl" role="secondary"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   396
      </test>
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
         <assert-xml file="bug-0601.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   399
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   400
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   401
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   402
   <test-case name="bug-0701">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   403
      <description>BUG: Saxon 5.3.1/002 DESCRIPTION: Text content may be lost when xsl:copy-of is
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   404
         used to copy from a result tree fragment to an output destination defined with
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   405
         method="html" indent="yes". </description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   406
      <created by="Michael Kay" on="2012-11-07"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   407
      <modified by="John Lumley" on="2014-09-04" change="Declared serialization requirement"/>
918
9f8233561870 Bug 28416, adding alternative serialization result as accepted result
abraaksm
parents: 849
diff changeset
   408
      <modified by="Abel Braaksma" on="2015-04-06" change="Bug 28416, allowing an alternative rendition of the serialized outcome"/>
937
d6e14de632e4 Bug 28416 fix spacing issues in bug-0701 output and serialization test
abraaksm
parents: 918
diff changeset
   409
      <modified by="Abel Braaksma" on="2015-04-07" change="Bug 28416, fixed as proposed by MKay, by removing whitespace issues in result generation"/>
69
e1ca2688c741 Make all test-set catalog files valid against the catalog schema
Michael Kay <mike@saxonica.com>
parents: 41
diff changeset
   410
      <environment>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   411
         <source role=".">
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   412
            <content><![CDATA[<page-items>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   413
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   414
  <title>This is my title</title>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   415
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   416
</page-items>]]></content>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   417
         </source>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   418
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   419
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   420
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   421
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   422
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   423
         <stylesheet file="bug-0701.xsl"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   424
         <output serialize="yes"/>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   425
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   426
      <result>
937
d6e14de632e4 Bug 28416 fix spacing issues in bug-0701 output and serialization test
abraaksm
parents: 918
diff changeset
   427
         <assert-serialization method="html" file="bug-0701.out"/>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   428
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   429
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   430
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   431
   <test-case name="bug-0801">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   432
      <description>BUG: Saxon 5.3.1/003 DESCRIPTION: Under certain conditions passing a parameter in
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   433
         xsl:with-param that is a node-set-expression containing a variable reference will fail when
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   434
         the parameter value is referenced. </description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   435
      <created by="Michael Kay" on="2012-11-07"/>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   436
      <environment>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   437
         <source role=".">
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   438
            <content><![CDATA[<data>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   439
  <item>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   440
    <para name="x"/>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   441
  </item>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   442
</data>]]></content>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   443
         </source>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   444
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   445
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   446
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   447
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   448
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   449
         <stylesheet file="bug-0801.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   450
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   451
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   452
         <assert-xml><![CDATA[<para name="x"/>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   453
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   454
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   455
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   456
   <test-case name="bug-0901">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   457
      <description>BUG: Saxon 5.3.1/004 DESCRIPTION: When a template calls itself recursively within
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   458
         an xsl:for-each instruction, tail recursion is invoked but doesn't work correctly. The
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   459
         effect is that the loop is obeyed only once and with the wrong current node.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   460
      <created by="Michael Kay" on="2012-11-07"/>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   461
      <environment>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   462
         <source role="." file="bug-09.xml"/>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   463
         <resource file="xteixlite.dtd" uri="xteixlite.dtd" media-type="application/xml-dtd"/>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   464
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   465
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   466
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   467
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   468
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   469
         <stylesheet file="bug-0901.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   470
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   471
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   472
         <assert-xml file="bug-0901.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   473
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   474
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   475
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   476
   <test-case name="bug-1001">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   477
      <description>BUG: Saxon 5.3.1/005 DESCRIPTION: A union expression whose operands are
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   478
         individual attribute nodes of the same element is evaluated incorrectly. For example
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   479
         count(@a | @b) returns 1. The attributes are wrongly regarded as duplicate
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   480
         nodes.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   481
      <created by="Michael Kay" on="2012-11-07"/>
109
c744945694c6 Fixed whitespace in bug-1101
tmills
parents: 107
diff changeset
   482
      <modified by="Tim Mills" on="2012-12-10" change="Removed whitespace from expected result"/>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   483
      <environment>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   484
         <source role=".">
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   485
            <content><![CDATA[<doc><x a="1" b="2"/><y a="3" b="4" c="5"/><z c="2" b="3" a="1"/></doc>]]></content>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   486
         </source>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   487
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   488
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   489
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   490
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   491
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   492
         <stylesheet file="bug-1001.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   493
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   494
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   495
         <assert-xml file="bug-1001.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   496
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   497
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   498
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   499
   <test-case name="bug-1101">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   500
      <description>BUG: Saxon 5.3.1/006 DESCRIPTION: When a namespace is excluded from the result
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   501
         tree using xsl:exclude-result-prefixes, but is then used on a literal result element, the
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   502
         request to exclude it should be ignored, to ensure that the result is well-formed XML
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   503
         following the Namespace rules. Currently the request to exclude the namespace is ignored if
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   504
         the namespace is used on the element containing the xsl:exclude-result-prefixes attribute,
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   505
         but not if it is used on an inner element.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   506
      <created by="Michael Kay" on="2012-11-07"/>
109
c744945694c6 Fixed whitespace in bug-1101
tmills
parents: 107
diff changeset
   507
      <modified by="Tim Mills" on="2012-12-10" change="Removed whitespace from expected result"/>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   508
      <environment>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   509
         <source role=".">
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   510
            <content><![CDATA[<doc/>]]></content>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   511
         </source>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   512
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   513
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   514
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   515
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   516
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   517
         <stylesheet file="bug-1101.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   518
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   519
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   520
         <assert-xml file="bug-1101.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   521
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   522
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   523
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   524
   <test-case name="bug-1201">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   525
      <description>BUG 5.3.1/007 DESCRIPTION: When a number is converted to a string, XPath requires
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   526
         that "after the decimal point there must be as many, but only as many, more digits as are
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   527
         needed to uniquely distinguish the number from all other IEEE 754 numeric values". Saxon
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   528
         may display more digits than this. NOTE: the rules have changed in XPath 2.0</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   529
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   530
      <environment ref="bug-12"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   531
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   532
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   533
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   534
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   535
         <stylesheet file="bug-1201.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   536
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   537
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   538
         <assert-xml><![CDATA[<bug-or-feature>2.39;
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   539
  1000000000000001;
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   540
</bug-or-feature>]]></assert-xml>
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
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   543
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   544
   <test-case name="bug-1202">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   545
      <description> BUG: Saxon 5.3.1/009 DESCRIPTION: disable-output-escaping="yes" has no effect
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   546
         when writing to a result tree fragment. Test whether disable-output-escaping is "sticky" </description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   547
      <created by="Michael Kay" on="2012-11-07"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   548
      <modified by="John Lumley" on="2014-09-02" change="Declared serialization requirement"/>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   549
      <environment ref="bug-12"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   550
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   551
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   552
         <feature value="disabling_output_escaping"/>
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
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   555
         <stylesheet file="bug-1202.xsl"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   556
         <output serialize="yes"/>
1
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
      <result>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   559
         <all-of>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   560
            <serialization-matches><![CDATA[<a>Enable escaping here &lt;fred/&gt;</a>]]></serialization-matches>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   561
            <serialization-matches><![CDATA[<b>Disable escaping here <fred/></b>]]></serialization-matches>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   562
            <serialization-matches><![CDATA[<c>Enable escaping here &lt;fred/&gt;</c>]]></serialization-matches>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   563
            <serialization-matches><![CDATA[<p>Enable escaping here &lt;fred/&gt;</p>]]></serialization-matches>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   564
            <serialization-matches><![CDATA[<q>Disable escaping here &lt;fred/&gt;</q>]]></serialization-matches>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   565
            <serialization-matches><![CDATA[<r>Enable escaping here &lt;fred/&gt;</r>]]></serialization-matches>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   566
         </all-of>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   567
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   568
   </test-case>
825
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   569
   
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   570
   <test-case name="bug-1203">
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   571
      <description>disable-output-escaping affected by optimization. Saxon bug 2312.</description>
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   572
      <created by="Michael Kay" on="2015-02-06"/>
844
84298eadaaba Fix bug 28247
Michael Kay <mike@saxonica.com>
parents: 825
diff changeset
   573
      <modified by="Michael Kay" on="2015-03-20" change="add dependency, see bug 28247"/>
825
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   574
      <dependencies>
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   575
         <spec value="XSLT10+"/>
844
84298eadaaba Fix bug 28247
Michael Kay <mike@saxonica.com>
parents: 825
diff changeset
   576
         <feature value="disabling_output_escaping"/>
825
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   577
      </dependencies>
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   578
      <test>
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   579
         <stylesheet file="bug-1203.xsl"/>
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   580
         <initial-template name="main"/>
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   581
         <output serialize="yes"/>
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   582
      </test>
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   583
      <result>
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   584
         <all-of>
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   585
            <serialization-matches><![CDATA[<a>&gt;</a>]]></serialization-matches>
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   586
            <serialization-matches><![CDATA[<b>&gt;</b>]]></serialization-matches>
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   587
         </all-of>
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   588
      </result>
3c1d98b8c6a6 Add test for disable-output-escaping (Saxon bug)
Michael Kay <mike@saxonica.com>
parents: 650
diff changeset
   589
   </test-case>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   590
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   591
   <test-case name="bug-1301">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   592
      <description>BUG: not a bug, as it turned out. Tests numeric sorting.</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   593
      <created by="Michael Kay" on="2012-11-07"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   594
      <modified by="John Lumley" on="2014-09-02" change="Declared serialization requirement"/>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   595
      <environment>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   596
         <source role="." file="bug-13.xml"/>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   597
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   598
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   599
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   600
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   601
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   602
         <stylesheet file="bug-1301.xsl"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   603
         <output serialize="yes"/>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   604
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   605
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   606
         <assert-serialization method="html" file="bug18.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   607
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   608
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   609
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   610
   <test-case name="bug-1401">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   611
      <description>test that exclude-result-prefixes is ignored if the prefix is actually used BUG:
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   612
         Saxon 5.3.1/006 DESCRIPTION: When a namespace is excluded from the result tree using
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   613
         xsl:exclude-result-prefixes, but is then used on a literal result element, the request to
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   614
         exclude it should be ignored, to ensure that the result is well-formed XML following the
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   615
         Namespace rules. Currently the request to exclude the namespace is ignored if the namespace
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   616
         is used on the element containing the xsl:exclude-result-prefixes attribute, but not if it
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   617
         is used on an inner element.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   618
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   619
      <environment ref="bug-14"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   620
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   621
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   622
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   623
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   624
         <stylesheet file="bug-1401.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   625
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   626
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   627
         <assert-xml><![CDATA[<out xmlns="http://www.abc.com"><foo/><b:foo xmlns:b="http://www.def.com"/></out>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   628
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   629
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   630
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   631
   <test-case name="bug-1402">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   632
      <description>Test that xsl:message output containing XML markup is handled
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   633
         correctly</description>
1
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="bug-14"/>
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="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   638
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   639
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   640
         <stylesheet file="bug-1402.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   641
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   642
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   643
         <all-of>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   644
            <assert-xml><![CDATA[<a/>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   645
            <assert-message>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   646
               <assert-xml><![CDATA[It's (<b name="fred" desc="bill">super</b>)]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   647
            </assert-message>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   648
         </all-of>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   649
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   650
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   651
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   652
   <test-case name="bug-1403">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   653
      <description>BUG: Saxon 5.3.2/002 DESCRIPTION: If an element node is output while
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   654
         instantiating the content of xsl:attribute, no error is reported, the tag is output
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   655
         incorrectly in escaped form.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   656
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   657
      <environment ref="bug-14"/>
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
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   660
      </dependencies>
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
         <stylesheet file="bug-1403.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   663
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   664
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   665
         <assert-xml><![CDATA[<a a="It's (super)"/>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   666
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   667
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   668
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   669
   <test-case name="bug-1404">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   670
      <description>BUG: Saxon 5.3.2/003 DESCRIPTION: If an element node is output while
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   671
         instantiating the content of xsl:comment or xsl:processing-instruction, the element node
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   672
         and its content should be ignored. The element node is ignored but its content is
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   673
         output.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   674
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   675
      <environment ref="bug-14"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   676
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   677
         <spec value="XSLT20+"/>
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="bug-1404.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[<a><!--It's ( super )--></a>]]></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="bug-1405">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   688
      <description>BUG: Saxon 5.3.2/005 DESCRIPTION: If an element node is output when the output
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   689
         method is text, the markup should be suppressed but this is not done correctly. test
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   690
         generating elements and other nodes with method="text"</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   691
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   692
      <environment ref="bug-14"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   693
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   694
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   695
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   696
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   697
         <stylesheet file="bug-1405.xsl"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   698
         <output serialize="yes"/>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   699
      </test>
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
         <assert-serialization method="text" file="bug25.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   702
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   703
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   704
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   705
   <test-case name="bug-1406">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   706
      <description> BUG: Saxon 5.3.2/009 DESCRIPTION: If the output method is not specified
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   707
         explicitly, special characters such as "&lt;" that are output before the first element
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   708
         start tag are not escaped. </description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   709
      <created by="Michael Kay" on="2012-11-07"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   710
      <modified by="John Lumley" on="2014-09-02" change="Declared serialization requirement"/>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   711
      <environment ref="bug-14"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   712
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   713
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   714
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   715
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   716
         <stylesheet file="bug-1406.xsl"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   717
         <output serialize="yes"/>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   718
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   719
      <result>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   720
         <serialization-matches><![CDATA[This text contains escaped characters &lt; and &gt;]]></serialization-matches>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   721
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   722
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   723
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   724
   <test-case name="bug-1501">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   725
      <description>test copying an attribute in non-default namespace (5.3.2/004) test generates two
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   726
         attributes with same prefix but different URI; one prefix must change</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   727
      <created by="Michael Kay" on="2012-11-07"/>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   728
      <environment>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   729
         <source role=".">
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   730
            <content><![CDATA[<in>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   731
<foo x:aaa="apple" xmlns:x="http://test1.uri/"/>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   732
<bar x:aaa="orange" xmlns:x="http://test2.uri/"/>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   733
</in>]]></content>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   734
         </source>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   735
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   736
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   737
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   738
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   739
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   740
         <stylesheet file="bug-1501.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   741
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   742
      <result>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   743
         <assert-xml><![CDATA[<out><ok>true</ok></out>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   744
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   745
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   746
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   747
   <test-case name="bug-1601">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   748
      <description>BUG: Saxon 5.3.2/004 DESCRIPTION: If an attribute node is copied using xsl:copy
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   749
         or xsl:copy-of, and it is in a non-default namespace, the result file may contain a
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   750
         reference to a namespace that is not declared.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   751
      <created by="Michael Kay" on="2012-11-07"/>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   752
      <environment>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   753
         <source role=".">
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   754
            <content><![CDATA[<in>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   755
<foo x:aaa="5" xmlns:x="http://test1.uri/"/>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   756
<bar x:aaa="5" xmlns:x="http://test2.uri/"/>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   757
</in>]]></content>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   758
         </source>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   759
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   760
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   761
         <spec value="XSLT20+"/>
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
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   764
         <stylesheet file="bug-1601.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   765
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   766
      <result>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   767
         <assert-xml><![CDATA[<out><ok>true</ok></out>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   768
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   769
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   770
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   771
   <test-case name="bug-1701">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   772
      <description>BUG: Saxon 5.3.2/012 DESCRIPTION: The count() function, when applied to a
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   773
         node-set expressed as a filter expression, may give the wrong answer: specifically, it
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   774
         gives the number of nodes before applying the predicates.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   775
      <created by="Michael Kay" on="2012-11-07"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   776
      <modified by="John Lumley" on="2014-09-02" change="Declared serialization requirement"/>
849
471b57b645d7 Fix bug 26606
Michael Kay <mike@saxonica.com>
parents: 844
diff changeset
   777
      <modified by="Michael Kay" on="2015-03-20" change="Fix bug 26606"/>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   778
      <environment>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   779
         <source role="." file="bug-17.xml"/>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   780
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   781
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   782
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   783
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   784
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   785
         <stylesheet file="bug-1701.xsl"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   786
         <output serialize="yes"/>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   787
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   788
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   789
         <assert-serialization method="html" file="bug29.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   790
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   791
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   792
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   793
   <test-case name="bug-1801">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   794
      <description>BUG: Saxon 5.3.2/014 DESCRIPTION: When an element is output to the result tree,
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   795
         and its name uses the default namespace prefix and a null namespace URI, but where the
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   796
         result tree contains an ancestor element in which the default namespace prefix is assigned
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   797
         to a non-null namespace URI, a namespace undeclaration (xmlns="") should be output, but
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   798
         isn't.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   799
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   800
      <environment ref="bug-18"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   801
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   802
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   803
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   804
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   805
         <stylesheet file="bug-1801.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   806
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   807
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   808
         <assert-xml><![CDATA[<foo xmlns="http://pre.uri/"><bar xmlns:pre="http://pre.uri/" xmlns=""/></foo>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   809
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   810
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   811
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   812
   <test-case name="bug-1802">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   813
      <description>BUG: Saxon 5.3.2/014 DESCRIPTION: When an element is output to the result tree,
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   814
         and its name uses the default namespace prefix and a null namespace URI, but where the
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   815
         result tree contains an ancestor element in which the default namespace prefix is assigned
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   816
         to a non-null namespace URI, a namespace undeclaration (xmlns="") should be output, but
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   817
         isn't.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   818
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   819
      <environment ref="bug-18"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   820
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   821
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   822
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   823
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   824
         <stylesheet file="bug-1802.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   825
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   826
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   827
         <assert-xml><![CDATA[<foo xmlns="http://pre.uri/"><bar xmlns=""/></foo>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   828
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   829
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   830
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   831
   <test-case name="bug-1901">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   832
      <description>BUG: Turned out not to be a bug Create output document template Generate glossary
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   833
         Process one gi-def for glossary output</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   834
      <created by="Michael Kay" on="2012-11-07"/>
110
d1f9ae5c5f69 Fixed whitespace in bug-1901
tmills
parents: 109
diff changeset
   835
      <modified by="Tim Mills" on="2012-12-10" change="Removed whitespace from expected result"/>
114
000137db5489 Removed meta element from bug-1901.out
tmills
parents: 113
diff changeset
   836
      <modified by="Tim Mills" on="2012-12-10" change="Removed meta tag from expected result"/>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   837
      <environment>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   838
         <source role="." file="bug-19.xml"/>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   839
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   840
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   841
         <spec value="XSLT20+"/>
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
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   844
         <stylesheet file="bug-1901.xsl"/>
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
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   847
         <assert-xml file="bug-1901.out"/>
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
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   850
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   851
   <test-case name="bug-2001">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   852
      <description>BUG: Saxon 5.3.2/016 DESCRIPTION: A null pointer exception occurs if a local
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   853
         variable is declared within the template-body of a global variable
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   854
         declaration.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   855
      <created by="Michael Kay" on="2012-11-07"/>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   856
      <environment>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   857
         <source role="." file="bug-20.xml"/>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   858
      </environment>
1
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
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   861
      </dependencies>
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
         <stylesheet file="bug-2001.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   864
      </test>
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
         <assert-xml><![CDATA[<out>one+two;
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   867
	two+three</out>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   868
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   869
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   870
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   871
   <test-case name="bug-2101">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   872
      <description>BUG: 5.3.2/020 DESCRIPTION: When Saxon is used with Xerces (or any other SAX2
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   873
         parser that does not internalize strings by default), attribute names used in a match
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   874
         pattern may go unrecognized.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   875
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   876
      <environment ref="bug-21"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   877
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   878
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   879
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   880
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   881
         <stylesheet file="bug-2101.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   882
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   883
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   884
         <assert-xml><![CDATA[<bob>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   885
  <bob att_2="bob"> jim </bob>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   886
  <bob att_2="joe"> jack </bob>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   887
</bob>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   888
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   889
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   890
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   891
   <test-case name="bug-2102">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   892
      <description>BUG: Saxon 5.3.2/002 DESCRIPTION: Conversion of a result-tree-fragment to a
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   893
         boolean is done incorrectly. The result should always be true; Saxon returns false if the
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   894
         result of converting the result tree fragment to a string is zero-length. result of RTF to
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   895
         boolean conversion (should always be true)</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   896
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   897
      <environment ref="bug-21"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   898
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   899
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   900
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   901
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   902
         <stylesheet file="bug-2102.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   903
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   904
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   905
         <assert-xml><![CDATA[<out><a one="true" two="true"/></out>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   906
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   907
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   908
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   909
   <test-case name="bug-2201">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   910
      <description>nspace.xsl XSLT 1.0 - http://www.CraneSoftwrights.com/training BUG: Saxon
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   911
         5.3.2/018 DESCRIPTION: In a location path using the namespace axis with a name test, for
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   912
         example namespace::x, all the namespace nodes are returned in the result, whether or not
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   913
         their name matches "x".</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   914
      <created by="Michael Kay" on="2012-11-07"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   915
      <modified by="John Lumley" on="2014-09-02" change="Declared serialization requirement"/>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   916
      <environment>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   917
         <source role="." file="bug-22.xml"/>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   918
      </environment>
1
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
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   921
         <feature value="namespace_axis"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   922
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   923
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   924
         <stylesheet file="bug-2201.xsl"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   925
         <output serialize="yes"/>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   926
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   927
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   928
         <assert-serialization method="text" file="bug36.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   929
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   930
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   931
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   932
   <test-case name="bug-2301">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   933
      <description>BUG: Saxon 5.3.2/025 DESCRIPTION: When an attribute node is matched against the
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   934
         pattern "@prefix:*", a null pointer exception occurs.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   935
      <created by="Michael Kay" on="2012-11-07"/>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   936
      <environment>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   937
         <source role=".">
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   938
            <content><![CDATA[<doc xmlns:a="http://uri1.uri/"><foo a:a="1" b="2"/></doc>]]></content>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   939
         </source>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   940
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   941
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   942
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   943
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   944
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   945
         <stylesheet file="bug-2301.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   946
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   947
      <result>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   948
         <assert-xml><![CDATA[<out xmlns:a="http://uri1.uri/"><a>prefix matched</a><b>default matched</b></out>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   949
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   950
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   951
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   952
   <test-case name="bug-2401">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   953
      <description>BUG: proved not to be a bug at all</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   954
      <created by="Michael Kay" on="2012-11-07"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   955
      <modified by="Michael Kay" on="2012-12-11"
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   956
         change="use assertions to remove dependency on HTML serialization, see bug 20342"/>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   957
      <environment>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   958
         <source role="." file="bug-24.xml"/>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
   959
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   960
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   961
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   962
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   963
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   964
         <stylesheet file="bug-2401.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   965
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   966
      <result>
116
07efccc32da8 Various fixes to reported test bugs
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   967
         <all-of>
07efccc32da8 Various fixes to reported test bugs
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   968
            <assert>/HTML/HEAD/TITLE = "About Author and Credits"</assert>
07efccc32da8 Various fixes to reported test bugs
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   969
            <assert>/HTML/BODY/H2 = "Credits"</assert>
07efccc32da8 Various fixes to reported test bugs
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   970
            <assert>/HTML/BODY/TABLE/TR[1]/TD[1]/B = "Acquisitions Editor"</assert>
07efccc32da8 Various fixes to reported test bugs
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   971
            <assert>/HTML/BODY/TABLE/TR[1]/TD[2] = "John Osborne"</assert>
07efccc32da8 Various fixes to reported test bugs
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   972
            <assert>/HTML/BODY/TABLE/TR[2]/TD[1]/B = "Development Editor"</assert>
07efccc32da8 Various fixes to reported test bugs
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   973
            <assert>/HTML/BODY/TABLE/TR[2]/TD[2] = "Terri Varveris"</assert>
07efccc32da8 Various fixes to reported test bugs
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   974
            <assert>/HTML/BODY/TABLE/TR[5]/TD[1]/B = "Copy Editors"</assert>
07efccc32da8 Various fixes to reported test bugs
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   975
            <assert>/HTML/BODY/TABLE/TR[5]/TD[2] = "Amy EoffAmanda KaufmanNicole LeClercVictoria Lee"</assert>
07efccc32da8 Various fixes to reported test bugs
Michael Kay <mike@saxonica.com>
parents: 69
diff changeset
   976
         </all-of>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   977
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   978
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   979
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   980
   <test-case name="bug-2501">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   981
      <description>BUG: Saxon 5.3.2/027 DESCRIPTION: When the current() function is used within the
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   982
         select expression of xsl:sort, it gives the wrong answer (the relevant node will be the
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   983
         context node, but not the current node). This results in an incorrect sort
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
   984
         sequence.</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   985
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   986
      <environment ref="bug-25"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   987
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   988
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   989
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   990
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   991
         <stylesheet file="bug-2501.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   992
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   993
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   994
         <assert-xml><![CDATA[<out xmlns:m="urn:non-null-namespace">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   995
* <item month="Jan"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   996
* <item month="Apr"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   997
* <item month="May"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   998
* <item month="Nov"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   999
* <item month="Dec"/></out>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1000
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1001
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1002
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1003
   <test-case name="bug-2502">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1004
      <description> BUG: Saxon 5.4/002 DESCRIPTION: A call to "document('foo.xml', /)" fails with
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1005
         the message "No base URI available for resolving relative URI". The same error occurs with
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1006
         any other second argument that refers to the root node of the principal source document. </description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1007
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1008
      <environment ref="bug-25"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1009
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1010
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1011
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1012
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1013
         <stylesheet file="bug-2502.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1014
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1015
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1016
         <assert-xml><![CDATA[<out><list>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1017
<item month="May"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1018
<item month="Dec"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1019
<item month="Jan"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1020
<item month="Apr"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1021
<item month="Nov"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1022
</list></out>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1023
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1024
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1025
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1026
   <test-case name="bug-2601">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1027
      <description>BUG: not a bug after all</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1028
      <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: 41
diff changeset
  1029
      <environment>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1030
         <source role=".">
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1031
            <content><![CDATA[<module identifier="level1">
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1032
   <module identifier="level2">
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1033
      <module identifier="level3">
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1034
      </module>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1035
   </module>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1036
</module>]]></content>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1037
         </source>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1038
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1039
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1040
         <spec value="XSLT10+"/>
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="bug-2601.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>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1046
         <assert-xml file="bug-2601.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1047
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1048
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1049
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1050
   <test-case name="bug-2701">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1051
      <description>BUG: Saxon DESCRIPTION: Documents loaded from URI's in a node-set</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1052
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1053
      <environment ref="bug-27"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1054
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1055
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1056
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1057
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1058
         <stylesheet file="bug-2701.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1059
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1060
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1061
         <assert-xml file="bug-2701.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1062
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1063
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1064
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1065
   <test-case name="bug-2702">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1066
      <description>BUG: Saxon 5.4/003 DESCRIPTION: If a top-level element with a non-null namespace
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1067
         URI appears in the stylesheet, and its namespace is designated as an extension element
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1068
         namespace, and Saxon does not recognize the namespace URI as one that identifies an
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1069
         extension element implementation, then Saxon will reject the element with an error. It
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1070
         should ignore it, because a top-level element can never be an extension element. Test
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1071
         top-level elements are ignored</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1072
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1073
      <environment ref="bug-27"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1074
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1075
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1076
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1077
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1078
         <stylesheet file="bug-2702.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1079
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1080
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1081
         <assert-xml><![CDATA[<out>OK</out>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1082
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1083
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1084
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1085
   <test-case name="bug-2703">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1086
      <description>BUG: Saxon 5.4/007 DESCRIPTION: When the parent axis is used on the right-hand
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1087
         side of a "/" operator, the node-set returned will never include the root node. For
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1088
         example, if the current node is the document element, the expression "./.." will return an
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1089
         empty node-set. (The problem does not occur if this is simplified to "..")</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1090
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1091
      <environment ref="bug-27"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1092
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1093
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1094
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1095
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1096
         <stylesheet file="bug-2703.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1097
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1098
      <result>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1099
         <assert-xml><![CDATA[<out><out>1</out><out>1</out></out>]]></assert-xml>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1100
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1101
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1102
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1103
   <test-case name="bug-2801">
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1104
      <description>BUG: Not actually a bug. Correct answer is 1000000000000</description>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1105
      <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: 41
diff changeset
  1106
      <environment>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1107
         <source role=".">
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1108
            <content><![CDATA[<a1>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1109
	10
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1110
	<a2>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1111
		100
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1112
		<a3>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1113
		    1000
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1114
		</a3>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1115
	</a2>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1116
</a1>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1117
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1118
]]></content>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1119
         </source>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1120
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1121
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1122
         <spec value="XSLT20+"/>
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
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1125
         <stylesheet file="bug-2801.xsl"/>
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
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1128
         <assert-xml><![CDATA[<out>1.0E12</out>]]></assert-xml>
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
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1131
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1132
   <test-case name="bug-2901">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1133
      <description>Written by Santiago Pericas-Geertsen BUG: Saxon 5.4/007 DESCRIPTION: When the
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1134
         parent axis is used on the right-hand side of a "/" operator, the node-set returned will
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1135
         never include the root node. For example, if the current node is the document element, the
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1136
         expression "./.." will return an empty node-set. (The problem does not occur if this is
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1137
         simplified to "..")</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1138
      <created by="Michael Kay" on="2012-11-07"/>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1139
      <environment>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1140
         <source role="." file="bug-29.xml"/>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1141
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1142
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1143
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1144
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1145
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1146
         <stylesheet file="bug-2901.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1147
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1148
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1149
         <assert-xml><![CDATA[<out><a>1;</a><b>1;</b></out>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1150
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1151
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1152
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1153
   <test-case name="bug-3001">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1154
      <description>BUG: Saxon DESCRIPTION: from
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1155
         http://www.zvon.org/xxl/XSLTreference/OutputExamples/example_8_87_frame.html</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1156
      <created by="Michael Kay" on="2012-11-07"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1157
      <modified by="John Lumley" on="2014-09-04" change="Declared serialization requirement"/>
40
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1158
      <environment>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1159
         <source role="." file="bug-30.xml"/>
5a7d98a11eba Tidy up tests in sets attribute-set, namespace, try, bug.
Michael Kay <mike@saxonica.com>
parents: 6
diff changeset
  1160
      </environment>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1161
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1162
         <spec value="XSLT10+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1163
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1164
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1165
         <stylesheet file="bug-3001.xsl"/>
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1166
         <output serialize="yes"/>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1167
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1168
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1169
         <assert-serialization method="text" file="bug51.out"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1170
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1171
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1172
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1173
   <test-case name="bug-3101">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1174
      <description>XML Remote Processor Security Check Helper Stylesheet Author: Dimitre Novatchev
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1175
         (dnovatchev@yahoo.com) BUG: DESCRIPTION This is the only output produced</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1176
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1177
      <environment ref="bug-31"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1178
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1179
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1180
         <feature value="namespace_axis"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1181
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1182
      <test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1183
         <stylesheet file="bug-3101.xsl"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1184
      </test>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1185
      <result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1186
         <assert-xml><![CDATA[<out>20</out>]]></assert-xml>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1187
      </result>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1188
   </test-case>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1189
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1190
   <test-case name="bug-3102">
650
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1191
      <description>XML Remote Processor Security Check Helper Stylesheet Author: Dimitre Novatchev
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1192
         (dnovatchev@yahoo.com) BUG: DESCRIPTION Same as bug52 but without the explicit call on
d6f1cb8c36d9 Added serialization post-processing declarations
John Lumley <john@saxonica.com>
parents: 155
diff changeset
  1193
         saxon:node-set()</description>
1
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1194
      <created by="Michael Kay" on="2012-11-07"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1195
      <environment ref="bug-31"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1196
      <dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1197
         <spec value="XSLT20+"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1198
         <feature value="namespace_axis"/>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1199
      </dependencies>
9fa075f0bb80 Initial commit of converted tests
Michael Kay <mike@saxonica.com>
parents: