Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package.xml broken when installing using pyrus #111

Closed
magicsunday opened this issue Oct 21, 2013 · 1 comment
Closed

package.xml broken when installing using pyrus #111

magicsunday opened this issue Oct 21, 2013 · 1 comment

Comments

@magicsunday
Copy link

Pyrus\PackageFile\Exception: Invalid package.xml
Pyrus\XMLParser\Exception: Invalid XML document
Pyrus\XMLParser\Exception: Line 0: Element '{http://pear.php.net/dtd/package-2.0}date': '2013/07/26' is not a valid value of the atomic type 'xs:date'.

Pyrus\XMLParser\Exception: Line 0: Element '{http://pear.php.net/dtd/package-2.0}date': '2012/12/14' is not a valid value of the atomic type 'xs:date'.

@cweiske
Copy link

cweiske commented Oct 21, 2013

Validate it manually:

$ wget http://pear.phpmd.org/get/PHP_PMD-1.5.0.tgz
$ tar xzvf PHP_PMD-1.5.0.tgz 
$ xmllint --noout --schema http://pear.php.net/dtd/package-2.0.xsd package.xml 
package.xml:661: element date: Schemas validity error : Element '{http://pear.php.net/dtd/package-2.0}date': '2013/07/26' is not a valid value of the atomic type 'xs:date'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants