Re: [PEPr] +1 for Console::Console_CommandLine
| From: | Gregory Beaver | Date: | Mon, 03 Dec 2007 16:47:15 +0000 |
| Subject: | Re: [PEPr] +1 for Console::Console_CommandLine | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-48653@lists.php.net to get a copy of this message | ||
David JL wrote:
> Hi Brett
>
>> When using an xml definition file, (from your example2) - It doesn't
>> appear that any error is thrown if the XML file is not found... if the file
>> given is not valid the user is given:
>>
>
> Yes, I could check if the xml and rng file exist, I'll add this.
> But there's still a problem with DOMDocument->relaxNGValidate() that
> issue warnings if the file is not valid :(
> see:
> http://fr.php.net/manual/fr/function.dom-domdocument-relaxngvalidate.php
http://www.php.net/manual/en/function.libxml-use-internal-errors.php
You can control this.
Greg