Make test resilient to variations in document ordering
authorMichael Kay <mike@saxonica.com>
Thu, 19 Jul 2018 12:42:56 +0100
changeset 1870 4f568f46a285
parent 1869 2313e6c2b636
child 1871 0d7595763032
Make test resilient to variations in document ordering
catalog.xml
tests/attr/validation/_validation-test-set.xml
tests/misc/error/_error-test-set.xml
--- a/catalog.xml	Wed Jul 04 20:25:34 2018 +0100
+++ b/catalog.xml	Thu Jul 19 12:42:56 2018 +0100
@@ -139,6 +139,7 @@
       <test-set name="built-in-templates" file="tests/misc/built-in-templates/_built-in-templates-test-set.xml"/>
       <test-set name="catalog" file="tests/misc/catalog/_catalog-test-set.xml"/>
       <test-set name="collations" file="tests/misc/collations/_collations-test-set.xml"/>
+      <test-set name="docbook" file="tests/misc/docbook/_docbook-test-set.xml"/>
       <test-set name="embedded-stylesheet" file="tests/misc/embedded-stylesheet/_embedded-stylesheet-test-set.xml"/>
       <test-set name="error" file="tests/misc/error/_error-test-set.xml"/>
       <test-set name="forwards" file="tests/misc/forwards/_forwards-test-set.xml"/>     
--- a/tests/attr/validation/_validation-test-set.xml	Wed Jul 04 20:25:34 2018 +0100
+++ b/tests/attr/validation/_validation-test-set.xml	Thu Jul 19 12:42:56 2018 +0100
@@ -950,7 +950,7 @@
       <description>Effect of xsl:copy-of validation="xxx" on the nilled property</description>
       <created by="Michael Kay" on="2015-05-01"/>
       <modified by="Abel Braaksma" on="2015-05-31" change="Bug 28634: adding xsl:import-schema to allow validation"/>
-      <modified by="Michael Kay" on="2018/07/02" change="Ensure sorting into (cross-)document order doesn't spoil the results"/>
+      <modified by="Michael Kay" on="2018-07-02" change="Ensure sorting into (cross-)document order doesn't spoil the results"/>
       <environment ref="validation-12"/>
       <dependencies>
          <spec value="XSLT20+"/>
--- a/tests/misc/error/_error-test-set.xml	Wed Jul 04 20:25:34 2018 +0100
+++ b/tests/misc/error/_error-test-set.xml	Thu Jul 19 12:42:56 2018 +0100
@@ -4646,6 +4646,7 @@
       <created by="Abel Braaksma" on="2015-03-30"/>
       <modified by="Michael Kay" on="2015-09-04" change="The variable reference in xsl:evaluate was unresolved, so this wasn't a circularity as written"/>
       <modified by="Michael Kay" on="2017-02-21" change="Another attempt to solve the same problem"/>
+      <modified by="Michael Kay" on="2018-07-18" change="Alternative error if xsl:evaluate not available"/>
       <dependencies>
          <spec value="XSLT30+"/>
       </dependencies>
@@ -4653,7 +4654,10 @@
          <stylesheet file="error-0640i.xsl"/>
       </test>
       <result>
-         <error code="XTDE0640"/>
+         <any-of>
+            <error code="XTDE0640"/>
+            <error code="XTDE3175"/>
+         </any-of>
       </result>
    </test-case>