FAQ
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.

------------------------------------------------------------------------

Search Discussions

  • Daniel Oconnor at Sep 5, 2010 at 4:43 am
    Edit report at http://pear.php.net/bugs/bug.php?id=17717&edit=1

    ID: 17717
    Updated by: daniel.oconnor@gmail.com
    Reported By: cweiske at php dot net
    Summary: package.xml XSD does not support __uri channels
    -Status: Open
    +Status: Closed
    Type: Bug
    Package: pearweb
    PHP Version: 5.3.3
    -Assigned To:
    +Assigned To: doconnor
    Roadmap Versions:
    New Comment:

    -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


    Previous Comments:
    ------------------------------------------------------------------------

    [2010-09-04 22:28:45] dufuz

    -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-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.

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedSep 4, '10 at 10:28p
activeSep 5, '10 at 4:43a
posts2
users2
websitepear.php.net

2 users in discussion

Daniel Oconnor: 1 post Helgith: 1 post

People

Translate

site design / logo © 2022 Grokbase