osdir.com
mailing list archive

Subject: cvs: pearweb /public_html/dtd package-1.0.xsd - msg#00168

List: php.pear.core

Date: Prev Next Index Thread: Prev Next Index
cellog Fri Aug 27 20:04:23 2004 EDT

Modified files:
/pearweb/public_html/dtd package-1.0.xsd
Log:
fix the package 1.0 xsd to actually work with the existing PEAR installer
package.xml format

Attachment: cellog-20040827200423.txt
Description: Text document

--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

cvs: pear-core / pearchannel.xml

cellog Fri Aug 27 19:45:56 2004 EDT Modified files: /pear-core pearchannel.xml Log: get rid of those tabs http://cvs.php.net/diff.php/pear-core/pearchannel.xml?r1=1.5&r2=1.6&ty=u Index: pear-core/pearchannel.xml diff -u pear-core/pearchannel.xml:1.5 pear-core/pearchannel.xml:1.6 --- pear-core/pearchannel.xml:1.5 Fri Aug 27 19:25:30 2004 +++ pear-core/pearchannel.xml Fri Aug 27 19:45:56 2004 @@ -1,19 +1,19 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <channel version="1.0" xmlns="http://pear.php.net/channel-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/channel-1.0 http://pear.php.net/dtd/channel-1.0.xsd"> - <name>chiara</name> - <summary>PHP Extension and Application Repository</summary> - <servers> - <primary host="pear.php.net"> - <xmlrpc> - <function version="1.0">logintest</function> - <function version="1.0">package.listLatestReleases</function> - <function version="1.0">package.listAll</function> - <function version="1.0">package.info</function> - <function version="1.0">package.getDownloadURL</function> - <function version="1.0">channel.update</function> - <function version="1.0">channel.listAll</function> - </xmlrpc> - </primary> - </servers> + <name>chiara</name> + <summary>PHP Extension and Application Repository</summary> + <servers> + <primary host="pear.php.net"> + <xmlrpc> + <function version="1.0">logintest</function> + <function version="1.0">package.listLatestReleases</function> + <function version="1.0">package.listAll</function> + <function version="1.0">package.info</function> + <function version="1.0">package.getDownloadURL</function> + <function version="1.0">channel.update</function> + <function version="1.0">channel.listAll</function> + </xmlrpc> + </primary> + </servers> </channel> -- PEAR CVS Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Next Message by Date: click to view message preview

cvs: pearweb /public_html/dtd package-1.0

cellog Fri Aug 27 20:48:19 2004 EDT Modified files: /pearweb/public_html/dtd package-1.0 Log: fix the package-1.0 dtd to actually reflect how the installer currently works. http://cvs.php.net/diff.php/pearweb/public_html/dtd/package-1.0?r1=1.2&r2=1.3&ty=u Index: pearweb/public_html/dtd/package-1.0 diff -u pearweb/public_html/dtd/package-1.0:1.2 pearweb/public_html/dtd/package-1.0:1.3 --- pearweb/public_html/dtd/package-1.0:1.2 Fri Apr 23 11:42:47 2004 +++ pearweb/public_html/dtd/package-1.0 Fri Aug 27 20:48:19 2004 @@ -1,27 +1,28 @@ <!-- - $Id: package-1.0,v 1.2 2004/04/23 15:42:47 mj Exp $ + $Id: package-1.0,v 1.3 2004/08/28 00:48:19 cellog Exp $ - This is the PEAR package description, version 1.0b3. + This is the PEAR package description, version 1.0. It should be used with the informal public identifier: - "-//PHP Group//DTD PEAR Package 1.0b3//EN//XML" + "-//PHP Group//DTD PEAR Package 1.0//EN//XML" - Copyright (c) 1997-2003 The PHP Group + Copyright (c) 1997-2004 The PHP Group - This source file is subject to version 2.02 of the PHP license, + This source file is subject to version 3.00 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. + http://www.php.net/license/3_00.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@xxxxxxx so we can mail you a copy immediately. Authors: Stig S. Bakken <ssb@xxxxxxx> + Gregory Beaver <cellog@xxxxxxx> --> -<!ELEMENT package (name|summary|description|license|maintainers|release|changelog)> +<!ELEMENT package (name,summary,description,license?,maintainers,release,changelog)> <!ATTLIST package type (source|binary|empty) "empty" version CDATA #REQUIRED> @@ -45,28 +46,59 @@ <!ELEMENT changelog (release)*> -<!ELEMENT release (version|license|state|date|notes|filelist|deps)*> +<!ELEMENT release (version,date,license,state,notes,warnings?,((deps?,configureoptions?,provides*,filelist?)|(configureoptions?,provides*,filelist?,deps?)))> <!ELEMENT version (#PCDATA)> -<!ELEMENT state (#PCDATA)> - <!ELEMENT date (#PCDATA)> +<!ELEMENT state (#PCDATA)> + <!ELEMENT notes (#PCDATA)> +<!ELEMENT warnings (#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 + optional (yes|no) 'no'> + +<!ELEMENT configureoptions (configureoption)+> + +<!ELEMENT configureoption EMPTY> +<!ATTLIST configureoption name CDATA #REQUIRED + default CDATA #IMPLIED + prompt CDATA #REQUIRED> + +<!ELEMENT provides EMPTY> +<!ATTLIST provides type (ext|prog|class|function|feature|api) #REQUIRED + name CDATA #REQUIRED + extends CDATA #IMPLIED> + <!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' +<!ELEMENT file (replace*)> +<!ATTLIST file role (php|ext|test|doc|data|script|src) 'php' debug (na|on|off) 'na' threaded (na|on|off) 'na' format CDATA #IMPLIED - baseinstalldir CDATA #IMPLIED> + baseinstalldir CDATA #IMPLIED + md5sum CDATA #IMPLIED + platform CDATA #IMPLIED + install-as CDATA #IMPLIED + name CDATA #REQUIRED> + +<!ELEMENT replace EMPTY> +<!ATTLIST replace type (php-const|pear-config|package-info) #REQUIRED + from CDATA #REQUIRED + to CDATA #REQUIRED> <!ELEMENT libfile (libname|sources|includes|libadd)*> @@ -74,12 +106,6 @@ <!ELEMENT sources (#PCDATA)> -<!ELEMENT libadd (#PCDATA)> - -<!ELEMENT deps (dep)*> +<!ELEMENT includes (#PCDATA)> -<!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> +<!ELEMENT libadd (#PCDATA)> -- PEAR CVS Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Previous Message by Thread: click to view message preview

