| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by Gregory Beaver (The Chiara String Quartet) --> |
| 3 |
<!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Greg Beaver (The Chiara String Quartet) --> |
| 4 |
<xs:schema xmlns="http://pear.php.net/dtd/tasks-1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://pear.php.net/dtd/tasks-1.0" elementFormDefault="qualified" attributeFormDefault="unqualified"> |
| 5 |
<xs:element name="replace"> |
| 6 |
<xs:annotation> |
| 7 |
<xs:documentation>standard PEAR str_replace() in-file replacement</xs:documentation> |
| 8 |
</xs:annotation> |
| 9 |
<xs:complexType> |
| 10 |
<xs:attribute name="from" type="xs:string" use="required"/> |
| 11 |
<xs:attribute name="to" type="xs:string" use="required"/> |
| 12 |
<xs:attribute name="type" use="required"> |
| 13 |
<xs:simpleType> |
| 14 |
<xs:restriction base="xs:string"> |
| 15 |
<xs:enumeration value="package-info"/> |
| 16 |
<xs:enumeration value="php-const"/> |
| 17 |
<xs:enumeration value="pear-config"/> |
| 18 |
</xs:restriction> |
| 19 |
</xs:simpleType> |
| 20 |
</xs:attribute> |
| 21 |
</xs:complexType> |
| 22 |
</xs:element> |
| 23 |
<xs:element name="postinstallscript"> |
| 24 |
<xs:annotation> |
| 25 |
<xs:documentation>standard PEAR post-installation script - must be used in a role="php" file</xs:documentation> |
| 26 |
</xs:annotation> |
| 27 |
<xs:complexType> |
| 28 |
<xs:sequence> |
| 29 |
<xs:element name="paramgroup" minOccurs="0" maxOccurs="unbounded"> |
| 30 |
<xs:complexType> |
| 31 |
<xs:sequence> |
| 32 |
<xs:element name="id" type="xs:string"> |
| 33 |
<xs:annotation> |
| 34 |
<xs:documentation>parameter condition name, passed to install script</xs:documentation> |
| 35 |
</xs:annotation> |
| 36 |
</xs:element> |
| 37 |
<xs:element name="instructions" minOccurs="0"/> |
| 38 |
<xs:sequence minOccurs="0"> |
| 39 |
<xs:element name="name" type="xs:string"/> |
| 40 |
<xs:element name="conditiontype"> |
| 41 |
<xs:simpleType> |
| 42 |
<xs:restriction base="xs:string"> |
| 43 |
<xs:enumeration value="="/> |
| 44 |
<xs:enumeration value="!="/> |
| 45 |
<xs:enumeration value="preg_match"/> |
| 46 |
</xs:restriction> |
| 47 |
</xs:simpleType> |
| 48 |
</xs:element> |
| 49 |
<xs:element name="value" type="xs:string"/> |
| 50 |
</xs:sequence> |
| 51 |
<xs:element name="param" maxOccurs="unbounded"> |
| 52 |
<xs:complexType> |
| 53 |
<xs:sequence> |
| 54 |
<xs:element name="name"> |
| 55 |
<xs:simpleType> |
| 56 |
<xs:restriction base="xs:string"> |
| 57 |
<xs:pattern value="[a-zA-Z0-9]+"/> |
| 58 |
</xs:restriction> |
| 59 |
</xs:simpleType> |
| 60 |
</xs:element> |
| 61 |
<xs:element name="prompt" type="xs:string"/> |
| 62 |
<xs:element name="type"> |
| 63 |
<xs:simpleType> |
| 64 |
<xs:restriction base="xs:string"> |
| 65 |
<xs:enumeration value="string"/> |
| 66 |
</xs:restriction> |
| 67 |
</xs:simpleType> |
| 68 |
</xs:element> |
| 69 |
<xs:element name="default" type="xs:string" minOccurs="0"/> |
| 70 |
</xs:sequence> |
| 71 |
</xs:complexType> |
| 72 |
</xs:element> |
| 73 |
</xs:sequence> |
| 74 |
</xs:complexType> |
| 75 |
</xs:element> |
| 76 |
</xs:sequence> |
| 77 |
</xs:complexType> |
| 78 |
</xs:element> |
| 79 |
<xs:element name="unixeol"> |
| 80 |
<xs:annotation> |
| 81 |
<xs:documentation>standard PEAR unix line endings package-time replacement</xs:documentation> |
| 82 |
</xs:annotation> |
| 83 |
</xs:element> |
| 84 |
<xs:element name="windowseol"> |
| 85 |
<xs:annotation> |
| 86 |
<xs:documentation>standard PEAR windows line ending package-time replacement</xs:documentation> |
| 87 |
</xs:annotation> |
| 88 |
</xs:element> |
| 89 |
</xs:schema> |