tests/misc/error/_error-test-set.xml
author abraaksm
Tue, 07 Apr 2015 08:57:56 +0200
changeset 930 84d455113603
parent 929 73bc2d0f3dbb
child 931 82bef93bed91
permissions -rw-r--r--
Bug 28425, tentative fix for rollback-output (error is implementation dependent)
635
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     2
<test-set xmlns="http://www.w3.org/2012/10/xslt-test-catalog"
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     3
          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
642
a427b02ba2db Fix test validation errors
Michael Kay <mike@saxonica.com>
parents: 635
diff changeset
     4
          name="error">
635
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     5
   <description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     6
                Tests error conditions. 
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     7
                This test set should include a test for every error code (however, coverage of new XSLT 3.0 errors is incomplete).
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     8
            </description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     9
  
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    10
   <environment name="error001">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    11
      <source role=".">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    12
         <content><![CDATA[<doc>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    13
  <element attribute="3"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    14
</doc>]]></content>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    15
      </source>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    16
   </environment>
748
f08f4efb7443 Adding tests for invocation error cases with default or unnamed mode and intial mode
abraaksm
parents: 708
diff changeset
    17
     
f08f4efb7443 Adding tests for invocation error cases with default or unnamed mode and intial mode
abraaksm
parents: 708
diff changeset
    18
   <environment name="error001a">
f08f4efb7443 Adding tests for invocation error cases with default or unnamed mode and intial mode
abraaksm
parents: 708
diff changeset
    19
      <source role=".">
f08f4efb7443 Adding tests for invocation error cases with default or unnamed mode and intial mode
abraaksm
parents: 708
diff changeset
    20
         <content><![CDATA[<doc/>]]></content>
f08f4efb7443 Adding tests for invocation error cases with default or unnamed mode and intial mode
abraaksm
parents: 708
diff changeset
    21
      </source>
f08f4efb7443 Adding tests for invocation error cases with default or unnamed mode and intial mode
abraaksm
parents: 708
diff changeset
    22
   </environment>
635
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    23
   
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    24
   <environment name="error002">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    25
      <package file="error-base-002.xsl" role="secondary" 
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    26
               uri="http://www.w3.org/xslt30tests/error-base-002" package-version="1.0.0"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    27
   </environment>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    28
   
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    29
   <environment name="error003">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    30
      <package file="error-base-002.xsl" role="secondary" 
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    31
               uri="http://www.w3.org/xslt30tests/error-base-002" package-version="1.0.0"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    32
      <package file="error-base-003.xsl" role="secondary" 
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    33
               uri="http://www.w3.org/xslt30tests/error-base-003" package-version="1.0.0"/>         
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    34
   </environment>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    35
   
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    36
   <environment name="error004">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    37
      <package file="error-base-004.xsl" role="secondary" 
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    38
               uri="http://www.w3.org/xslt30tests/error-base-004" package-version="1.0.0"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    39
   </environment>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    40
   
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    41
   <environment name="error005">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    42
      <package file="error-base-005.xsl" role="secondary" 
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    43
               uri="http://www.w3.org/xslt30tests/error-base-005" package-version="1.0.0"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    44
   </environment>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    45
   
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    46
   <environment name="error152">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    47
      <source role=".">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    48
         <content><![CDATA[ 
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    49
                        
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    50
<doc>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    51
    <item val="1"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    52
    <item val="2"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    53
    <item val="3"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    54
    <item val="4"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    55
    <item val="5"/>                
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    56
</doc>]]></content>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    57
      </source>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    58
   </environment>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    59
   <environment name="error214">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    60
      <source role=".">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    61
         <content><![CDATA[<t04>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    62
  <a id="a" code="1" value="10"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    63
  <a id="b" code="2" value="20"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    64
  <a id="c" code="2" value="30"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    65
  <a id="d" code="1" value="40"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    66
</t04>]]></content>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    67
      </source>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    68
   </environment>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    69
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    70
   <test-case name="error-0010a">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    71
      <description>Error: &lt;xsl:param&gt; must come first.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    72
Was error-code-018.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    73
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    74
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    75
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    76
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    77
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    78
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    79
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    80
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    81
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    82
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    83
         <stylesheet file="error-0010a.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    84
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    85
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    86
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    87
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    88
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    89
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    90
   <test-case name="error-0010b">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    91
      <description>Error: xsl:stylesheet no version att.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    92
