[xslt] Segmentation fault with an infinite loop



Hi

I triggered a segmentation fault with an infinite loop.
Just use attached files with the following command line:
$ xsltproc html.xsl menu.xml

Mike
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; xmlns:exsl="http://exslt.org/common"; extension-element-prefixes="exsl">

  <xsl:output method="html" indent="yes"/>

  <xsl:template match="menu">
    <xsl:variable name="test" select="document('menu.xml')"/>
    <xsl:apply-templates select="$test"/>
  </xsl:template>

</xsl:stylesheet>
<?xml version="1.0"?>
<menu/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]