Anonymous | Login | Signup for a new account | 10-30-2024 04:15 PDT |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002023 | [Quercus] | minor | always | 09-24-07 01:00 | 09-24-07 17:04 | ||||
Reporter | krogh | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.1.3 | Product Version | 3.1.2 | ||||
Product Build | |||||||||
Summary | 0002023: 0 isn't handled as a BooleanValue | ||||||||
Description |
Hello, trying to install joomla 1.0.13 on glassfish / quercus, I had some problem with xml handling (domit lib used by joomla). It appears xmlOptionCaseFolding didn't reflect the corresponding option when set using 0 (0 & 1 should be hanlded as boolean depending of the context). Buggy php code: xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0); Working version: xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, false); /quercus/src/com/caucho/quercus/lib/xml/Xml.java case XmlModule.XML_OPTION_CASE_FOLDING: if (value instanceof BooleanValue) { _xmlOptionCaseFolding = value.toBoolean(); return true; } else { return false; } I saw similar code many times to handle booleans, mabye it should be replaced by an helper that also check number values (0 => false, any other value => true). |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed. 26 unique queries executed. |