Was error-code-035.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    93
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    94
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    95
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    96
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    97
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    98
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    99
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   100
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   101
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   102
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   103
         <stylesheet file="error-0010b.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   104
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   105
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   106
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   107
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   108
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   109
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   110
   <test-case name="error-0010c">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   111
      <description>Error: xsl:apply-imports top level.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   112
Was error-code-040.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   113
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   114
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   115
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   116
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   117
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   118
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   119
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   120
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   121
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   122
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   123
         <stylesheet file="error-0010c.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   124
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   125
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   126
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   127
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   128
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   129
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   130
   <test-case name="error-0010d">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   131
      <description>Error: xsl:apply-imports - xsl:sort not allowed here.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   132
Was error-code-042.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   133
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   134
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   135
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   136
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   137
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   138
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   139
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   140
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   141
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   142
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   143
         <stylesheet file="error-0010d.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   144
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   145
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   146
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   147
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   148
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   149
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   150
   <test-case name="error-0010e">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   151
      <description>Error: xsl:apply-imports - xsl:fallback not allowed here.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   152
Was error-code-043.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   153
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   154
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   155
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   156
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   157
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   158
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   159
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   160
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   161
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   162
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   163
         <stylesheet file="error-0010e.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   164
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   165
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   166
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   167
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   168
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   169
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   170
   <test-case name="error-0010f">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   171
      <description>Error: xsl:apply-templates misplaced xsl:text.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   172
Was error-code-047.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   173
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   174
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   175
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   176
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   177
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   178
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   179
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   180
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   181
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   182
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   183
         <stylesheet file="error-0010f.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   184
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   185
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   186
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   187
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   188
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   189
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   190
   <test-case name="error-0010g">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   191
      <description>Error: xsl:apply-templates (top level).
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   192
Was error-code-048.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   193
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   194
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   195
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   196
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   197
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   198
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   199
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   200
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   201
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   202
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   203
         <stylesheet file="error-0010g.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   204
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   205
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   206
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   207
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   208
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   209
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   210
   <test-case name="error-0010h">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   211
      <description>Error: xsl:call-template misplaced xsl:sort.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   212
Was error-code-051.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   213
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   214
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   215
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   216
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   217
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   218
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   219
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   220
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   221
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   222
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   223
         <stylesheet file="error-0010h.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   224
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   225
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   226
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   227
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   228
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   229
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   230
   <test-case name="error-0010i">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   231
      <description>Error: xsl:choose.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   232
Was error-code-053.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   233
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   234
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   235
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   236
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   237
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   238
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   239
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   240
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   241
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   242
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   243
         <stylesheet file="error-0010i.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   244
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   245
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   246
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   247
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   248
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   249
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   250
   <test-case name="error-0010j">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   251
      <description>Error: xsl:choose.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   252
Was error-code-054.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   253
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   254
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   255
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   256
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   257
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   258
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   259
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   260
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   261
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   262
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   263
         <stylesheet file="error-0010j.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   264
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   265
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   266
         <any-of>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   267
            <error code="XTSE0090"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   268
            <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   269
         </any-of>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   270
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   271
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   272
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   273
   <test-case name="error-0010k">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   274
      <description>Error: xsl:choose.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   275
Was error-code-055.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   276
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   277
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   278
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   279
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   280
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   281
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   282
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   283
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   284
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   285
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   286
         <stylesheet file="error-0010k.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   287
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   288
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   289
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   290
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   291
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   292
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   293
   <test-case name="error-0010l">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   294
      <description>Error: xsl:choose.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   295
Was error-code-056.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   296
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   297
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   298
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   299
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   300
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   301
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   302
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   303
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   304
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   305
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   306
         <stylesheet file="error-0010l.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   307
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   308
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   309
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   310
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   311
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   312
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   313
   <test-case name="error-0010m">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   314
      <description>Error: xsl:choose.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   315
Was error-code-057.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   316
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   317
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   318
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   319
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   320
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   321
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   322
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   323
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   324
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   325
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   326
         <stylesheet file="error-0010m.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   327
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   328
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   329
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   330
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   331
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   332
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   333
   <test-case name="error-0010n">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   334
      <description>Error: xsl:choose.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   335
Was error-code-058.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   336
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   337
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   338
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   339
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   340
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   341
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   342
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   343
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   344
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   345
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   346
         <stylesheet file="error-0010n.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   347
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   348
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   349
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   350
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   351
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   352
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   353
   <test-case name="error-0010o">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   354
      <description>Error: xsl:choose.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   355
