Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.2

Bug #12859 xmlschema.rng gets searched at the wrong folder
Submitted: 2008-01-08 21:50 UTC
From: johnm Assigned: izi
Status: Closed Package: Console_CommandLine (version 0.2.0)
PHP Version: 5.2.3 OS: Ubuntu Gutsy 7.10
Roadmaps: (Not assigned)    

 [2008-01-08 21:50 UTC] johnm (John Meyer)
Description: ------------ It seems the parsing-routine parsing a Xml-style-configuration tries to open the file from a false location. Test script: --------------- $test = <<<TEST <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <command> <description>Fetcht Kurse von verschiedenen Anbietern in die DB</description> <version></version> </command> TEST; $cl = Console_CommandLine::fromXmlString($test); $cl->parse(); Expected result: ---------------- Access to file /usr/share/php/data/Console_CommandLine/data/xmlschema.rng Actual result: -------------- Fatal error: XML definition file "/usr/share/php/data/xmlschema.rng" does not exists or is not readable in /usr/share/php/Console/CommandLine.php on line 697


 [2008-01-09 09:07 UTC] izi (David Jean Louis)
Thanks for your report, the bug has been fixed this morning and due to the importance of this bug, I also released a version 0.2.1 of the package.