tests/decl/override/_override-test-set.xml
author Michael Kay <mike@saxonica.com>
Tue, 18 Aug 2015 18:22:28 +0100
changeset 1045 6d51333a8d63
parent 1015 b7ec635012c5
child 1066 eb9be73e24d7
permissions -rw-r--r--
Various corrections to xsl:override tests
216
55961b076399 Add some initial tests for packages
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
55961b076399 Add some initial tests for packages
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     2
<test-set xmlns:xs="http://www.w3.org/2001/XMLSchema"
55961b076399 Add some initial tests for packages
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     3
          xmlns="http://www.w3.org/2012/10/xslt-test-catalog"
55961b076399 Add some initial tests for packages
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     4
          name="override">
55961b076399 Add some initial tests for packages
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     5
   <description>Tests xsl:override in XSLT 3.0</description>
55961b076399 Add some initial tests for packages
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     6
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
     7
   <environment name="override-f-A">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
     8
      <package file="override-base-f-001.xsl" role="secondary" uri="http://www.w3.org/xslt30tests/override-base-001" package-version="1.0.0"/>
262
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
     9
   </environment>
279
3abfe0c1b375 New tests for packages and xsl:override
Michael Kay <mike@saxonica.com>
parents: 262
diff changeset
    10
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    11
   <environment name="override-t-B">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    12
      <package file="override-base-t-001.xsl" role="secondary" uri="http://www.w3.org/xslt30tests/override-base-101" package-version="1.0.0"/>
279
3abfe0c1b375 New tests for packages and xsl:override
Michael Kay <mike@saxonica.com>
parents: 262
diff changeset
    13
   </environment>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    14
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    15
   <environment name="override-v-C">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    16
      <package file="override-base-v-001.xsl" role="secondary" uri="http://www.w3.org/xslt30tests/override-base-201" package-version="1.0.0"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    17
   </environment>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    18
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    19
   <environment name="override-as-D">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    20
      <package file="override-base-as-001.xsl" role="secondary" uri="http://www.w3.org/xslt30tests/override-base-301" package-version="1.0.0"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    21
   </environment>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    22
   
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    23
   <environment name="override-misc-E">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    24
      <package file="override-base-misc-001.xsl" role="secondary" uri="http://www.w3.org/xslt30tests/override-base-901" package-version="1.0.0"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    25
   </environment>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    26
   
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    27
   <environment name="override-misc-F">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    28
      <package file="override-base-misc-002.xsl" role="secondary" uri="http://www.w3.org/xslt30tests/override-base-misc-002" package-version="1.0.0"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    29
   </environment>
216
55961b076399 Add some initial tests for packages
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    30
55961b076399 Add some initial tests for packages
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    31
   <dependencies>
1045
6d51333a8d63 Various corrections to xsl:override tests
Michael Kay <mike@saxonica.com>
parents: 1015
diff changeset
    32
      <spec value="XSLT30+"/> 
216
55961b076399 Add some initial tests for packages
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    33
   </dependencies>
55961b076399 Add some initial tests for packages
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    34
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    35
   <test-case name="override-f-001">
216
55961b076399 Add some initial tests for packages
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    36
      <description>Successful override of a function</description>
55961b076399 Add some initial tests for packages
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    37
      <created by="Michael Kay" on="2013-07-08"/>
629
ddb96ca9aec9 No xsl:stylesheet child of xsl:package (bug 26468)
Michael Kay <mike@saxonica.com>
parents: 400
diff changeset
    38
      <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    39
      <environment ref="override-f-A"/>
246
c53ad105ebd9 More xsl:override tests
Michael Kay <mike@saxonica.com>
parents: 235
diff changeset
    40
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    41
         <package file="override-f-001.xsl" role="principal"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    42
         <initial-template name="main"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    43
      </test>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    44
      <result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    45
         <assert>/ok</assert>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    46
      </result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    47
   </test-case>
262
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
    48
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    49
   <test-case name="override-f-002">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    50
      <description>Successful use of override of a function defined in a library package</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    51
      <created by="O'Neil Delpratt" on="2013-07-17"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    52
      <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    53
      <environment ref="override-f-A"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    54
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    55
         <package file="override-f-002.xsl" role="principal"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    56
         <initial-template name="main"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    57
      </test>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    58
      <result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    59
         <assert>/ok</assert>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    60
      </result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    61
   </test-case>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    62
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    63
   <test-case name="override-f-003">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    64
      <description>Unsuccessful use of override of a function defined in a library package. Parameter types are different</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    65
      <created by="O'Neil Delpratt" on="2013-07-17"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    66
      <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    67
      <environment ref="override-f-A"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    68
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    69
         <package file="override-f-003.xsl" role="principal"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    70
         <initial-template name="main"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    71
      </test>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    72
      <result>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    73
         <error code="XTSE3070"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    74
      </result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    75
   </test-case>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    76
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    77
   <test-case name="override-f-004">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    78
      <description>Unsuccessful use of override of a function as it is not defined in a library package.</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    79
      <created by="O'Neil Delpratt" on="2013-07-17"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    80
      <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    81
      <environment ref="override-f-A"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
    82
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    83
         <package file="override-f-004.xsl" role="principal"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    84
         <initial-template name="main"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    85
      </test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    86
      <result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    87
         <error code="XTSE3058"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    88
      </result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    89
   </test-case>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    90
   
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    91
   <test-case name="override-f-005">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    92
      <description>Disallow text as a child of xsl:override.</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    93
      <created by="Michael Kay" on="2013-07-19"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    94
      <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    95
      <environment ref="override-f-A"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    96
      <test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    97
         <package file="override-f-005.xsl" role="principal"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    98
         <initial-template name="main"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
    99
      </test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   100
      <result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   101
         <error code="XTSE0010"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   102
      </result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   103
   </test-case>  
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   104
   
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   105
   <test-case name="override-f-006">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   106
      <description>Disallow LRE as a child of xsl:override.</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   107
      <created by="Michael Kay" on="2013-07-19"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   108
      <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   109
      <environment ref="override-f-A"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   110
      <test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   111
         <package file="override-f-006.xsl" role="principal"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   112
         <initial-template name="main"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   113
      </test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   114
      <result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   115
         <error code="XTSE0010"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   116
      </result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   117
   </test-case> 
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   118
   
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   119
   <test-case name="override-f-007">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   120
      <description>Disallow xsl:override as a child of xsl:override.</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   121
      <created by="Michael Kay" on="2013-07-19"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   122
      <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   123
      <environment ref="override-f-A"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   124
      <test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   125
         <package file="override-f-007.xsl" role="principal"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   126
         <initial-template name="main"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   127
      </test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   128
      <result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   129
         <error code="XTSE0010"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   130
      </result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   131
   </test-case>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   132
   
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   133
   <test-case name="override-f-008">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   134
      <description>Empty xsl:override is allowed.</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   135
      <created by="Michael Kay" on="2013-07-19"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   136
      <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   137
      <environment ref="override-f-A"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   138
      <test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   139
         <package file="override-f-008.xsl" role="principal"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   140
         <initial-template name="main"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   141
      </test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   142
      <result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   143
         <assert>/out</assert>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   144
      </result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   145
   </test-case>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   146
   
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   147
   <test-case name="override-f-009">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   148
      <description>Overridden function called from within a stylesheet function</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   149
      <created by="Michael Kay" on="2013-10-17"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   150
      <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   151
      <environment ref="override-f-A"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   152
      <test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   153
         <package file="override-f-009.xsl" role="principal"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   154
         <initial-template name="main"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   155
      </test>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   156
      <result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   157
         <assert>/ok</assert>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   158
      </result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   159
   </test-case>