Was error-code-059.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   356
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   357
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   358
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   359
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   360
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   361
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   362
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   363
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   364
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   365
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   366
         <stylesheet file="error-0010o.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   367
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   368
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   369
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   370
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   371
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   372
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   373
   <test-case name="error-0010p">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   374
      <description>Error: xsl:decimal-format (not top level).
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   375
Was error-code-062.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   376
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   377
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   378
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   379
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   380
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   381
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   382
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   383
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   384
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   385
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   386
         <stylesheet file="error-0010p.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   387
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   388
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   389
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   390
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   391
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   392
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   393
   <test-case name="error-0010q">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   394
      <description>Error: xsl:attribute-set - no name.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   395
Was error-code-074.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   396
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   397
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   398
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   399
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   400
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   401
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   402
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   403
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   404
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   405
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   406
         <stylesheet file="error-0010q.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   407
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   408
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   409
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   410
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   411
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   412
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   413
   <test-case name="error-0010r">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   414
      <description>Error: xsl:attribute-set - bad content.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   415
Was error-code-076.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   416
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   417
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   418
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   419
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   420
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   421
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   422
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   423
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   424
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   425
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   426
         <stylesheet file="error-0010r.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   427
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   428
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   429
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   430
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   431
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   432
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   433
   <test-case name="error-0010s">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   434
      <description>Error: xsl:attribute-set - bad content.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   435
Was error-code-077.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   436
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   437
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   438
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   439
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   440
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   441
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   442
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   443
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   444
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   445
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   446
         <stylesheet file="error-0010s.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   447
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   448
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   449
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   450
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   451
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   452
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   453
   <test-case name="error-0010t">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   454
      <description>Error: xsl:attribute-set - bad content.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   455
Was error-code-078.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   456
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   457
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   458
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   459
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   460
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   461
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   462
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   463
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   464
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   465
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   466
         <stylesheet file="error-0010t.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   467
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   468
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   469
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   470
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   471
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   472
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   473
   <test-case name="error-0010u">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   474
      <description>Error: xsl:key - no match attribute.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   475
Was error-code-084.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   476
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   477
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   478
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   479
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   480
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   481
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   482
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   483
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   484
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   485
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   486
         <stylesheet file="error-0010u.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   487
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   488
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   489
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   490
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   491
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   492
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   493
   <test-case name="error-0010v">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   494
      <description>Error: xsl:key - not top-level.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   495
Was error-code-088.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   496
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   497
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   498
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   499
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   500
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   501
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   502
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   503
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   504
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   505
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   506
         <stylesheet file="error-0010v.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   507
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   508
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   509
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   510
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   511
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   512
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   513
   <test-case name="error-0010w">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   514
      <description>Error: xsl:include - no href.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   515
Was error-code-089.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   516
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   517
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   518
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   519
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   520
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   521
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   522
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   523
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   524
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   525
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   526
         <stylesheet file="error-0010w.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   527
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   528
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   529
         <any-of>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   530
            <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   531
            <error code="XTSE0090"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   532
         </any-of>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   533
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   534
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   535
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   536
   <test-case name="error-0010x">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   537
      <description>Error: xsl:include - not top-level.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   538
Was error-code-093.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   539
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   540
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   541
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   542
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   543
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   544
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   545
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   546
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   547
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   548
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   549
         <stylesheet file="error-0010x.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   550
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   551
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   552
         <any-of>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   553
            <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   554
            <error code="XTSE0170"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   555
         </any-of>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   556
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   557
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   558
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   559
   <test-case name="error-0010y">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   560
      <description>Error: xsl:import - no href.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   561
Was error-code-098.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   562
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   563
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   564
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   565
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   566
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   567
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   568
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   569
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   570
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   571
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   572
         <stylesheet file="error-0010y.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   573
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   574
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   575
         <any-of>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   576
            <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   577
            <error code="XTSE0090"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   578
         </any-of>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   579
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   580
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   581
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   582
   <test-case name="error-0010z">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   583
      <description>Error: xsl:import - not top-level.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   584
Was error-code-102.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   585
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   586
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   587
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   588
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   589
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   590
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   591
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   592
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   593
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   594
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   595
         <stylesheet file="error-0010z.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   596
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   597
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   598
         <any-of>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   599
            <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   600
            <error code="XTSE0190"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   601
         </any-of>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   602
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   603
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   604
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   605
   <test-case name="error-0010aa">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   606
      <description>Error: xsl:template - not top level.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   607
