php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56460 package 1.0 DTD is broken
Submitted: 2005-07-22 14:15 UTC Modified: 2005-07-24 11:45 UTC
From: avb@php.net Assigned: cellog (profile)
Status: Closed Package: PECL website (PECL)
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
38 - 36 = ?
Subscribe to this entry?

 
 [2005-07-22 14:15 UTC] avb@php.net
Description:
------------
It is impossible to validate a package.xml file against the DTD [1] because DTD itself is invalid: the 'packageversion' attribute for 'package' tag should probably have the #IMPLIED clause.

[1] http://pear.php.net/dtd/package-1.0

Test script:
---------------
Try validating any package.xml file.

Expected result:
----------------
<!ATTLIST package type    (source|binary|empty) "empty"
                  version CDATA                 #REQUIRED
                  packagerversion CDATA #IMPLIED>


Actual result:
--------------
<!ATTLIST package type    (source|binary|empty) "empty"
                  version CDATA                 #REQUIRED
                  packagerversion CDATA>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-24 11:45 UTC] cellog@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PEAR better.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Sep 25 19:03:38 2021 UTC