262
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   160
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   161
   <test-case name="override-f-010">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   162
      <description>Overridden function called from within a global variable initializer</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   163
      <created by="Michael Kay" on="2013-10-17"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   164
      <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   165
      <environment ref="override-f-A"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   166
      <test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   167
         <package file="override-f-010.xsl" role="principal"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   168
         <initial-template name="main"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   169
      </test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   170
      <result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   171
         <assert>/ok</assert>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   172
      </result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   173
   </test-case>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   174
   
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   175
   <test-case name="override-f-011">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   176
      <description>Overridden function called from within a template rule</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   177
      <created by="Michael Kay" on="2013-10-17"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   178
      <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   179
      <environment ref="override-f-A"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   180
      <test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   181
         <package file="override-f-011.xsl" role="principal"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   182
         <initial-template name="main"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   183
      </test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   184
      <result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   185
         <assert>/ok</assert>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   186
      </result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   187
   </test-case>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   188
   
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   189
   <test-case name="override-f-012">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   190
      <description>Overridden function called from within a global variable in used package</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   191
      <created by="Michael Kay" on="2013-10-17"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   192
      <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   193
      <environment ref="override-f-A"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   194
      <test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   195
         <package file="override-f-012.xsl" role="principal"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   196
         <initial-template name="main"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   197
      </test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   198
      <result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   199
         <assert>/ok</assert>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   200
      </result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   201
   </test-case>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   202
   
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   203
   <test-case name="override-f-013">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   204
      <description>Overridden function called via function reference in used package</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   205
      <created by="Michael Kay" on="2015-02-28"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   206
      <environment ref="override-f-A"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   207
      <test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   208
         <package file="override-f-013.xsl" role="principal"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   209
         <initial-template name="main"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   210
      </test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   211
      <result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   212
         <assert>/ok</assert>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   213
      </result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   214
   </test-case>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   215
   
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   216
   <test-case name="override-f-014">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   217
      <description>Private function called via function reference in used package</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   218
      <created by="Michael Kay" on="2015-02-28"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   219
      <environment ref="override-f-A"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   220
      <test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   221
         <package file="override-f-014.xsl" role="principal"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   222
         <initial-template name="main"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   223
      </test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   224
      <result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   225
         <assert>/ok</assert>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   226
      </result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   227
   </test-case>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   228
   
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   229
   <test-case name="override-f-015">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   230
      <description>Partial function application of an overridden function</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   231
      <!-- Currently (2015-02-28) failing in Saxon because we're binding statically to the target function -->
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   232
      <created by="Michael Kay" on="2015-02-28"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   233
      <environment ref="override-f-A"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   234
      <test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   235
         <package file="override-f-015.xsl" role="principal"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   236
         <initial-template name="main"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   237
      </test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   238
      <result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   239
         <assert>/ok</assert>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   240
      </result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   241
   </test-case>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   242
   
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   243
   <test-case name="override-f-016">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   244
      <description>A function call using xsl:original</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   245
      <created by="Michael Kay" on="2015-03-01"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   246
      <environment ref="override-f-A"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   247
      <test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   248
         <package file="override-f-016.xsl" role="principal"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   249
         <initial-template name="main"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   250
      </test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   251
      <result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   252
         <assert>/ok</assert>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   253
      </result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   254
   </test-case>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   255
   
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   256
   <test-case name="override-f-017">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   257
      <description>A named function reference using xsl:original</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   258
      <created by="Michael Kay" on="2015-03-01"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   259
      <environment ref="override-f-A"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   260
      <test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   261
         <package file="override-f-017.xsl" role="principal"/>
1045
6d51333a8d63 Various corrections to xsl:override tests
Michael Kay <mike@saxonica.com>
parents: 1015
diff changeset
   262
         <initial-template name="xsl:initial-template" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   263
      </test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   264
      <result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   265
         <assert>/ok</assert>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   266
      </result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   267
   </test-case>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   268
   
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   269
   <test-case name="override-f-018">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   270
      <description>Partial function application using xsl:original</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   271
      <created by="Michael Kay" on="2015-03-01"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   272
      <environment ref="override-f-A"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   273
      <test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   274
         <package file="override-f-018.xsl" role="principal"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   275
         <initial-template name="main"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   276
      </test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   277
      <result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   278
         <assert>/ok</assert>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   279
      </result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   280
   </test-case>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   281
   
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   282
   <test-case name="override-t-001">
