Re: Pyrus: Installation of pear/validate-beta fails: invalid package
| From: | Helgi Þormar Þorbjörnsson | Date: | Wed, 10 Mar 2010 20:48:29 +0000 |
| Subject: | Re: Pyrus: Installation of pear/validate-beta fails: invalid package | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-53309@lists.php.net to get a copy of this message | ||
On 10 Mar 2010, at 20:05, Christian Weiske wrote:
> hi all,
>
>
>> Why does the installation of Validate fail? --verbose does not give me
>> any indication:
>>
>> $ pyrus-5.3.2 install pear/validate-beta
>> pear2\Pyrus\PackageFile\Exception: Invalid package.xml
>> pear2\Pyrus\XMLParser\Exception: Invalid XML document
>>
>> xmllint says it's valid :/
>
> xmllint --schema ... says it's invalid, too. I guess we need to
> qa-release quite some packages with fixed xmls:
>
> cweiske:~/Dev/cvs/pear/packages> cat invalid-xmls |grep "fails to"|wc -l
> 362
> (note that those also count packagev1.xmls)
>
> $ cat invalid-xmls |grep "fails to"|grep package2|wc -l
> 58
Wasn't there a discussion about figuring out a way to make this more laxed? I remember a chat
between me, greg and Brett a few years back about XSD being too strict with this.
I think we should explore that venue before we start fixing packages - Even if we fix our PEAR
packages we will have issues with other peoples packages as well and that's a bit out of our
control, so the more we can be graceful about this the better IMO.
- Helgi