dom/xslt/crashtests/485217.xsl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/xslt/crashtests/485217.xsl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +
     1.6 +<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     1.7 +
     1.8 +    <xsl:key name="label" match="item2" use="undeclaredfunc()"/>
     1.9 +
    1.10 +    <xsl:template match="root">
    1.11 +                    <xsl:for-each select="//item1">
    1.12 +                        <xsl:call-template name="item1" />
    1.13 +                    </xsl:for-each>
    1.14 +    </xsl:template>
    1.15 +
    1.16 +    <xsl:template name="item1">
    1.17 +                <xsl:for-each select="key('label', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA')">
    1.18 +                </xsl:for-each>
    1.19 +    </xsl:template>
    1.20 +
    1.21 +</xsl:stylesheet>

mercurial