Mantis - Quercus
Viewing Issue Advanced Details
1503 minor always 12-10-06 08:32 05-27-08 21:13
at4u GNU/Linux  
ferg Gentoo Linux  
normal N/A  
closed 3.0.22  
fixed  
none    
none 3.2.0  
0001503: xml_parser_set_option (): XML_OPTION_CASE_FOLDING 0 is ignored
Hi there,

while testing a PHP Java bridge and server side JVM management for performance reasons I installed Resin 3.0.22.

I found the following bug while doing so:

Script:
<?php
$f_xmlp = xml_parser_create ();

if ($f_xmlp)
{
 xml_parser_set_option ($f_xmlp,XML_OPTION_CASE_FOLDING,0);
 if (xml_parser_get_option ($f_xmlp,XML_OPTION_CASE_FOLDING) != 0) { echo "Bug: Deactivating case folding failed! Forcing it means that invalid XML output will be generated."; }
 else { echo "Everything works as expected"; }
 xml_parser_free ($f_xmlp);
}
?>

Actual result:
Output: "Bug: Deactivating case folding failed! Forcing it means that invalid XML output will be generated."

Expected:
Output: "Everything works as expected"
I found bug number 0000840. creich said that XML_OPTION_CASE_FOLDING. Unfortunately I don't know which version he meant by this statement. Maybe it's an duplicate bug, sorry.

Notes
(0003097)
ferg   
05-27-08 21:13   
php/1h0s