Re: Pyrus: xsd is broken

From: Date: Fri, 12 Mar 2010 16:50:18 +0000
Subject: Re: Pyrus: xsd is broken
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-53328@lists.php.net to get a copy of this message
On Thu, Mar 11, 2010 at 5:35 PM, Brett Bieber <brett.bieber@gmail.com> wrote: > 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. > Could updating have lead to: Updating channel "pear.php.net" Cannot retrieve channel.xml for channel "pear.php.net" (File http://pear.php.net:80/channel.xml not valid (received: HTTP/1.1 404 Not Found)) ? =) I can't really verify it, is this an old pear? My local installs work. Till

« previous php.pear.dev (#53328) next »