Was error-code-111.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   608
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   609
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   610
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   611
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   612
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   613
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   614
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   615
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   616
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   617
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   618
         <stylesheet file="error-0010aa.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   619
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   620
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   621
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   622
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   623
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   624
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   625
   <test-case name="error-0010ab">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   626
      <description>Error: xsl:template - bad content.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   627
Was error-code-116.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   628
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   629
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   630
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   631
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   632
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   633
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   634
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   635
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   636
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   637
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   638
         <stylesheet file="error-0010ab.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   639
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   640
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   641
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   642
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   643
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   644
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   645
   <test-case name="error-0010ac">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   646
      <description>Error: xsl:template - bad content.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   647
Was error-code-117.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   648
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   649
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   650
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   651
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   652
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   653
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   654
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   655
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   656
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   657
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   658
         <stylesheet file="error-0010ac.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   659
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   660
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   661
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   662
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   663
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   664
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   665
   <test-case name="error-0010ad">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   666
      <description>Error: xsl:call-template - omitted template name.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   667
Was error-code-122.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   668
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   669
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   670
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   671
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   672
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   673
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   674
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   675
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   676
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   677
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   678
         <stylesheet file="error-0010ad.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   679
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   680
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   681
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   682
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   683
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   684
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   685
   <test-case name="error-0010ae">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   686
      <description>Error: xsl:call-template - extra attribute.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   687
Was error-code-123.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   688
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   689
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   690
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   691
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   692
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   693
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   694
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   695
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   696
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   697
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   698
         <stylesheet file="error-0010ae.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   699
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   700
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   701
         <any-of>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   702
            <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   703
            <error code="XTSE0090"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   704
         </any-of>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   705
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   706
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   707
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   708
   <test-case name="error-0010af">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   709
      <description>Error: xsl:call-template - must be in a template body.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   710
Was error-code-124.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   711
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   712
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   713
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   714
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   715
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   716
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   717
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   718
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   719
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   720
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   721
         <stylesheet file="error-0010af.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   722
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   723
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   724
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   725
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   726
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   727
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   728
   <test-case name="error-0010ag">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   729
      <description>Error: xsl:call-template - bad content.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   730
Was error-code-125.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   731
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   732
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   733
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   734
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   735
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   736
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   737
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   738
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   739
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   740
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   741
         <stylesheet file="error-0010ag.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   742
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   743
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   744
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   745
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   746
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   747
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   748
   <test-case name="error-0010ah">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   749
      <description>Error: xsl:call-template - bad content.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   750
Was error-code-128.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   751
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   752
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   753
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   754
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   755
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   756
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   757
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   758
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   759
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   760
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   761
         <stylesheet file="error-0010ah.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   762
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   763
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   764
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   765
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   766
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   767
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   768
   <test-case name="error-0010ai">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   769
      <description>Error: xsl:call-template - bad content.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   770
Was error-code-129.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   771
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   772
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   773
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   774
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   775
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   776
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   777
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   778
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   779
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   780
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   781
         <stylesheet file="error-0010ai.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   782
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   783
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   784
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   785
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   786
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   787
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   788
   <test-case name="error-0010aj">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   789
      <description>Error: xsl:apply-templates - bad content.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   790
Was error-code-132.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   791
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   792
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   793
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   794
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   795
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   796
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   797
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   798
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   799
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   800
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   801
         <stylesheet file="error-0010aj.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   802
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   803
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   804
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   805
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   806
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   807
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   808
   <test-case name="error-0010ak">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   809
      <description>Error: xsl:apply-templates - top-level.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   810
Was error-code-135.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   811
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   812
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   813
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   814
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   815
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   816
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   817
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   818
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   819
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   820
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   821
         <stylesheet file="error-0010ak.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   822
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   823
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   824
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   825
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   826
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   827
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   828
   <test-case name="error-0010al">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   829
      <description>Error: xsl:for-each - xsl:sort must come first.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   830
Was error-code-137.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   831
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   832
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   833
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   834
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   835
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   836
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   837
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   838
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   839
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   840
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   841
         <stylesheet file="error-0010al.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   842
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   843
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   844
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   845
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   846
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   847
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   848
   <test-case name="error-0010am">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   849
      <description>Error: xsl:with-param - misspelt.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   850
