tests/misc/error-code/error-code-125.xsl
changeset 895 c964d5bbd00e
parent 894 0fc26a1f66f4
child 896 b99b90a57a1c
equal deleted inserted replaced
894:0fc26a1f66f4 895:c964d5bbd00e
     1 <?xml version="1.0"?> 
       
     2 
       
     3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
       
     4 
       
     5 <!-- Error: xsl:call-template - bad content -->
       
     6 <?spec xslt#errors?><?error XTSE0010?>
       
     7 
       
     8 <xsl:template name="x"/>
       
     9   
       
    10   <xsl:template match="doc">
       
    11     <out>
       
    12       <xsl:call-template name="x">
       
    13          <xsl:param name="y" select="3"/>
       
    14       </xsl:call-template>  
       
    15       <xsl:message>Error not detected!</xsl:message>
       
    16     </out>
       
    17   </xsl:template>
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 </xsl:stylesheet>