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
 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC