Bug #17717 [Opn]: package.xml XSD does not support __uri channels
| From: | helgith at gmail dot com | Date: | Sat, 04 Sep 2010 22:28:45 +0000 |
| Subject: | Bug #17717 [Opn]: package.xml XSD does not support __uri channels | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-4769@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=17717&edit=1
ID: 17717
Updated by: helgith@gmail.com
Reported By: cweiske at php dot net
Summary: package.xml XSD does not support __uri channels
Status: Open
Type: Bug
-Package: PEAR
+Package: pearweb
Package Version: SVN
PHP Version: 5.3.3
Roadmap Versions:
New Comment:
-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.
Previous Comments:
------------------------------------------------------------------------
[2010-08-24 01:12:19] doconnor
<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-08-24 01:10:40] doconnor
Should this be pear or pearweb?
------------------------------------------------------------------------
[2010-08-17 12:14:23] cweiske
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.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17717&edit=1