Give test its own environment
authorMichael Kay <mike@saxonica.com>
Mon, 18 Sep 2017 23:35:55 +0100
changeset 1765 c5ea6298057d
parent 1764 08291e5c3d8d
child 1766 d4e04498c9dd
Give test its own environment
tests/attr/as/_as-test-set.xml
--- a/tests/attr/as/_as-test-set.xml	Mon Sep 18 23:35:20 2017 +0100
+++ b/tests/attr/as/_as-test-set.xml	Mon Sep 18 23:35:55 2017 +0100
@@ -3540,7 +3540,10 @@
       <description>Test type of global xsl:variable without @select and @as="element(QName, user-defined-union-type)". Sequence constructor contains a typed element from input file, or explicitly created xsl:element or LRE. Item types in the union are: -built-in primitive, built-in derived, user-defined atomic, list, mix of the above</description>
       <keywords>xsl:import-schema strict-validation user-defined-atomic-type ElementTest ElementName TypeName complex-type</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
-      <environment ref="as-31"/>
+      <environment name="as-31">
+         <source role="." file="as-31.xml" validation="strict"/>
+         <schema role="source-reference" file="list-unionSchemaAs.xsd"/>
+      </environment>
       <dependencies>
          <spec value="XSLT20+"/>
          <feature value="schema_aware"/>