The next stylesheet crashes XalanC
----------------------------------

                 Key: XALANC-631
                 URL: https://issues.apache.org/jira/browse/XALANC-631
             Project: XalanC
          Issue Type: Bug
          Components: XalanC
    Affects Versions: CurrentCVS
         Environment: Tested on Win32
            Reporter: Dmitry Hayes
            Priority: Critical


The next stylesheet crashes the processor : 
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
xmlns:my="http://www.examples.com/my"; xmlns:your="http://www.examples.com/my";
exclude-result-prefixes="my your"
version="1.0">


<xsl:template match="/">
        <out>
                <xsl:element name="a" use-attribute-sets="my:set"/>
        </out>
</xsl:template>

<xsl:attribute-set name="my:set" use-attribute-sets="my:set2">
        <xsl:attribute name="att1">
                <xsl:value-of select="'A1'"/>
                <xsl:copy use-attribute-sets="my:set2"/>
        </xsl:attribute>
</xsl:attribute-set>

<xsl:attribute-set name="my:set2">
        <xsl:attribute name="att2">
                <xsl:value-of select="'B1'"/>
                <xsl:copy use-attribute-sets="my:set"/>
        </xsl:attribute>
</xsl:attribute-set>


</xsl:stylesheet>

The input file can be any 



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to