ID: 23889
Updated by: [EMAIL PROTECTED]
Reported By: sitnikov at infonet dot ee
-Status: Assigned
+Status: Closed
Bug Type: XSLT related
Operating System: Linux
PHP Version: 4.3.3RC4-dev
Assigned To: msopacua
New Comment:
There is a workaround and there's new extension in PHP 5 -> closing.
Previous Comments:
------------------------------------------------------------------------
[2003-08-09 11:27:10] [EMAIL PROTECTED]
Assigning back to Melvyn who should fix this BC breakage or document it
at least..
------------------------------------------------------------------------
[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] [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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.
------------------------------------------------------------------------
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