ports/95204: php5 XSLT Processor dumps core on xsl:text

Alex Dupre ale at FreeBSD.org
Sun Apr 2 07:49:08 UTC 2006


Unreproduceable:

%php -v
PHP 5.1.2 (cli) (built: Apr  2 2006 09:41:08) (DEBUG)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
%cat bug.xsl
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
    <xsl:template match="/">
        <xsl:text>hi there</xsl:text>
    </xsl:template>
</xsl:stylesheet>
%cat bug.php
<?php
    $xsl = new DOMDocument;
    $xsl->load('bug.xsl');
    // Configure the transformer
    $proc = new XSLTProcessor;
    $proc->importStyleSheet($xsl); // attach the xsl rules
    echo "No bug\n";
?>
%php bug.php
No bug
%

--
Alex Dupre



More information about the freebsd-ports-bugs mailing list