Bug #16993 Updated: Characters with ascii127 crash

2002-05-06 Thread rici

 ID:   16993
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Bogus
+Status:   Open
 Bug Type: Sablotron XSL
 Operating System: Windows 2000
 PHP Version:  4.2.0
 New Comment:

And I tried it with the command line version of php, and the result is
the same.


Previous Comments:


[2002-05-04 05:09:02] [EMAIL PROTECTED]

To better explain, here is an example source:

?
$xml =  END
?xml version=1.0 encoding=ISO-8859-2?
ROOT
IMPORTANTVery important ö ü é /IMPORTANT
/ROOT
END;

$xsl = END
?xml version=1.0 encoding=ISO-8859-2?
xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
version=1.0
xsl:output method=html/
xsl:template match=ROOT
  Bxsl:value-of select=IMPORTANT//B
/xsl:template
/xsl:stylesheet
END;

$arguments = array('/_xml' = $xml,'/_xsl' = $xsl);
$xh = xslt_create();
$result = xslt_process($xh, 'arg:/_xml', 'arg:/_xsl', NULL,
$arguments);
echo $result;
?

And, I think, the good result is: BVery important ö ü é/B
But I always get: BVery important ö ü é/B



[2002-05-03 10:00:40] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to Open.




[2002-05-03 09:47:53] [EMAIL PROTECTED]

Possible bug in xslt_process()

If in the source xml code are characters with ascii code greater than
127, for example some national characters (ö, ü, ...), they will not be
displayed correctly in the result after the transformation. Instead the
character I get two strange characters. For a specified source
character (127) I always get specified characters. Of course, in the
xml tag I use the correct encoding attribute, for example ISO-8859-2.

Thanks.




-- 
Edit this bug report at http://bugs.php.net/?id=16993edit=1




Bug #16993 Updated: Characters with ascii127 crash

2002-05-04 Thread rici

 ID:   16993
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Bogus
 Bug Type: Sablotron XSL
 Operating System: Windows 2000
 PHP Version:  4.2.0
 New Comment:

To better explain, here is an example source:

?
$xml =  END
?xml version=1.0 encoding=ISO-8859-2?
ROOT
IMPORTANTVery important ö ü é /IMPORTANT
/ROOT
END;

$xsl = END
?xml version=1.0 encoding=ISO-8859-2?
xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
version=1.0
xsl:output method=html/
xsl:template match=ROOT
  Bxsl:value-of select=IMPORTANT//B
/xsl:template
/xsl:stylesheet
END;

$arguments = array('/_xml' = $xml,'/_xsl' = $xsl);
$xh = xslt_create();
$result = xslt_process($xh, 'arg:/_xml', 'arg:/_xsl', NULL,
$arguments);
echo $result;
?

And, I think, the good result is: BVery important ö ü é/B
But I always get: BVery important ö ü é/B


Previous Comments:


[2002-05-03 10:00:40] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to Open.




[2002-05-03 09:47:53] [EMAIL PROTECTED]

Possible bug in xslt_process()

If in the source xml code are characters with ascii code greater than
127, for example some national characters (ö, ü, ...), they will not be
displayed correctly in the result after the transformation. Instead the
character I get two strange characters. For a specified source
character (127) I always get specified characters. Of course, in the
xml tag I use the correct encoding attribute, for example ISO-8859-2.

Thanks.




-- 
Edit this bug report at http://bugs.php.net/?id=16993edit=1




Bug #16993 Updated: Characters with ascii127 crash

2002-05-03 Thread cynic

 ID:   16993
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Bogus
 Bug Type: Sablotron XSL
 Operating System: Windows 2000
 PHP Version:  4.2.0
 New Comment:

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to Open.



Previous Comments:


[2002-05-03 09:47:53] [EMAIL PROTECTED]

Possible bug in xslt_process()

If in the source xml code are characters with ascii code greater than
127, for example some national characters (ö, ü, ...), they will not be
displayed correctly in the result after the transformation. Instead the
character I get two strange characters. For a specified source
character (127) I always get specified characters. Of course, in the
xml tag I use the correct encoding attribute, for example ISO-8859-2.

Thanks.




-- 
Edit this bug report at http://bugs.php.net/?id=16993edit=1