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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2021 The PHP Group
All rights reserved.
Last updated: Sat Sep 25 19:03:38 2021 UTC