tests/misc/error/error-XPTY0004f.xsl
changeset 932 d65a0894d476
parent 646 1a0e73a2e865
equal deleted inserted replaced
931:82bef93bed91 932:d65a0894d476
     5 <!-- PURPOSE:  "." used when not a node - static error even though never executed -->
     5 <!-- PURPOSE:  "." used when not a node - static error even though never executed -->
     6 <?spec xpath#errors?><?error XPTY0004?>
     6 <?spec xpath#errors?><?error XPTY0004?>
     7 
     7 
     8 <xsl:template match="/">
     8 <xsl:template match="/">
     9 <a/>
     9 <a/>
       
    10   <xsl:value-of select="f:doc()" xmlns:f="http://f.com/"/>
    10 <xsl:message>***** error not detected! *****</xsl:message>
    11 <xsl:message>***** error not detected! *****</xsl:message>
    11 </xsl:template>
    12 </xsl:template>
    12 
    13 
    13 <xsl:function name="f:doc" xmlns:f="http://f.com/">
    14 <xsl:function name="f:doc" xmlns:f="http://f.com/">
    14   <xsl:for-each select="1 to 5">
    15   <xsl:for-each select="1 to 5">