ID: 23889
User updated by: sitnikov at infonet dot ee
Reported By: sitnikov at infonet dot ee
-Status: Feedback
+Status: Open
Bug Type: XSLT related
Operating System: Linux
PHP Version: 4.3.2
Assigned To: msopacua
New Comment:
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().
Previous Comments:
------------------------------------------------------------------------
[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-15 22:23:52] [EMAIL PROTECTED]
What is the status of this?? Still a bug or not?
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2003-06-06 02:29:16] [EMAIL PROTECTED]
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