Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.32.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)    
Comments Add Comment Add patch

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:
Solve the problem : 44 - 3 = ?

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


 [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 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 by the end of next Sunday (CET). If this was a problem with the 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 itself, i'll roll a new release/ stick it on