cvs: pear-core / pearchannel.xml /PEAR ChannelFile.php

cellog Fri Aug 27 19:25:30 2004 EDT Modified files: /pear-core/PEAR ChannelFile.php /pear-core pearchannel.xml Log: update schemaLocation attribute to be correct http://cvs.php.net/diff.php/pear-core/PEAR/ChannelFile.php?r1=1.12&r2=1.13&ty=u Index: pear-core/PEAR/ChannelFile.php diff -u pear-core/PEAR/ChannelFile.php:1.12 pear-core/PEAR/ChannelFile.php:1.13 --- pear-core/PEAR/ChannelFile.php:1.12 Tue Aug 24 14:15:40 2004 +++ pear-core/PEAR/ChannelFile.php Fri Aug 27 19:25:30 2004 @@ -16,7 +16,7 @@ // | Authors: Gregory Beaver <cellog@xxxxxxx> | // +----------------------------------------------------------------------+ // -// $Id: ChannelFile.php,v 1.12 2004/08/24 18:15:40 cellog Exp $ +// $Id: ChannelFile.php,v 1.13 2004/08/27 23:25:30 cellog Exp $ require_once 'PEAR/Common.php'; @@ -762,7 +762,7 @@ $ret = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>\n"; $ret .= "<channel version=\"$channelInfo[version]\" xmlns=\"http://pear.php.net/channel-1.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" - xsi:schemaLocation=\"http://pear.php.net/dtd/channel-$channelInfo[version].xsd\"> + xsi:schemaLocation=\"http://pear.php.net/dtd/channel-$channelInfo[version] http://pear.php.net/dtd/channel-$channelInfo[version].xsd\"> <name>$channelInfo[name]</name> <summary>" . htmlspecialchars($channelInfo['summary'])."</summary> "; http://cvs.php.net/diff.php/pear-core/pearchannel.xml?r1=1.4&r2=1.5&ty=u Index: pear-core/pearchannel.xml diff -u pear-core/pearchannel.xml:1.4 pear-core/pearchannel.xml:1.5 --- pear-core/pearchannel.xml:1.4 Mon Aug 23 01:41:36 2004 +++ pear-core/pearchannel.xml Fri Aug 27 19:25:30 2004 @@ -1,20 +1,19 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<channel version="1.0" xmlns="http://pear.php.net/channel-1.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://pear.php.net/dtd/channel-1.0.xsd"> - <name>chiara</name> - <summary>PHP Extension and Application Repository</summary> - <servers> - <primary host="pear.php.net"> - <xmlrpc> - <function version="1.0">logintest</function> - <function version="1.0">package.listLatestReleases</function> - <function version="1.0">package.listAll</function> - <function version="1.0">package.info</function> - <function version="1.0">package.getDownloadURL</function> - <function version="1.0">channel.update</function> - <function version="1.0">channel.listAll</function> - </xmlrpc> - </primary> - </servers> -</channel> \ No newline at end of file +<?xml version="1.0" encoding="ISO-8859-1"?> +<channel version="1.0" xmlns="http://pear.php.net/channel-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/channel-1.0 +http://pear.php.net/dtd/channel-1.0.xsd"> + <name>chiara</name> + <summary>PHP Extension and Application Repository</summary> + <servers> + <primary host="pear.php.net"> + <xmlrpc> + <function version="1.0">logintest</function> + <function version="1.0">package.listLatestReleases</function> + <function version="1.0">package.listAll</function> + <function version="1.0">package.info</function> + <function version="1.0">package.getDownloadURL</function> + <function version="1.0">channel.update</function> + <function version="1.0">channel.listAll</function> + </xmlrpc> + </primary> + </servers> +</channel> -- PEAR CVS Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Next Message by Thread: click to view message preview