262
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   283
      <description>Successful override of a named template, when called from overriding package</description>
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   284
      <created by="Michael Kay" on="2013-07-31"/>
629
ddb96ca9aec9 No xsl:stylesheet child of xsl:package (bug 26468)
Michael Kay <mike@saxonica.com>
parents: 400
diff changeset
   285
      <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   286
      <environment ref="override-t-B"/>
262
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   287
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   288
         <package file="override-t-001.xsl" role="principal"/>
262
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   289
         <initial-template name="main"/>
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   290
      </test>
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   291
      <result>
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   292
         <assert>/out = '*xxxxx*'</assert>
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   293
      </result>
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   294
   </test-case>  
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   295
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   296
   <test-case name="override-t-002">
262
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   297
      <description>Successful override of a named template, when called from base package</description>
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   298
      <created by="Michael Kay" on="2013-07-31"/>
629
ddb96ca9aec9 No xsl:stylesheet child of xsl:package (bug 26468)
Michael Kay <mike@saxonica.com>
parents: 400
diff changeset
   299
      <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   300
      <environment ref="override-t-B"/>
262
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   301
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   302
         <package file="override-t-002.xsl" role="principal"/>
262
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   303
         <initial-template name="main"/>
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   304
      </test>
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   305
      <result>
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   306
         <assert>/out = '*xxxxx*'</assert>
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   307
      </result>
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   308
   </test-case>   
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   309
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   310
   <test-case name="override-t-003">
262
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   311
      <description>Cannot call an abstract template</description>
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   312
      <created by="Michael Kay" on="2013-07-31"/>
629
ddb96ca9aec9 No xsl:stylesheet child of xsl:package (bug 26468)
Michael Kay <mike@saxonica.com>
parents: 400
diff changeset
   313
      <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   314
      <environment ref="override-t-B"/>
262
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   315
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   316
         <package file="override-t-003.xsl" role="principal"/>
262
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   317
         <initial-template name="main"/>
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   318
      </test>
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   319
      <result>
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   320
         <error code="XTSE3080"/>
e368db58afcf Modify accumulator tests to new syntax; and other changes
Michael Kay <mike@saxonica.com>
parents: 253
diff changeset
   321
      </result>
279
3abfe0c1b375 New tests for packages and xsl:override
Michael Kay <mike@saxonica.com>
parents: 262
diff changeset
   322
   </test-case>
716
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   323
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   324
   <test-case name="override-t-004">
716
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   325
      <description>Illegal template override, parameter types do not match</description>
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   326
      <created by="Michael Kay" on="2014-10-10"/>
1045
6d51333a8d63 Various corrections to xsl:override tests
Michael Kay <mike@saxonica.com>
parents: 1015
diff changeset
   327
      <modified by="Michael Kay" on="2015-08-18" change="correct expected error code"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   328
      <environment ref="override-t-B"/>
716
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   329
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   330
         <package file="override-t-004.xsl" role="principal"/>
716
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   331
         <initial-template name="main"/>
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   332
      </test>
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   333
      <result>
1045
6d51333a8d63 Various corrections to xsl:override tests
Michael Kay <mike@saxonica.com>
parents: 1015
diff changeset
   334
         <error code="XTSE3070"/>
716
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   335
      </result>
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   336
   </test-case>
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   337
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   338
   <test-case name="override-t-005">
716
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   339
      <description>Illegal template override, context item types do not match</description>
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   340
      <created by="Michael Kay" on="2014-10-10"/>
1045
6d51333a8d63 Various corrections to xsl:override tests
Michael Kay <mike@saxonica.com>
parents: 1015
diff changeset
   341
      <modified by="Michael Kay" on="2015-08-18" change="correct expected error code"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   342
      <environment ref="override-t-B"/>
716
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   343
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   344
         <package file="override-t-005.xsl" role="principal"/>
