On Thu, Dec 1, 2011 at 10:34 AM, Thomas Bruederli <thomas@roundcube.net> wrote:
On Tue, Nov 29, 2011 at 11:15, A.L.E.C <alec@alec.pl> wrote:
> On 28.11.2011 20:38, Thomas Bruederli wrote:
>
>> The package.xml validates when adding <srcuri></srcuri> right before
>> <phprelease/>
>> Your failing validation could be some validation error in the XSD
>> (package-2.0.xsd) itself which my validator (Oxygen) complains about.
>
> I'm using pear package-validate command, maybe it's using some more
> logic than just xsd validation. Now the error is:
>
> Error: <phprelease> packages cannot specify a source code package, only
> extension binaries may use the <srcpackage> tag

Well, that seems to be an internal pear validation which actually
contradicts the XSD. The schema requires the <phprelease> tag to be
alway present and allows an optional <srcuri>.

~Thomas


Never saw srcuri with PEAR packages:
http://pear.php.net/manual/en/guide.developers.package2.pecl.php

It looks like it's pecl related. What are you trying to achieve with it?

Till