Suppress warnings on multiple-match
authorMichael Kay <mike@saxonica.com>
Wed, 01 Jul 2015 22:01:21 +0100
changeset 1001 bcb773e9e475
parent 1000 b6be29c4be3b
child 1002 b5482664b7cd
Suppress warnings on multiple-match
tests/attr/match/_match-test-set.xml
tests/attr/match/match-241.xsl
--- a/tests/attr/match/_match-test-set.xml	Wed Jul 01 22:00:33 2015 +0100
+++ b/tests/attr/match/_match-test-set.xml	Wed Jul 01 22:01:21 2015 +0100
@@ -4463,6 +4463,7 @@
       <description>PredicatePattern, multiple matches, same priority, sequence of integers, position and last functions</description>
       <keywords>PredicatePattern InstanceOfExpr xs:integer fn:position fn:last xsl:next-match on-multiple-match</keywords>
       <created by="Abel Braaksma" on="2015-03-24"/>
+      <modified by="Michael Kay" on="2015-07-01" change="Suppress warnings on multiple match"/>
       <dependencies>
          <spec value="XSLT30+"/>
       </dependencies>
--- a/tests/attr/match/match-241.xsl	Wed Jul 01 22:00:33 2015 +0100
+++ b/tests/attr/match/match-241.xsl	Wed Jul 01 22:01:21 2015 +0100
@@ -10,6 +10,8 @@
     <!-- Purpose: numeric value of predicate.  -->
     <!-- Purpose: multiple matches, atomic sequence, position and last functions  -->
     
+    <xsl:mode warning-on-multiple-match="no"/>
+    
     <xsl:template name="xsl:initial-template">
         <xsl:apply-templates select="1, 2, 3, 5, 7, 13, 17, 19" />
     </xsl:template>