bug fix in the override test set
authorodeplrat
Mon, 05 Feb 2018 11:49:20 +0000
changeset 1887 31b21b736172
parent 1823 19819cd098b5
child 1889 f6ffd6e287bd
bug fix in the override test set
tests/attr/validation/validation-0212.xsl
tests/decl/override/_override-test-set.xml
--- a/tests/attr/validation/validation-0212.xsl	Fri Feb 02 12:08:58 2018 +0000
+++ b/tests/attr/validation/validation-0212.xsl	Mon Feb 05 11:49:20 2018 +0000
@@ -1,7 +1,7 @@
 <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns="http://www.w3.org/1999/xhtml"
-    exclude-result-prefixes="xs"
+    xmlns:saxon="http://saxon.sf.net/"
     version="2.0">
 
     <!-- xsl:result-document validation: no href; invalid -->
--- a/tests/decl/override/_override-test-set.xml	Fri Feb 02 12:08:58 2018 +0000
+++ b/tests/decl/override/_override-test-set.xml	Mon Feb 05 11:49:20 2018 +0000
@@ -75,7 +75,11 @@
       <description>Unsuccessful use of override of a function defined in a library package. Parameter types are different</description>
       <created by="O'Neil Delpratt" on="2013-07-17"/>
       <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
+      <modified by="O'Neil Delpratt" on="2018-02-05" change="Added higher order functions dependency"/>
       <environment ref="override-f-A"/>
+      <dependencies>
+         <feature value="higher_order_functions"/>
+      </dependencies>
       <test>
          <package file="override-f-003.xsl" role="principal"/>
          <initial-template name="main"/>
@@ -89,7 +93,11 @@
       <description>Unsuccessful use of override of a function as it is not defined in a library package.</description>
       <created by="O'Neil Delpratt" on="2013-07-17"/>
       <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
+      <modified by="O'Neil Delpratt" on="2018-02-05" change="Added higher order functions dependency"/>
       <environment ref="override-f-A"/>
+      <dependencies>
+         <feature value="higher_order_functions"/>
+      </dependencies>
       <test>
          <package file="override-f-004.xsl" role="principal"/>
          <initial-template name="main"/>
@@ -103,7 +111,11 @@
       <description>Disallow text as a child of xsl:override.</description>
       <created by="Michael Kay" on="2013-07-19"/>
       <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
+      <modified by="O'Neil Delpratt" on="2018-02-05" change="Added higher order functions dependency"/>
       <environment ref="override-f-A"/>
+      <dependencies>
+         <feature value="higher_order_functions"/>
+      </dependencies>
       <test>
          <package file="override-f-005.xsl" role="principal"/>
          <initial-template name="main"/>
@@ -117,7 +129,11 @@
       <description>Disallow LRE as a child of xsl:override.</description>
       <created by="Michael Kay" on="2013-07-19"/>
       <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
+      <modified by="O'Neil Delpratt" on="2018-02-05" change="Added higher order functions dependency"/>
       <environment ref="override-f-A"/>
+      <dependencies>
+         <feature value="higher_order_functions"/>
+      </dependencies>
       <test>
          <package file="override-f-006.xsl" role="principal"/>
          <initial-template name="main"/>
@@ -131,7 +147,11 @@
       <description>Disallow xsl:override as a child of xsl:override.</description>
       <created by="Michael Kay" on="2013-07-19"/>
       <modified by="Michael Kay" on="2014-08-22" change="no xsl:stylesheet child of xsl:package"/>
+      <modified by="O'Neil Delpratt" on="2018-02-05" change="Added higher order functions dependency"/>
       <environment ref="override-f-A"/>
+      <dependencies>
+         <feature value="higher_order_functions"/>
+      </dependencies>
       <test>
          <package file="override-f-007.xsl" role="principal"/>
          <initial-template name="main"/>
@@ -327,7 +347,11 @@
    <test-case name="override-f-019">
       <description>Two conflicting overrides of the same function</description>
       <created by="Michael Kay" on="2015-08-28"/>
+      <modified by="O'Neil Delpratt" on="2018-02-05" change="Added higher order functions dependency"/>
       <environment ref="override-f-A"/>
+      <dependencies>
+         <feature value="higher_order_functions"/>
+      </dependencies>
       <test>
          <package file="override-f-019.xsl" role="principal"/>
          <initial-template name="main"/>
@@ -341,7 +365,11 @@
       <description>Override conflicts with locally-declared function</description>
       <created by="Michael Kay" on="2015-08-28"/>
       <modified by="Michael Kay" on="2017-02-19" change="add alternative error code"/>
+      <modified by="O'Neil Delpratt" on="2018-02-05" change="Added higher order functions dependency"/>
       <environment ref="override-f-A"/>
+      <dependencies>
+         <feature value="higher_order_functions"/>
+      </dependencies>
       <test>
          <package file="override-f-020.xsl" role="principal"/>
          <initial-template name="main"/>
@@ -357,7 +385,11 @@
    <test-case name="override-f-021">
       <description>Unsuccessful use of override of a function defined in a library package. Determinism is different</description>
       <created by="Michael Kay" on="2015-09-09"/>
+      <modified by="O'Neil Delpratt" on="2018-02-05" change="Added higher order functions dependency"/>
       <environment ref="override-f-A"/>
+      <dependencies>
+         <feature value="higher_order_functions"/>
+      </dependencies>
       <test>
          <package file="override-f-021.xsl" role="principal"/>
          <initial-template name="main"/>
@@ -370,7 +402,11 @@
    <test-case name="override-f-022">
       <description>Unsuccessful attempt to override a function outside xsl:override</description>
       <created by="Michael Kay" on="2015-10-26"/>
+      <modified by="O'Neil Delpratt" on="2018-02-05" change="Added higher order functions dependency"/>
       <environment ref="override-f-A"/>
+      <dependencies>
+         <feature value="higher_order_functions"/>
+      </dependencies>
       <test>
          <package file="override-f-022.xsl" role="principal"/>
          <initial-template name="main"/>
@@ -383,7 +419,11 @@
    <test-case name="override-f-023">
       <description>Unsuccessful attempt to override a function outside xsl:override</description>
       <created by="Michael Kay" on="2015-10-26"/>
+      <modified by="O'Neil Delpratt" on="2018-02-05" change="Added higher order functions dependency"/>
       <environment ref="override-f-A"/>
+      <dependencies>
+         <feature value="higher_order_functions"/>
+      </dependencies>
       <test>
          <package file="override-f-023.xsl" role="principal"/>
          <initial-template name="main"/>