cvs: pearweb /public_html/dtd index.php package-1.0 package-1.0.xsd
| From: | Martin Jansen | Date: | Sat, 12 Jul 2003 07:44:35 +0000 |
| Subject: | cvs: pearweb /public_html/dtd index.php package-1.0 package-1.0.xsd | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-11454@lists.php.net to get a copy of this message | ||
mj Sat Jul 12 03:44:35 2003 EDT
Added files:
/pearweb/public_html/dtd index.php package-1.0 package-1.0.xsd
Log:
* Adding the DTD/XSD stuff to pear.php.net
Index: pearweb/public_html/dtd/index.php +++ pearweb/public_html/dtd/index.php <?php /* +----------------------------------------------------------------------+ | PEAR Web site version 1.0 | +----------------------------------------------------------------------+ | Copyright (c) 2001-2003 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 2.02 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available at through the world-wide-web at | | http://www.php.net/license/2_02.txt. | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ $Id: index.php,v 1.1 2003/07/12 07:44:35 mj Exp $ */ response_header("Document Type Definitions"); ?> <h2>Document Type Definitions</h2> <p>The following Document Type Definitions are used in PEAR:</p> <?php $bb = new BorderBox("Available DTDs"); ?> <table border="0" cellpadding="2" cellspacing="2"> <tr> <td valign="top"><a href="/dtd/package-1.0">package-1.0</a></td> <td>This is the <acronym title="Document Type Definition">DTD</acronym> that defines the legal building blocks of the <tt>package.xml</tt> file that comes with each package. More information about <tt>package.xml</tt> can be found <a href="/manual/en/developers.packagedef.php">in the manual</a>. <br /><br />A <a href="/dtd/package-1.0.xsd"> <acronym title="XML Schema Definition">XSD</acronym> file</a> is available as well. </td> </tr> </table> <?php $bb->end(); response_footer(); ?> Index: pearweb/public_html/dtd/package-1.0 +++ pearweb/public_html/dtd/package-1.0 <!-- $Id: package-1.0,v 1.1 2003/07/12 07:44:35 mj Exp $ This is the PEAR package description, version 1.0b3. It should be used with the informal public identifier: "-//PHP Group//DTD PEAR Package 1.0b3//EN//XML" Copyright (c) 1997-2003 The PHP Group This source file is subject to version 2.02 of the PHP license, that is bundled with this package in the file LICENSE, and is available at through the world-wide-web at http://www.php.net/license/2_02.txt. If you did not receive a copy of the PHP license and are unable to obtain it through the world-wide-web, please send a note to license@php.net so we can mail you a copy immediately. Authors: Stig S. Bakken <ssb@fast.no> --> <!ELEMENT package (name|summary|description|license|maintainers|release|changelog)> <!ATTLIST package type (source|binary|empty) "empty" version CDATA #REQUIRED> <!ELEMENT name (#PCDATA)> <!ELEMENT summary (#PCDATA)> <!ELEMENT description (#PCDATA)> <!ELEMENT maintainers (maintainer)+> <!ELEMENT maintainer (user|role|name|email)*> <!ELEMENT user (#PCDATA)> <!ELEMENT role (#PCDATA)> <!ELEMENT email (#PCDATA)> <!ELEMENT changelog (release)*> <!ELEMENT release (version|license|state|date|notes|filelist|deps)*> <!ELEMENT version (#PCDATA)> <!ELEMENT state (#PCDATA)> <!ELEMENT date (#PCDATA)> <!ELEMENT notes (#PCDATA)> <!ELEMENT filelist (dir|file|libfile)*> <!ELEMENT dir (dir|file|libfile)*> <!ATTLIST dir name CDATA #REQUIRED baseinstalldir CDATA #IMPLIED> <!ELEMENT file (#PCDATA)> <!ATTLIST file role (php|ext|test|doc|data) 'php' debug (na|on|off) 'na' threaded (na|on|off) 'na' format CDATA #IMPLIED baseinstalldir CDATA #IMPLIED> <!ELEMENT libfile (libname|sources|includes|libadd)*> <!ELEMENT libname (#PCDATA)> <!ELEMENT sources (#PCDATA)> <!ELEMENT libadd (#PCDATA)> <!ELEMENT deps (dep)*> <!ELEMENT dep (#PCDATA)> <!ATTLIST dep type (pkg|ext|php|prog|ldlib|ltlib|os|websrv|sapi) #REQUIRED rel (has|eq|lt|le|gt|ge) #IMPLIED version CDATA #IMPLIED> Index: pearweb/public_html/dtd/package-1.0.xsd +++ pearweb/public_html/dtd/package-1.0.xsd <?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="package"> <xs:complexType> <xs:choice> <xs:element ref="name" /> <xs:element ref="summary" /> <xs:element ref="description" /> <xs:element ref="license" /> <xs:element ref="maintainers" /> <xs:element ref="release" /> <xs:element ref="changelog" /> </xs:choice> <xs:attribute name="type" default="empty"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="source" /> <xs:enumeration value="binary" /> <xs:enumeration value="empty" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="version" type="xs:string" use="required" /> </xs:complexType> </xs:element> <xs:element name="name" type="xs:string" /> <xs:element name="summary" type="xs:string" /> <xs:element name="description" type="xs:string" /> <xs:element name="maintainers"> <xs:complexType> <xs:sequence maxOccurs="unbounded"> <xs:element ref="maintainer" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="maintainer"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="user" /> <xs:element ref="role" /> <xs:element ref="name" /> <xs:element ref="email" /> </xs:choice> </xs:complexType> </xs:element> <xs:element name="user" type="xs:string" /> <xs:element name="role" type="xs:string" /> <xs:element name="email" type="xs:string" /> <xs:element name="changelog"> <xs:complexType> <xs:sequence minOccurs="0" maxOccurs="unbounded"> <xs:element ref="release" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="release"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="version" /> <xs:element ref="license" /> <xs:element ref="state" /> <xs:element ref="date" /> <xs:element ref="notes" /> <xs:element ref="filelist" /> <xs:element ref="deps" /> </xs:choice> </xs:complexType> </xs:element> <xs:element name="version" type="xs:string" /> <xs:element name="state" type="xs:string" /> <xs:element name="date" type="xs:string" /> <xs:element name="notes" type="xs:string" /> <xs:element name="filelist"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="dir" /> <xs:element ref="file" /> <xs:element ref="libfile" /> </xs:choice> </xs:complexType> </xs:element> <xs:element name="dir"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="dir" /> <xs:element ref="file" /> <xs:element ref="libfile" /> </xs:choice> <xs:attribute name="name" type="xs:string" use="required" /> <xs:attribute name="baseinstalldir" type="xs:string" /> </xs:complexType> </xs:element> <xs:element name="file"> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute name="role" default="php"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="php" /> <xs:enumeration value="ext" /> <xs:enumeration value="test" /> <xs:enumeration value="doc" /> <xs:enumeration value="data" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="debug" default="na"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="na" /> <xs:enumeration value="on" /> <xs:enumeration value="off" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="threaded" default="na"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="na" /> <xs:enumeration value="on" /> <xs:enumeration value="off" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="format" type="xs:string" /> <xs:attribute name="baseinstalldir" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <xs:element name="libfile"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="libname" /> <xs:element ref="sources" /> <xs:element ref="includes" /> <xs:element ref="libadd" /> </xs:choice> </xs:complexType> </xs:element> <xs:element name="libname" type="xs:string" /> <xs:element name="sources" type="xs:string" /> <xs:element name="libadd" type="xs:string" /> <xs:element name="deps"> <xs:complexType> <xs:sequence minOccurs="0" maxOccurs="unbounded"> <xs:element ref="dep" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="dep"> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute name="type" use="required"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="pkg" /> <xs:enumeration value="ext" /> <xs:enumeration value="php" /> <xs:enumeration value="prog" /> <xs:enumeration value="ldlib" /> <xs:enumeration value="ltlib" /> <xs:enumeration value="os" /> <xs:enumeration value="websrv" /> <xs:enumeration value="sapi" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="rel"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="has" /> <xs:enumeration value="eq" /> <xs:enumeration value="lt" /> <xs:enumeration value="le" /> <xs:enumeration value="gt" /> <xs:enumeration value="ge" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="version" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:schema>
Index: pearweb/public_html/dtd/index.php +++ pearweb/public_html/dtd/index.php <?php /* +----------------------------------------------------------------------+ | PEAR Web site version 1.0 | +----------------------------------------------------------------------+ | Copyright (c) 2001-2003 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 2.02 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available at through the world-wide-web at | | http://www.php.net/license/2_02.txt. | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ $Id: index.php,v 1.1 2003/07/12 07:44:35 mj Exp $ */ response_header("Document Type Definitions"); ?> <h2>Document Type Definitions</h2> <p>The following Document Type Definitions are used in PEAR:</p> <?php $bb = new BorderBox("Available DTDs"); ?> <table border="0" cellpadding="2" cellspacing="2"> <tr> <td valign="top"><a href="/dtd/package-1.0">package-1.0</a></td> <td>This is the <acronym title="Document Type Definition">DTD</acronym> that defines the legal building blocks of the <tt>package.xml</tt> file that comes with each package. More information about <tt>package.xml</tt> can be found <a href="/manual/en/developers.packagedef.php">in the manual</a>. <br /><br />A <a href="/dtd/package-1.0.xsd"> <acronym title="XML Schema Definition">XSD</acronym> file</a> is available as well. </td> </tr> </table> <?php $bb->end(); response_footer(); ?> Index: pearweb/public_html/dtd/package-1.0 +++ pearweb/public_html/dtd/package-1.0 <!-- $Id: package-1.0,v 1.1 2003/07/12 07:44:35 mj Exp $ This is the PEAR package description, version 1.0b3. It should be used with the informal public identifier: "-//PHP Group//DTD PEAR Package 1.0b3//EN//XML" Copyright (c) 1997-2003 The PHP Group This source file is subject to version 2.02 of the PHP license, that is bundled with this package in the file LICENSE, and is available at through the world-wide-web at http://www.php.net/license/2_02.txt. If you did not receive a copy of the PHP license and are unable to obtain it through the world-wide-web, please send a note to license@php.net so we can mail you a copy immediately. Authors: Stig S. Bakken <ssb@fast.no> --> <!ELEMENT package (name|summary|description|license|maintainers|release|changelog)> <!ATTLIST package type (source|binary|empty) "empty" version CDATA #REQUIRED> <!ELEMENT name (#PCDATA)> <!ELEMENT summary (#PCDATA)> <!ELEMENT description (#PCDATA)> <!ELEMENT maintainers (maintainer)+> <!ELEMENT maintainer (user|role|name|email)*> <!ELEMENT user (#PCDATA)> <!ELEMENT role (#PCDATA)> <!ELEMENT email (#PCDATA)> <!ELEMENT changelog (release)*> <!ELEMENT release (version|license|state|date|notes|filelist|deps)*> <!ELEMENT version (#PCDATA)> <!ELEMENT state (#PCDATA)> <!ELEMENT date (#PCDATA)> <!ELEMENT notes (#PCDATA)> <!ELEMENT filelist (dir|file|libfile)*> <!ELEMENT dir (dir|file|libfile)*> <!ATTLIST dir name CDATA #REQUIRED baseinstalldir CDATA #IMPLIED> <!ELEMENT file (#PCDATA)> <!ATTLIST file role (php|ext|test|doc|data) 'php' debug (na|on|off) 'na' threaded (na|on|off) 'na' format CDATA #IMPLIED baseinstalldir CDATA #IMPLIED> <!ELEMENT libfile (libname|sources|includes|libadd)*> <!ELEMENT libname (#PCDATA)> <!ELEMENT sources (#PCDATA)> <!ELEMENT libadd (#PCDATA)> <!ELEMENT deps (dep)*> <!ELEMENT dep (#PCDATA)> <!ATTLIST dep type (pkg|ext|php|prog|ldlib|ltlib|os|websrv|sapi) #REQUIRED rel (has|eq|lt|le|gt|ge) #IMPLIED version CDATA #IMPLIED> Index: pearweb/public_html/dtd/package-1.0.xsd +++ pearweb/public_html/dtd/package-1.0.xsd <?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="package"> <xs:complexType> <xs:choice> <xs:element ref="name" /> <xs:element ref="summary" /> <xs:element ref="description" /> <xs:element ref="license" /> <xs:element ref="maintainers" /> <xs:element ref="release" /> <xs:element ref="changelog" /> </xs:choice> <xs:attribute name="type" default="empty"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="source" /> <xs:enumeration value="binary" /> <xs:enumeration value="empty" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="version" type="xs:string" use="required" /> </xs:complexType> </xs:element> <xs:element name="name" type="xs:string" /> <xs:element name="summary" type="xs:string" /> <xs:element name="description" type="xs:string" /> <xs:element name="maintainers"> <xs:complexType> <xs:sequence maxOccurs="unbounded"> <xs:element ref="maintainer" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="maintainer"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="user" /> <xs:element ref="role" /> <xs:element ref="name" /> <xs:element ref="email" /> </xs:choice> </xs:complexType> </xs:element> <xs:element name="user" type="xs:string" /> <xs:element name="role" type="xs:string" /> <xs:element name="email" type="xs:string" /> <xs:element name="changelog"> <xs:complexType> <xs:sequence minOccurs="0" maxOccurs="unbounded"> <xs:element ref="release" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="release"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="version" /> <xs:element ref="license" /> <xs:element ref="state" /> <xs:element ref="date" /> <xs:element ref="notes" /> <xs:element ref="filelist" /> <xs:element ref="deps" /> </xs:choice> </xs:complexType> </xs:element> <xs:element name="version" type="xs:string" /> <xs:element name="state" type="xs:string" /> <xs:element name="date" type="xs:string" /> <xs:element name="notes" type="xs:string" /> <xs:element name="filelist"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="dir" /> <xs:element ref="file" /> <xs:element ref="libfile" /> </xs:choice> </xs:complexType> </xs:element> <xs:element name="dir"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="dir" /> <xs:element ref="file" /> <xs:element ref="libfile" /> </xs:choice> <xs:attribute name="name" type="xs:string" use="required" /> <xs:attribute name="baseinstalldir" type="xs:string" /> </xs:complexType> </xs:element> <xs:element name="file"> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute name="role" default="php"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="php" /> <xs:enumeration value="ext" /> <xs:enumeration value="test" /> <xs:enumeration value="doc" /> <xs:enumeration value="data" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="debug" default="na"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="na" /> <xs:enumeration value="on" /> <xs:enumeration value="off" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="threaded" default="na"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="na" /> <xs:enumeration value="on" /> <xs:enumeration value="off" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="format" type="xs:string" /> <xs:attribute name="baseinstalldir" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <xs:element name="libfile"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="libname" /> <xs:element ref="sources" /> <xs:element ref="includes" /> <xs:element ref="libadd" /> </xs:choice> </xs:complexType> </xs:element> <xs:element name="libname" type="xs:string" /> <xs:element name="sources" type="xs:string" /> <xs:element name="libadd" type="xs:string" /> <xs:element name="deps"> <xs:complexType> <xs:sequence minOccurs="0" maxOccurs="unbounded"> <xs:element ref="dep" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="dep"> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute name="type" use="required"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="pkg" /> <xs:enumeration value="ext" /> <xs:enumeration value="php" /> <xs:enumeration value="prog" /> <xs:enumeration value="ldlib" /> <xs:enumeration value="ltlib" /> <xs:enumeration value="os" /> <xs:enumeration value="websrv" /> <xs:enumeration value="sapi" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="rel"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="has" /> <xs:enumeration value="eq" /> <xs:enumeration value="lt" /> <xs:enumeration value="le" /> <xs:enumeration value="gt" /> <xs:enumeration value="ge" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="version" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:schema>