pear convert: Invalid package.xml
| From: | Sebastian Bergmann | Date: | Sat, 28 Jan 2006 18:20:39 +0000 |
| Subject: | pear convert: Invalid package.xml | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-41119@lists.php.net to get a copy of this message | ||
I am trying to convert PHPUnit2's package.xml to package2.xml:
sb@wopr-mobile PHPUnit2 % pear convert
Invalid tag order in <dependencies><optional>, found <php> expected
one of "package, subpackage, extension"
PEAR_Packagefile_v2::toPackageFile: invalid package.
This is the package.xml part it complains about:
<deps>
<dep type="php" rel="ge" version="5.1.2" />
<dep type="php" rel="ge" version="5.1.3"
optional="yes" />
...
</deps>
Is the following package2.xml part (that I converted manually) legal?
<dependencies>
<required>
<php>
<min>5.1.2</min>
</php>
...
</required>
<optional>
<php>
<min>5.1.3</min>
</php>
...
</optional>
</dependencies>
Thanks,
Sebastian
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69