Further change to make catalog-005 work.
authorMichael Kay <mike@saxonica.com>
Tue, 11 Jul 2017 15:23:09 +0100
changeset 1721 51ed5be20a34
parent 1720 3678ab35f30d
child 1722 9068cdd364c3
Further change to make catalog-005 work.
tests/misc/catalog/catalog-005.xsl
tests/misc/catalog/schema-for-xslt30.xsd
--- a/tests/misc/catalog/catalog-005.xsl	Tue Jul 11 12:39:18 2017 +0100
+++ b/tests/misc/catalog/catalog-005.xsl	Tue Jul 11 15:23:09 2017 +0100
@@ -19,7 +19,7 @@
             <xsl:choose>
               <xsl:when test="not($doc/xsl:*) or 
                              ($doc//@version/number() > 3) or
-                             ($doc//@xsl:version/number() > 3)
+                             ($doc//@xsl:version/number() > 3) or
                              ($doc//@use-when) or ($doc//@xsl:use-when) or
                              ($doc//@Q{http://www.w3.org/2001/XMLSchema-instance}type) or
                              $doc//xs:*[not(ancestor::xsl:import-schema)] or
--- a/tests/misc/catalog/schema-for-xslt30.xsd	Tue Jul 11 12:39:18 2017 +0100
+++ b/tests/misc/catalog/schema-for-xslt30.xsd	Tue Jul 11 15:23:09 2017 +0100
@@ -2101,6 +2101,7 @@
         <xs:restriction base="xs:token">
           <xs:pattern value="\i\c*:\*"/>
           <xs:pattern value="\*:\i\c*"/>
+          <xs:pattern value="Q\{[^}]*\}\*"/>
         </xs:restriction>
       </xs:simpleType>
     </xs:union>