716
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   345
         <initial-template name="main"/>
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   346
      </test>
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   347
      <result>
1045
6d51333a8d63 Various corrections to xsl:override tests
Michael Kay <mike@saxonica.com>
parents: 1015
diff changeset
   348
         <error code="XTSE3070"/>
716
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   349
      </result>
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   350
   </test-case>
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   351
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   352
   <test-case name="override-t-006">
716
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   353
      <description>Illegal template override, context item use does not match</description>
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   354
      <created by="Michael Kay" on="2014-10-10"/>
811
dbe2ee8ecfa8 More changes use=prohibited -> use=absent
Michael Kay <mike@saxonica.com>
parents: 716
diff changeset
   355
      <modified by="Michael Kay" on="2015-01-26" change="keyword change: prohibited -> absent"/>
1045
6d51333a8d63 Various corrections to xsl:override tests
Michael Kay <mike@saxonica.com>
parents: 1015
diff changeset
   356
      <modified by="Michael Kay" on="2015-08-18" change="correct expected error code"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   357
      <environment ref="override-t-B"/>
716
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   358
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   359
         <package file="override-t-006.xsl" role="principal"/>
716
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   360
         <initial-template name="main"/>
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   361
      </test>
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   362
      <result>
1045
6d51333a8d63 Various corrections to xsl:override tests
Michael Kay <mike@saxonica.com>
parents: 1015
diff changeset
   363
         <error code="XTSE3070"/>
716
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   364
      </result>
aa04381d16d1 Add tests for xsl:context-item declaration
Michael Kay <mike@saxonica.com>
parents: 629
diff changeset
   365
   </test-case>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   366
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   367
   <test-case name="override-t-007">
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   368
      <description>A named template calling xsl:original</description>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   369
      <created by="Michael Kay" on="2015-03-01"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   370
      <environment ref="override-t-B"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   371
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   372
         <package file="override-t-007.xsl" role="principal"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   373
         <initial-template name="main"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   374
      </test>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   375
      <result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   376
         <assert>/out = '*xxxxx*'</assert>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   377
      </result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   378
   </test-case>  
279
3abfe0c1b375 New tests for packages and xsl:override
Michael Kay <mike@saxonica.com>
parents: 262
diff changeset
   379
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   380
   <test-case name="override-v-001">
279
3abfe0c1b375 New tests for packages and xsl:override
Michael Kay <mike@saxonica.com>
parents: 262
diff changeset
   381
      <description>Successful override of a public global variable</description>
3abfe0c1b375 New tests for packages and xsl:override
Michael Kay <mike@saxonica.com>
parents: 262
diff changeset
   382
      <created by="Michael Kay" on="2013-10-18"/>
629
ddb96ca9aec9 No xsl:stylesheet child of xsl:package (bug 26468)
Michael Kay <mike@saxonica.com>
parents: 400
diff changeset
   383
      <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   384
      <environment ref="override-v-C"/>
279
3abfe0c1b375 New tests for packages and xsl:override
Michael Kay <mike@saxonica.com>
parents: 262
diff changeset
   385
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   386
         <package file="override-v-001.xsl" role="principal"/>
279
3abfe0c1b375 New tests for packages and xsl:override
Michael Kay <mike@saxonica.com>
parents: 262
diff changeset
   387
         <initial-template name="main"/>
3abfe0c1b375 New tests for packages and xsl:override
Michael Kay <mike@saxonica.com>
parents: 262
diff changeset
   388
      </test>
3abfe0c1b375 New tests for packages and xsl:override
Michael Kay <mike@saxonica.com>
parents: 262
diff changeset
   389
      <result>
3abfe0c1b375 New tests for packages and xsl:override
Michael Kay <mike@saxonica.com>
parents: 262
diff changeset
   390
         <assert>/ok</assert>
3abfe0c1b375 New tests for packages and xsl:override
Michael Kay <mike@saxonica.com>
parents: 262
diff changeset
   391
      </result>
