#23889 [Opn->Asn]: xslt transform stop working after upgrade from 4.2.3 into 4.3.2

From: Date: Sat, 09 Aug 2003 16:27:11 +0000
Subject: #23889 [Opn->Asn]: xslt transform stop working after upgrade from 4.2.3 into 4.3.2
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-45633@lists.php.net to get a copy of this message
ID: 23889 Updated by: sniper@php.net Reported By: sitnikov at infonet dot ee -Status: Open +Status: Assigned Bug Type: XSLT related Operating System: Linux -PHP Version: 4.3.2 +PHP Version: 4.3.3RC4-dev Assigned To: msopacua New Comment: Assigning back to Melvyn who should fix this BC breakage or document it at least.. Previous Comments: ------------------------------------------------------------------------ [2003-08-09 11:01:32] sitnikov at infonet dot ee Yes, problem still exists with 4.3.3RC3 This problem will appear if xsl contains: <xsl:variable name="sort-images" select="document('')/xsl:stylesheet/xxxx"/> and sablot try parse not current xsl, but it parse current PHP file as xsl Workaroud for this problem use xslt_set_base($xh,''); before xslt_process(). ------------------------------------------------------------------------ [2003-08-09 10:43:46] sniper@php.net Is this still a problem..? ------------------------------------------------------------------------ [2003-06-16 05:22:43] sitnikov at infonet dot ee "full test suite" http://si.infonet.ee/sablot.tar.gz ------------------------------------------------------------------------ [2003-06-06 14:20:42] msopacua@php.net Check bug http://bugs.php.net/20177 (which is mentioned in the commit). Before the fix of that bug, many people complained. After - you're the only one of seen. You also have a work-around: set xslt_set_base hardcoded yourself, then the library doesn't (see http://bugs.php.net/20518 ). If you could make the 'full test suite' available in zip or tar/gz, then I'll look into your scenario, to see how common it is and perhaps look for an option to set via xslt_set_option. Either way - you'll probably have to recode. ------------------------------------------------------------------------ [2003-06-06 02:29:16] sniper@php.net Melvyn, you broke it, you fix it. :) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/23889 -- Edit this bug report at http://bugs.php.net/?id=23889&edit=1

« previous php.bugs (#45633) next »