tests/decl/override/_override-test-set.xml
changeset 1045 6d51333a8d63
parent 1015 b7ec635012c5
child 1066 eb9be73e24d7
equal deleted inserted replaced
1044:585bbb774c33 1045:6d51333a8d63
    27    <environment name="override-misc-F">
    27    <environment name="override-misc-F">
    28       <package file="override-base-misc-002.xsl" role="secondary" uri="http://www.w3.org/xslt30tests/override-base-misc-002" package-version="1.0.0"/>
    28       <package file="override-base-misc-002.xsl" role="secondary" uri="http://www.w3.org/xslt30tests/override-base-misc-002" package-version="1.0.0"/>
    29    </environment>
    29    </environment>
    30 
    30 
    31    <dependencies>
    31    <dependencies>
    32       <spec value="XSLT30+"/>
    32       <spec value="XSLT30+"/> 
    33    </dependencies>
    33    </dependencies>
    34 
    34 
    35    <test-case name="override-f-001">
    35    <test-case name="override-f-001">
    36       <description>Successful override of a function</description>
    36       <description>Successful override of a function</description>
    37       <created by="Michael Kay" on="2013-07-08"/>
    37       <created by="Michael Kay" on="2013-07-08"/>
   257       <description>A named function reference using xsl:original</description>
   257       <description>A named function reference using xsl:original</description>
   258       <created by="Michael Kay" on="2015-03-01"/>
   258       <created by="Michael Kay" on="2015-03-01"/>
   259       <environment ref="override-f-A"/>
   259       <environment ref="override-f-A"/>
   260       <test>
   260       <test>
   261          <package file="override-f-017.xsl" role="principal"/>
   261          <package file="override-f-017.xsl" role="principal"/>
   262          <initial-template name="main"/>
   262          <initial-template name="xsl:initial-template" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"/>
   263       </test>
   263       </test>
   264       <result>
   264       <result>
   265          <assert>/ok</assert>
   265          <assert>/ok</assert>
   266       </result>
   266       </result>
   267    </test-case>
   267    </test-case>
   322    </test-case>
   322    </test-case>
   323    
   323    
   324    <test-case name="override-t-004">
   324    <test-case name="override-t-004">
   325       <description>Illegal template override, parameter types do not match</description>
   325       <description>Illegal template override, parameter types do not match</description>
   326       <created by="Michael Kay" on="2014-10-10"/>
   326       <created by="Michael Kay" on="2014-10-10"/>
       
   327       <modified by="Michael Kay" on="2015-08-18" change="correct expected error code"/>
   327       <environment ref="override-t-B"/>
   328       <environment ref="override-t-B"/>
   328       <test>
   329       <test>
   329          <package file="override-t-004.xsl" role="principal"/>
   330          <package file="override-t-004.xsl" role="principal"/>
   330          <initial-template name="main"/>
   331          <initial-template name="main"/>
   331       </test>
   332       </test>
   332       <result>
   333       <result>
   333          <error code="XTSE3080"/>
   334          <error code="XTSE3070"/>
   334       </result>
   335       </result>
   335    </test-case>
   336    </test-case>
   336    
   337    
   337    <test-case name="override-t-005">
   338    <test-case name="override-t-005">
   338       <description>Illegal template override, context item types do not match</description>
   339       <description>Illegal template override, context item types do not match</description>
   339       <created by="Michael Kay" on="2014-10-10"/>
   340       <created by="Michael Kay" on="2014-10-10"/>
       
   341       <modified by="Michael Kay" on="2015-08-18" change="correct expected error code"/>
   340       <environment ref="override-t-B"/>
   342       <environment ref="override-t-B"/>
   341       <test>
   343       <test>
   342          <package file="override-t-005.xsl" role="principal"/>
   344          <package file="override-t-005.xsl" role="principal"/>
   343          <initial-template name="main"/>
   345          <initial-template name="main"/>
   344       </test>
   346       </test>
   345       <result>
   347       <result>
   346          <error code="XTSE3080"/>
   348          <error code="XTSE3070"/>
   347       </result>
   349       </result>
   348    </test-case>
   350    </test-case>
   349    
   351    
   350    <test-case name="override-t-006">
   352    <test-case name="override-t-006">
   351       <description>Illegal template override, context item use does not match</description>
   353       <description>Illegal template override, context item use does not match</description>
   352       <created by="Michael Kay" on="2014-10-10"/>
   354       <created by="Michael Kay" on="2014-10-10"/>
   353       <modified by="Michael Kay" on="2015-01-26" change="keyword change: prohibited -> absent"/>
   355       <modified by="Michael Kay" on="2015-01-26" change="keyword change: prohibited -> absent"/>
       
   356       <modified by="Michael Kay" on="2015-08-18" change="correct expected error code"/>
   354       <environment ref="override-t-B"/>
   357       <environment ref="override-t-B"/>
   355       <test>
   358       <test>
   356          <package file="override-t-006.xsl" role="principal"/>
   359          <package file="override-t-006.xsl" role="principal"/>
   357          <initial-template name="main"/>
   360          <initial-template name="main"/>
   358       </test>
   361       </test>
   359       <result>
   362       <result>
   360          <error code="XTSE3080"/>
   363          <error code="XTSE3070"/>
   361       </result>
   364       </result>
   362    </test-case>
   365    </test-case>
   363    
   366    
   364    <test-case name="override-t-007">
   367    <test-case name="override-t-007">
   365       <description>A named template calling xsl:original</description>
   368       <description>A named template calling xsl:original</description>
   415       </result>
   418       </result>
   416    </test-case>
   419    </test-case>
   417    
   420    
   418    <test-case name="override-v-004">
   421    <test-case name="override-v-004">
   419       <description>An overridden public global variable appearing in a match pattern</description>
   422       <description>An overridden public global variable appearing in a match pattern</description>
       
   423       <!-- MHK: Not currently working in Saxon, needs to treat the mode as a component with a single binding vector -->
   420       <created by="Michael Kay" on="2015-03-01"/>
   424       <created by="Michael Kay" on="2015-03-01"/>
   421       <environment ref="override-v-C"/>
   425       <environment ref="override-v-C"/>
   422       <test>
   426       <test>
   423          <package file="override-v-004.xsl" role="principal"/>
   427          <package file="override-v-004.xsl" role="principal"/>
   424          <initial-template name="main"/>
   428          <initial-template name="main"/>
   485    </test-case>
   489    </test-case>
   486    
   490    
   487    <test-case name="override-as-005">
   491    <test-case name="override-as-005">
   488       <description>Two private attribute sets with the same name in different packages</description>
   492       <description>Two private attribute sets with the same name in different packages</description>
   489       <created by="Michael Kay" on="2015-02-28"/>
   493       <created by="Michael Kay" on="2015-02-28"/>
       
   494       <modified by="Michael Kay" on="2015-08-18" change="correct expected results"/>
   490       <environment ref="override-as-D"/>
   495       <environment ref="override-as-D"/>
   491       <test>
   496       <test>
   492          <package file="override-as-005.xsl" role="principal"/>
   497          <package file="override-as-005.xsl" role="principal"/>
   493          <initial-template name="main"/>
   498          <initial-template name="main"/>
   494       </test>
   499       </test>
   495       <result>
   500       <result>
   496          <assert-xml><![CDATA[<out><x pub1="pub1" pub2="pub2"/><y priv8="priv8" priv9="priv9"/></out>]]></assert-xml>
   501          <assert-xml><![CDATA[<out><x base1="base1" priv1="priv1" pub1="pub1" pub2="pub2"/><y priv8="priv8" priv9="priv9"/></out>]]></assert-xml>
   497       </result>
   502       </result>
   498    </test-case>
   503    </test-case>
   499    
   504    
   500    
   505    
   501    <test-case name="override-misc-001">
   506    <test-case name="override-misc-001">
   551    </test-case>
   556    </test-case>
   552    
   557    
   553    <test-case name="override-misc-005">
   558    <test-case name="override-misc-005">
   554       <description>Accumulators in different packages can have the same name</description>
   559       <description>Accumulators in different packages can have the same name</description>
   555       <created by="Michael Kay" on="2015-03-01"/>
   560       <created by="Michael Kay" on="2015-03-01"/>
       
   561       <modified by="Michael Kay" on="2014-08-22" change="spec change, @new-value->@select"/>
   556       <environment ref="override-misc-E"/>
   562       <environment ref="override-misc-E"/>
   557       <test>
   563       <test>
   558          <package file="override-misc-005.xsl" role="principal"/>
   564          <package file="override-misc-005.xsl" role="principal"/>
   559          <initial-template name="main"/>
   565          <initial-template name="main"/>
   560       </test>
   566       </test>
   577    </test-case>
   583    </test-case>
   578    
   584    
   579    <test-case name="override-misc-007">
   585    <test-case name="override-misc-007">
   580       <description>Streamed accumulators in different packages can have the same name</description>
   586       <description>Streamed accumulators in different packages can have the same name</description>
   581       <created by="Michael Kay" on="2015-03-01"/>
   587       <created by="Michael Kay" on="2015-03-01"/>
       
   588       <modified by="Michael Kay" on="2014-08-22" change="spec change, @new-value->@select"/>
   582       <environment ref="override-misc-F"/>
   589       <environment ref="override-misc-F"/>
   583       <test>
   590       <test>
   584          <package file="override-misc-007.xsl" role="principal"/>
   591          <package file="override-misc-007.xsl" role="principal"/>
   585          <initial-template name="main"/>
   592          <initial-template name="main"/>
   586       </test>
   593       </test>