ID:               16376
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Sablotron XSL
 Operating System: Windows 2000
 PHP Version:      4.1.2
 New Comment:

This is not a bug description, it's an April's fool joke :) Have you
checked whether your xml file is well-formed?


Previous Comments:
------------------------------------------------------------------------

[2002-04-01 11:26:25] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=16376&edit=1

Reply via email to