3abfe0c1b375 New tests for packages and xsl:override
Michael Kay <mike@saxonica.com>
parents: 262
diff changeset
   392
   </test-case>
3abfe0c1b375 New tests for packages and xsl:override
Michael Kay <mike@saxonica.com>
parents: 262
diff changeset
   393
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   394
   <test-case name="override-v-002">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   395
      <description>Reference from private variable to overridden public variable</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   396
      <created by="Michael Kay" on="2013-10-18"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   397
      <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   398
      <environment ref="override-v-C"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   399
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   400
         <package file="override-v-002.xsl" role="principal"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   401
         <initial-template name="main"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   402
      </test>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   403
      <result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   404
         <assert>/ok</assert>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   405
      </result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   406
   </test-case>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   407
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   408
   <test-case name="override-v-003">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   409
      <description>An overridden public global variable using xsl:original</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   410
      <created by="Michael Kay" on="2015-03-01"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   411
      <environment ref="override-v-C"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   412
      <test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   413
         <package file="override-v-003.xsl" role="principal"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   414
         <initial-template name="main"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   415
      </test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   416
      <result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   417
         <assert>/ok</assert>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   418
      </result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   419
   </test-case>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   420
   
1015
b7ec635012c5 Add test for overridden global variable in a match pattern
Michael Kay <mike@saxonica.com>
parents: 833
diff changeset
   421
   <test-case name="override-v-004">
b7ec635012c5 Add test for overridden global variable in a match pattern
Michael Kay <mike@saxonica.com>
parents: 833
diff changeset
   422
      <description>An overridden public global variable appearing in a match pattern</description>
1045
6d51333a8d63 Various corrections to xsl:override tests
Michael Kay <mike@saxonica.com>
parents: 1015
diff changeset
   423
      <!-- MHK: Not currently working in Saxon, needs to treat the mode as a component with a single binding vector -->
1015
b7ec635012c5 Add test for overridden global variable in a match pattern
Michael Kay <mike@saxonica.com>
parents: 833
diff changeset
   424
      <created by="Michael Kay" on="2015-03-01"/>
b7ec635012c5 Add test for overridden global variable in a match pattern
Michael Kay <mike@saxonica.com>
parents: 833
diff changeset
   425
      <environment ref="override-v-C"/>
b7ec635012c5 Add test for overridden global variable in a match pattern
Michael Kay <mike@saxonica.com>
parents: 833
diff changeset
   426
      <test>
b7ec635012c5 Add test for overridden global variable in a match pattern
Michael Kay <mike@saxonica.com>
parents: 833
diff changeset
   427
         <package file="override-v-004.xsl" role="principal"/>
b7ec635012c5 Add test for overridden global variable in a match pattern
Michael Kay <mike@saxonica.com>
parents: 833
diff changeset
   428
         <initial-template name="main"/>
b7ec635012c5 Add test for overridden global variable in a match pattern
Michael Kay <mike@saxonica.com>
parents: 833
diff changeset
   429
      </test>
b7ec635012c5 Add test for overridden global variable in a match pattern
Michael Kay <mike@saxonica.com>
parents: 833
diff changeset
   430
      <result>
b7ec635012c5 Add test for overridden global variable in a match pattern
Michael Kay <mike@saxonica.com>
parents: 833
diff changeset
   431
         <assert>/go/not-one</assert>
b7ec635012c5 Add test for overridden global variable in a match pattern
Michael Kay <mike@saxonica.com>
parents: 833
diff changeset
   432
      </result>
b7ec635012c5 Add test for overridden global variable in a match pattern
Michael Kay <mike@saxonica.com>
parents: 833
diff changeset
   433
   </test-case>
