Re: Pyrus: xsd is broken
| From: | Brett Bieber | Date: | Thu, 11 Mar 2010 16:35:35 +0000 |
| Subject: | Re: Pyrus: xsd is broken | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-53327@lists.php.net to get a copy of this message | ||
On Thu, Mar 11, 2010 at 9:53 AM, Brett Bieber <brett.bieber@gmail.com> wrote:
> On Thu, Mar 11, 2010 at 1:36 AM, Christian Weiske <cweiske@cweiske.de> wrote:
>>
>>
>>> The package-2.0.xsd is broken: No directories without files are
>>> allowed.
>>> Short: Currently it is not allowed to have <dir> elements without a
>>> single <file> in them.
>> Patch to fix this:
> <snip>
>
> Not having the xsd file versioned, and in multiple places is causing a
> bit of confusion. The .xsd bundled with pyrus already allows this.
>
>
> http://svn.php.net/viewvc/pear2/Pyrus/trunk/data/package-2.0.xsd?view=markup
>
> We may need to get the .xsd files in pearweb synchronized with what is
> bundled with Pyrus.
OK. I've updated the channel and package xsd files included in pearweb
to what is in Pyrus, which allows for much more flexibility. If those
that were concerned about the strictness of the xsd could try with the
latest available and report any major issues that would be great.
Ideally we would have one location for these files (pearweb), and
Pyrus would reference those (svn:externals ?). This may take some work
within Pyrus, but definitely something doable.
--
Brett Bieber