c9s/Onion — Issue #2: Pyrus breaks when installing packages built with Onion
Author: nrk
Created: 2011-12-24 18:21:21+00:00
State: open

Onion generates `package.xml` files specifing `version="2.0"` and using the XSD of [package-2.0](http://pear.php.net/dtd/package-2.0.xsd). The problem is that the `install-as` attribute used by Onion in `file` elements is not allowed in this version and [Pyrus](http://pear.php.net/manual/en/pyrus.php), which performs XML validation using the XSD, refuses to install our packages lamenting that the XML in `package.xml` is malformed.

Instead of the `install-as` attribute in `file` elements, it would be probably better to use the `phprelease` node e.g.:

```

```