Re: Problem validating package2.xml

From: Date: Thu, 22 Mar 2007 17:15:54 +0000
Subject: Re: Problem validating package2.xml
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-45979@lists.php.net to get a copy of this message
The problem was that <notes/> should not be empty. Thanks to all. > On 3/22/07, Vagharshak Tozalakyan <vagh@tozalakyan.com> wrote: >> I make the changes you have mention, but still receive the error: >> Parsing >> of package.xml from file "/tmp/pearxVUSps/package2.xml" failed. How do >> you >> think what may cause the problem now? Thanks. >> > > Message I received was that notes cannot be empty. > > ucommbieber:~/Desktop/test/HTTP_FloodControl bbieber$ diff -u > ~/Desktop/HTTP_FloodControl-0.1.1/package2.xml ./package.xml > --- /Users/bbieber/Desktop/HTTP_FloodControl-0.1.1/package2.xml > 2007-03-22 06:39:00.000000000 -0500 > +++ ./package.xml 2007-03-22 08:37:54.000000000 -0500 > @@ -38,7 +38,7 @@ > <api>alpha</api> > </stability> > <license > uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license> > - <notes/> > + <notes>First Release</notes> > <contents> > <dir name="/"> > <file name="FloodControl/Container.php" role="php" /> > > > I also named the package file package.xml... placed it inside the > HTTP_FloodControl Directory, then ran pear package which made the > package. > > I think you should be good to go. If you don't plan on using the > automated package.xml which is available on your package homepage I > would suggest PEAR_PackageFileManager which can automatically build > the XML file for you. Good luck! > > -- > -Brett Bieber > > http:saltybeagle.com aim:ianswerq >

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