[xslt] BUG: self reference in param definition



Hi,

When self referencing a parameter (or a variable) in its declaration, xsltproc
(libxslt as well) segfault instead of returning an error.

Jerome


[pesenti@dev xsl]$ more /tmp/bug.xsl
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
  <xsl:param name="ok"><xsl:value-of select="$ok"/></xsl:param>
</xsl:stylesheet>

[pesenti@dev xsl]$ xsltproc /tmp/bug.xsl /tmp/bug.xsl
Segmentation fault (core dumped)

[pesenti@dev xsl]$ xsltproc --version
Using libxml 20430, libxslt 10024 and libexslt 715
xsltproc was compiled against libxml 20430, libxslt 10024 and libexslt 715
libxslt 10024 was compiled against libxml 20430
libexslt 715 was compiled against libxml 20430

OS: Linux RedHat 7.2

 ------------------------
 Jerome Pesenti
 Chief Scientist
 Vivisimo, Inc
 http://vivisimo.com
 "Organized Search Results
 with Document Clustering"
 ------------------------ 



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