From: [EMAIL PROTECTED] Operating system: win2000 / IIS 5 PHP version: 4.3.0RC1 PHP Bug Type: XSLT related Bug description: xslt_set_base has no effect
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 bug report at http://bugs.php.net/?id=20518&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20518&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20518&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20518&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20518&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20518&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20518&r=support Expected behavior: http://bugs.php.net/fix.php?id=20518&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20518&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20518&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20518&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20518&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20518&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20518&r=isapi