Was error-code-138.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   851
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   852
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   853
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   854
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   855
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   856
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   857
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   858
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   859
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   860
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   861
         <stylesheet file="error-0010am.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   862
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   863
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   864
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   865
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   866
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   867
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   868
   <test-case name="error-0010an">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   869
      <description>Error: xsl:variable - no name.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   870
Was error-code-140.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   871
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   872
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   873
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   874
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   875
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   876
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   877
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   878
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   879
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   880
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   881
         <stylesheet file="error-0010an.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   882
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   883
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   884
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   885
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   886
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   887
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   888
   <test-case name="error-0010ao">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   889
      <description>Error: xsl:param - wrong position.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   890
Was error-code-142.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   891
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   892
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   893
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   894
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   895
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   896
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   897
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   898
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   899
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   900
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   901
         <stylesheet file="error-0010ao.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   902
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   903
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   904
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   905
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   906
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   907
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   908
   <test-case name="error-0010ap">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   909
      <description>Error: xsl:param - wrong position.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   910
Was error-code-143.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   911
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   912
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   913
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   914
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   915
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   916
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   917
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   918
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   919
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   920
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   921
         <stylesheet file="error-0010ap.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   922
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   923
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   924
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   925
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   926
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   927
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   928
   <test-case name="error-0010aq">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   929
      <description>Error: xsl:strip-space with misspelled attribute.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   930
Was error-code-148.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   931
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   932
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   933
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   934
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   935
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   936
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   937
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   938
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   939
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   940
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   941
         <stylesheet file="error-0010aq.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   942
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   943
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   944
         <any-of>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   945
            <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   946
            <error code="XTSE0090"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   947
         </any-of>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   948
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   949
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   950
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   951
   <test-case name="error-0010ar">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   952
      <description>Error: invliad top-level XSLT element.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   953
Was error-code-151.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   954
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   955
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   956
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   957
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   958
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   959
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   960
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   961
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   962
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   963
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   964
         <stylesheet file="error-0010ar.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   965
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   966
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   967
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   968
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   969
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   970
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   971
   <test-case name="error-0010as">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   972
      <description>Test validation when version matches supported version. This stylesheet should flag an error..
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   973
Was error-code-152.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   974
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   975
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   976
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   977
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   978
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   979
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   980
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   981
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   982
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   983
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   984
         <stylesheet file="error-0010as.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   985
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   986
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   987
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   988
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   989
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   990
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   991
   <test-case name="error-0010at">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   992
      <description>Test validation when version is lower than supported version. This stylesheet should flag an error..
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   993
Was error-code-153.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   994
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   995
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   996
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   997
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   998
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
   999
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1000
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1001
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1002
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1003
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1004
         <stylesheet file="error-0010at.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1005
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1006
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1007
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1008
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1009
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1010
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1011
   <test-case name="error-0010au">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1012
      <description>BUG: 5.4.1/008 DESCRIPTION: No error is reported if xsl:text or xsl:value-of is used at the top level of the stylesheet..
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1013
Was error-code-154.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1014
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1015
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1016
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1017
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1018
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1019
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1020
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1021
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1022
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1023
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1024
         <stylesheet file="error-0010au.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1025
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1026
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1027
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1028
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1029
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1030
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1031
   <test-case name="error-0010av">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1032
      <description>test for disabling output escaping in nested xsl:text now an error, XSLT 2.0 no longer allows nested xsl:text.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1033
Was error-code-166.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1034
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1035
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1036
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1037
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1038
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1039
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1040
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1041
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1042
         <feature value="disabling_output_escaping"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1043
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1044
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1045
         <stylesheet file="error-0010av.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1046
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1047
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1048
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1049
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1050
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1051
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1052
   <test-case name="error-0010aw">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1053
      <description>xsl:stylesheet not at top level.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1054
Was error-code-174.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1055
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1056
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1057
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1058
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1059
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1060
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1061
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1062
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1063
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1064
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1065
         <stylesheet file="error-0010aw.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1066
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1067
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1068
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1069
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1070
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1071
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1072
   <test-case name="error-0010ax">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1073
      <description>unknown top-level element in XSLT namespace.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1074
Was error-code-175.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1075
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1076
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1077
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1078
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1079
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1080
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1081
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1082
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1083
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1084
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1085
         <stylesheet file="error-0010ax.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1086
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1087
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1088
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1089
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1090
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1091
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1092
   <test-case name="error-0010ay">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1093
      <description>variable declared as child of xsl:apply-imports.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1094
