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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: avb@php.net
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 11:01:30 2024 UTC