ID: 20518
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Assigned
Bug Type: XSLT related
Operating System: win2000 / IIS 5
PHP Version: 4.3.0RC1
-Assigned To:
+Assigned To: msopacua
New Comment:
It's actually related to #20177.
You are right that once xslt_set_base is called, we shouldn't override
this.
Assigned.
Previous Comments:
------------------------------------------------------------------------
[2002-11-20 08:37:03] [EMAIL PROTECTED]
when I use the following code in an include, the xslt base directory
defaults the directory of the include (probably has something to do
with bug #20514 and the current directory in includes).
The big problem is that The xslt_base function doesn't change the base
directory for xslt processing. As a result, imports and dtd references
don't work. The solution obviously is to place the xslt functions
include in the same directory as the xsl, xml and dtd files. Is this a
bug ?
$args = array ( '/_xml' => $str_xml ,
'/_xsl' => $str_xsl);
$xp = xslt_create();
xslt_set_base( $xp,'file:///D:/www/xadmin/');
$out = xslt_process($xp, 'arg:/_xml', 'arg:/_xsl', NULL, $args,
$params);
xslt_free($xp);
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20518&edit=1