From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.1.2 PHP Bug Type: Sablotron XSL Bug description: Transformation does not work inside PHP
Hello, I've used this sample code as well as the installation described at http://shanx.com/php/xsl/getXsl.htm. <?php // Create an XSLT processor $xsltHandle = xslt_create(); // Perform the transformation $out = xslt_process($xsltHandle, getcwd().'test.xml', getcwd().'test.xsl'); // Detect errors if(!$out) die(xslt_error($xsltHandle)); // Destroy the XSLT processor xslt_free($xsltHandle); ?> The result is that Sablotron itself works fine but this code produces following error "XML parser error 4: not well-formed (invalid token)". Thank you. -- Edit bug report at http://bugs.php.net/?id=16376&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16376&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16376&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16376&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16376&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16376&r=support Expected behavior: http://bugs.php.net/fix.php?id=16376&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16376&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16376&r=submittedtwice