Bug 28335, fixing incorrectly committed file
authorabraaksm
Thu, 26 Mar 2015 13:43:07 +0100
changeset 863 8a52ecfb8ae0
parent 862 6f9cd1f7ac08
child 865 a32e5dab7bdb
child 868 730b58224dc5
Bug 28335, fixing incorrectly committed file
tests/attr/match/match-082a.xsl
--- a/tests/attr/match/match-082a.xsl	Thu Mar 26 13:13:51 2015 +0100
+++ b/tests/attr/match/match-082a.xsl	Thu Mar 26 13:43:07 2015 +0100
@@ -1,31 +1,20 @@
 <?xml version="1.0"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="3.0"
-    xmlns:err="http://www.w3.org/2005/xqt-errors"
-    exclude-result-prefixes="err">
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="3.0">
 
-    <!-- 
-        Parentheses in patterns become legal in XSLT 3.0. They have the same priority.
-        This test tests throwing the same-priority error.
+    <!--
+        Purpose: Parentheses in patterns become legal in XSLT 3.0. They have the same priority.
     -->
 
-    <xsl:mode on-multiple-match="fail" />
-    
-    <xsl:template match="doc">
-        <wrong />
-    </xsl:template>
-
     <xsl:template match="(doc|cod)">
         <wrong />
     </xsl:template>
 
-    <xsl:template name="xsl:initial-template">
-        <xsl:variable name="n"><doc /></xsl:variable>
-        <xsl:try>
-            <xsl:apply-templates select="$n"/>
-            <xsl:catch errors="err:XTDE0540">
-                <ok />
-            </xsl:catch>
-        </xsl:try>
+    <xsl:template match="doc">
+        <ok />
+    </xsl:template>
+
+    <xsl:template match="/">
+        <xsl:apply-templates />
     </xsl:template>
 
 </xsl:stylesheet>