b7ec635012c5 Add test for overridden global variable in a match pattern
Michael Kay <mike@saxonica.com>
parents: 833
diff changeset
   434
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   435
   <test-case name="override-as-001">
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   436
      <description>Successful override of a public attribute-set</description>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   437
      <created by="Michael Kay" on="2015-02-28"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   438
      <environment ref="override-as-D"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   439
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   440
         <package file="override-as-001.xsl" role="principal"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   441
         <initial-template name="main"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   442
      </test>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   443
      <result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   444
         <assert-xml><![CDATA[<out><x pub1="pub1o" pub2="pub2o"/><y abs1="abs1o" abs2="abs2o"/><z final1="final1"/></out>]]></assert-xml>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   445
      </result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   446
   </test-case>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   447
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   448
   <test-case name="override-as-002">
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   449
      <description>Successful override of a public attribute-set with use-attribute-sets="xsl:original"</description>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   450
      <created by="Michael Kay" on="2015-02-28"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   451
      <environment ref="override-as-D"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   452
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   453
         <package file="override-as-002.xsl" role="principal"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   454
         <initial-template name="main"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   455
      </test>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   456
      <result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   457
         <assert-xml><![CDATA[<out><x base1="base1"
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   458
      priv1="priv1"
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   459
      pub1="pub1o"
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   460
      pub2="pub2"
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   461
      pub3="pub3o"/><y abs1="abs1o" abs2="abs2o"/><z final1="final1"/></out>]]></assert-xml>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   462
      </result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   463
   </test-case>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   464
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   465
   <test-case name="override-as-003">
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   466
      <description>Override of a public attribute-set creates a circularity</description>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   467
      <created by="Michael Kay" on="2015-02-28"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   468
      <environment ref="override-as-D"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   469
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   470
         <package file="override-as-003.xsl" role="principal"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   471
         <initial-template name="main"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   472
      </test>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   473
      <result>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   474
         <error code="XTDE0640"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   475
      </result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   476
   </test-case>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   477
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   478
   <test-case name="override-as-004">
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   479
      <description>Attempt to override a private attribute-set</description>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   480
      <created by="Michael Kay" on="2015-02-28"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   481
      <environment ref="override-as-D"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   482
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   483
         <package file="override-as-004.xsl" role="principal"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   484
         <initial-template name="main"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   485
      </test>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   486
      <result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   487
         <error code="XTSE3060"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   488
      </result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   489
   </test-case>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   490
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   491
   <test-case name="override-as-005">
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   492
      <description>Two private attribute sets with the same name in different packages</description>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   493
      <created by="Michael Kay" on="2015-02-28"/>
1045
6d51333a8d63 Various corrections to xsl:override tests
Michael Kay <mike@saxonica.com>
parents: 1015
diff changeset
   494
      <modified by="Michael Kay" on="2015-08-18" change="correct expected results"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   495
      <environment ref="override-as-D"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   496
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   497
         <package file="override-as-005.xsl" role="principal"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   498
         <initial-template name="main"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   499
      </test>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   500
      <result>
1045
6d51333a8d63 Various corrections to xsl:override tests
Michael Kay <mike@saxonica.com>
parents: 1015
diff changeset
   501
         <assert-xml><![CDATA[<out><x base1="base1" priv1="priv1" pub1="pub1" pub2="pub2"/><y priv8="priv8" priv9="priv9"/></out>]]></assert-xml>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   502
      </result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   503
   </test-case>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   504
   
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   505
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   506
   <test-case name="override-misc-001">
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   507
      <description>Cannot override a key</description>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   508
      <created by="Michael Kay" on="2015-03-01"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   509
      <environment ref="override-misc-E"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   510
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   511
         <package file="override-misc-001.xsl" role="principal"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   512
         <initial-template name="main"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   513
      </test>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   514
      <result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   515
         <error code="XTSE0010"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   516
      </result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   517
   </test-case>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   518
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   519
   <test-case name="override-misc-002">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   520
      <description>Cannot override an accumulator</description>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   521
      <created by="Michael Kay" on="2015-03-01"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   522
      <environment ref="override-misc-E"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   523
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   524
         <package file="override-misc-002.xsl" role="principal"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   525
         <initial-template name="main"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   526
      </test>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   527
      <result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   528
         <error code="XTSE0010"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   529
      </result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   530
   </test-case>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   531
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   532
   <test-case name="override-misc-003">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   533
      <description>Cannot override a decimal format</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   534
      <created by="Michael Kay" on="2015-03-01"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   535
      <environment ref="override-misc-E"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   536
      <test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   537
         <package file="override-misc-003.xsl" role="principal"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   538
         <initial-template name="main"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   539
      </test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   540
      <result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   541
         <error code="XTSE0010"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   542
      </result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   543
   </test-case>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   544
   
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   545
   <test-case name="override-misc-004">
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   546
      <description>Keys in different packages can have the same name</description>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   547
      <created by="Michael Kay" on="2015-03-01"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   548
      <environment ref="override-misc-E"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   549
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   550
         <package file="override-misc-004.xsl" role="principal"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   551
         <initial-template name="main"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   552
      </test>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   553
      <result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   554
         <assert-xml><![CDATA[<out><a><x>y</x></a><b><e>x</e></b></out>]]></assert-xml>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   555
      </result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   556
   </test-case>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   557
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   558
   <test-case name="override-misc-005">
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   559
      <description>Accumulators in different packages can have the same name</description>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   560
      <created by="Michael Kay" on="2015-03-01"/>
