Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.29.0

Bug #17717 package.xml XSD does not support __uri channels
Submitted: 2010-08-17 16:14 UTC
From: cweiske Assigned: doconnor
Status: Closed Package: pearweb
PHP Version: 5.3.3 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2010-08-17 16:14 UTC] cweiske (Christian Weiske)
Description: ------------ The XSD for package.xml v2 files at http://pear.php.net/dtd/package-2.0.xsd does not allow a channel value of "__uri", but it should. Compare it to "pear list-channels" which lists __uri.

Comments

 [2010-08-24 05:10 UTC] doconnor (Daniel O'Connor)
Should this be pear or pearweb?
 [2010-08-24 05:12 UTC] doconnor (Daniel O'Connor)
<xs:element name="channel"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:pattern value="[A-Za-z][a-zA-Z0-9_.-]+((/[A-Za-z0-9]+)+)?"/> </xs:restriction> </xs:simpleType> </xs:element> What would you change in the regex?
 [2010-09-05 02:28 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Package: PEAR +Package: pearweb
[A-Za-z_][a-zA-Z0-9_.-]+((/[A-Za-z0-9]+)+)? This allows __uri and pear.php.net etc but __uri is a bit of an exception to the rule. This is a pearweb report btw.
 [2010-09-05 08:43 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: doconnor
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. If either of you get time to upgrade pear.php.net itself, i'll roll a new release/ stick it on test.pear.php.net