Was error-code-176.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1095
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1096
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1097
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1098
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1099
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1100
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1101
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1102
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1103
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1104
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1105
         <stylesheet file="error-0010ay.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1106
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1107
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1108
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1109
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1110
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1111
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1112
   <test-case name="error-0010az">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1113
      <description>Generate error XTSE0010.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1114
Was error-code-199.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1115
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1116
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1117
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1118
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1119
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1120
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1121
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1122
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1123
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1124
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1125
         <stylesheet file="error-0010az.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1126
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1127
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1128
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1129
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1130
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1131
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1132
   <test-case name="error-0010ba">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1133
      <description>xsl:stylesheet element in wrong position.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1134
Was error-code-200.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1135
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1136
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1137
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1138
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1139
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1140
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1141
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1142
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1143
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1144
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1145
         <stylesheet file="error-0010ba.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1146
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1147
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1148
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1149
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1150
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1151
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1152
   <test-case name="error-0010bb">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1153
      <description>Generate error XTSE0010 (Note: was XTDE1450 in an earlier draft specification).
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1154
Was error-code-377.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1155
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1156
                     XSLT-defined element is used in a context where it is not permitted, if a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1157
                        required attribute is omitted, or if the content of the
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1158
                     element does not correspond to the content that is allowed for the element.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1159
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1160
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1161
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1162
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1163
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1164
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1165
         <stylesheet file="error-0010bb.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1166
         <initial-template name="main"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1167
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1168
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1169
         <error code="XTSE0010"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1170
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1171
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1172
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1173
   <test-case name="error-0020a">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1174
      <description>Error: xsl:decimal-format.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1175
Was error-code-060.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1176
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1177
                           attribute (other than an attribute written using curly brackets in a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1178
                           position where an attribute
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1179
                              value template is permitted) contains a value that is not
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1180
                           one of the permitted values for that attribute.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1181
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1182
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1183
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1184
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1185
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1186
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1187
         <stylesheet file="error-0020a.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1188
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1189
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1190
         <error code="XTSE0020"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1191
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1192
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1193
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1194
   <test-case name="error-0020b">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1195
      <description>Error: xsl:decimal-format.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1196
Was error-code-064.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1197
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1198
                           attribute (other than an attribute written using curly brackets in a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1199
                           position where an attribute
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1200
                              value template is permitted) contains a value that is not
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1201
                           one of the permitted values for that attribute.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1202
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1203
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1204
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1205
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1206
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1207
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1208
         <stylesheet file="error-0020b.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1209
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1210
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1211
         <error code="XTSE0020"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1212
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1213
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1214
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1215
   <test-case name="error-0020c">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1216
      <description>Error: xsl:attribute-set - bad name.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1217
Was error-code-072.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1218
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1219
                           attribute (other than an attribute written using curly brackets in a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1220
                           position where an attribute
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1221
                              value template is permitted) contains a value that is not
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1222
                           one of the permitted values for that attribute.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1223
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1224
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1225
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1226
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1227
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1228
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1229
         <stylesheet file="error-0020c.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1230
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1231
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1232
         <error code="XTSE0020"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1233
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1234
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1235
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1236
   <test-case name="error-0020d">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1237
      <description>Error: xsl:key - bad key name.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1238
Was error-code-083.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1239
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1240
                           attribute (other than an attribute written using curly brackets in a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1241
                           position where an attribute
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1242
                              value template is permitted) contains a value that is not
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1243
                           one of the permitted values for that attribute.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1244
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1245
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1246
      <dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1247
         <spec value="XSLT20+"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1248
      </dependencies>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1249
      <test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1250
         <stylesheet file="error-0020d.xsl"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1251
      </test>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1252
      <result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1253
         <error code="XTSE0020"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1254
      </result>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1255
   </test-case>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1256
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1257
   <test-case name="error-0020e">
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1258
      <description>Error: xsl:template - bad name.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1259
Was error-code-109.
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1260
It is a static error if an
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1261
                           attribute (other than an attribute written using curly brackets in a
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1262
                           position where an attribute
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1263
                              value template is permitted) contains a value that is not
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1264
                           one of the permitted values for that attribute.</description>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1265
      <created by="Michael Kay" on="2012-11-07"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents:
diff changeset
  1266
      <environment ref="error001"/>
b23a6b06e1d2 Reorganised and expanded error code tests
Michael Kay <mike@saxonica.com>
parents: