Date: Sun, 02 Apr 2006 09:49:03 +0200 From: Alex Dupre <ale@FreeBSD.org> To: Thomas Wolf <tw@wsf.at> Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/95204: php5 XSLT Processor dumps core on xsl:text Message-ID: <442F81EF.9040408@FreeBSD.org> In-Reply-To: <200604012231.k31MV7DY071804@freefall.freebsd.org> References: <200604012231.k31MV7DY071804@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?442F81EF.9040408>