cvs: pearweb /public_html/dtd package-1.0.xsd

cellog Fri Aug 27 21:10:27 2004 EDT Modified files: /pearweb/public_html/dtd package-1.0.xsd Log: add missing elements http://cvs.php.net/diff.php/pearweb/public_html/dtd/package-1.0.xsd?r1=1.2&r2=1.3&ty=u Index: pearweb/public_html/dtd/package-1.0.xsd diff -u pearweb/public_html/dtd/package-1.0.xsd:1.2 pearweb/public_html/dtd/package-1.0.xsd:1.3 --- pearweb/public_html/dtd/package-1.0.xsd:1.2 Fri Aug 27 20:04:23 2004 +++ pearweb/public_html/dtd/package-1.0.xsd Fri Aug 27 21:10:27 2004 @@ -1,4 +1,5 @@ <?xml version="1.0"?> +<!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Greg Beaver (The Chiara String Quartet) --> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="package"> <xs:complexType> @@ -6,10 +7,10 @@ <xs:element ref="name"/> <xs:element ref="summary"/> <xs:element ref="description"/> - <xs:element ref="license"/> + <xs:element ref="license" minOccurs="0"/> <xs:element ref="maintainers"/> <xs:element ref="release"/> - <xs:element ref="changelog"/> + <xs:element ref="changelog" minOccurs="0"/> </xs:sequence> <xs:attribute name="type" default="empty"> <xs:simpleType> @@ -50,22 +51,24 @@ <xs:element name="changelog"> <xs:complexType> <xs:sequence minOccurs="0" maxOccurs="unbounded"> - <xs:element ref="release"/> + <xs:element name="release" type="changelogrelease"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="release"> <xs:complexType> - <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:sequence> <xs:element ref="version"/> + <xs:element ref="date"/> <xs:element ref="license"/> <xs:element ref="state"/> - <xs:element ref="date"/> <xs:element ref="notes"/> + <xs:element ref="warnings" minOccurs="0"/> + <xs:element ref="provides" minOccurs="0" maxOccurs="unbounded"/> + <xs:element ref="deps" minOccurs="0"/> + <xs:element ref="configureoptions" minOccurs="0"/> <xs:element ref="filelist"/> - <xs:element ref="deps"/> - <xs:element ref="provides"/> - </xs:choice> + </xs:sequence> </xs:complexType> </xs:element> <xs:element name="version" type="xs:string"/> @@ -87,6 +90,7 @@ </xs:simpleType> </xs:attribute> <xs:attribute name="name" type="xs:string" use="required"/> + <xs:attribute name="extends" type="xs:string"/> </xs:complexType> </xs:element> <xs:element name="filelist"> @@ -150,6 +154,7 @@ <xs:attribute name="name" type="xs:string" use="required"/> <xs:attribute name="install-as" type="xs:string"/> <xs:attribute name="platform" type="xs:string"/> + <xs:attribute name="md5sum" type="xs:string"/> </xs:complexType> </xs:element> <xs:element name="libfile"> @@ -222,6 +227,30 @@ </xs:restriction> </xs:simpleType> </xs:attribute> + </xs:complexType> + </xs:element> + <xs:complexType name="changelogrelease"> + <xs:sequence> + <xs:element ref="version"/> + <xs:element ref="date"/> + <xs:element ref="license"/> + <xs:element ref="state"/> + <xs:element ref="notes"/> + </xs:sequence> + </xs:complexType> + <xs:element name="warnings" type="xs:string"/> + <xs:element name="configureoptions"> + <xs:complexType> + <xs:sequence> + <xs:element ref="configureoption" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="configureoption"> + <xs:complexType> + <xs:attribute name="name" type="xs:string" use="required"/> + <xs:attribute name="default" type="xs:string"/> + <xs:attribute name="prompt" type="xs:string" use="required"/> </xs:complexType> </xs:element> </xs:schema> -- PEAR CVS Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by