1045
6d51333a8d63 Various corrections to xsl:override tests
Michael Kay <mike@saxonica.com>
parents: 1015
diff changeset
   561
      <modified by="Michael Kay" on="2014-08-22" change="spec change, @new-value->@select"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   562
      <environment ref="override-misc-E"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   563
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   564
         <package file="override-misc-005.xsl" role="principal"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   565
         <initial-template name="main"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   566
      </test>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   567
      <result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   568
         <assert-xml><![CDATA[<out><a>-3</a><b>3</b></out>]]></assert-xml>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   569
      </result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   570
   </test-case>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   571
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   572
   <test-case name="override-misc-006">
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   573
      <description>Decimal formats in different packages can have the same name</description>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   574
      <created by="Michael Kay" on="2015-03-01"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   575
      <environment ref="override-misc-E"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   576
      <test>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   577
         <package file="override-misc-006.xsl" role="principal"/>
829
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   578
         <initial-template name="main"/>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   579
      </test>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   580
      <result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   581
         <assert-xml><![CDATA[<out><a>123!456:78</a><b>123.456,78</b></out>]]></assert-xml>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   582
      </result>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   583
   </test-case>
e4c8c61a2a0b Add more tests for xsl:override, including attribute sets
Michael Kay <mike@saxonica.com>
parents: 811
diff changeset
   584
   
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   585
   <test-case name="override-misc-007">
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   586
      <description>Streamed accumulators in different packages can have the same name</description>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   587
      <created by="Michael Kay" on="2015-03-01"/>
1045
6d51333a8d63 Various corrections to xsl:override tests
Michael Kay <mike@saxonica.com>
parents: 1015
diff changeset
   588
      <modified by="Michael Kay" on="2014-08-22" change="spec change, @new-value->@select"/>
833
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   589
      <environment ref="override-misc-F"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   590
      <test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   591
         <package file="override-misc-007.xsl" role="principal"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   592
         <initial-template name="main"/>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   593
      </test>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   594
      <result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   595
         <assert-xml><![CDATA[<out><a><count nodes="78"/><acc value="78"/></a><b><count nodes="78"/><acc value="-78"/></b></out>]]></assert-xml>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   596
      </result>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   597
   </test-case>
c6ac7a813881 Change naming scheme for tests in decl/override
Michael Kay <mike@saxonica.com>
parents: 829
diff changeset
   598
   
279
3abfe0c1b375 New tests for packages and xsl:override
Michael Kay <mike@saxonica.com>
parents: 262
diff changeset
   599
      
246
c53ad105ebd9 More xsl:override tests
Michael Kay <mike@saxonica.com>
parents: 235
diff changeset
   600
  
216
55961b076399 Add some initial tests for packages
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   601
55961b076399 Add some initial tests for packages
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   602
55961b076399 Add some initial tests for packages
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   603
</test-set>