cvs: pearweb /public_html/dtd package-1.0 package-1.0.xsd
| From: | Greg Beaver | Date: | Fri, 10 Sep 2004 19:45:23 +0000 |
| Subject: | cvs: pearweb /public_html/dtd package-1.0 package-1.0.xsd | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-23798@lists.php.net to get a copy of this message | ||
cellog Fri Sep 10 15:45:23 2004 EDT
Modified files:
/pearweb/public_html/dtd package-1.0 package-1.0.xsd
Log:
add optional extends attribute to package.xml version 1.0
nice benefit: this doesn't affect BC at all, and old
package.xml still validates
http://cvs.php.net/diff.php/pearweb/public_html/dtd/package-1.0?r1=1.4&r2=1.5&ty=u
Index: pearweb/public_html/dtd/package-1.0
diff -u pearweb/public_html/dtd/package-1.0:1.4 pearweb/public_html/dtd/package-1.0:1.5
--- pearweb/public_html/dtd/package-1.0:1.4 Fri Aug 27 20:51:18 2004
+++ pearweb/public_html/dtd/package-1.0 Fri Sep 10 15:45:23 2004
@@ -1,5 +1,5 @@
<!--
- $Id: package-1.0,v 1.4 2004/08/28 00:51:18 cellog Exp $
+ $Id: package-1.0,v 1.5 2004/09/10 19:45:23 cellog Exp $
This is the PEAR package description, version 1.0.
It should be used with the informal public identifier:
@@ -11,7 +11,7 @@
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/3_00.txt.
+ http://www.php.net/license/3_0.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.
@@ -27,6 +27,8 @@
version CDATA #REQUIRED>
<!ELEMENT name (#PCDATA)>
+<!ATTLIST name extends CDATA
+ extendschannel CDATA>
<!ELEMENT summary (#PCDATA)>
http://cvs.php.net/diff.php/pearweb/public_html/dtd/package-1.0.xsd?r1=1.5&r2=1.6&ty=u
Index: pearweb/public_html/dtd/package-1.0.xsd
diff -u pearweb/public_html/dtd/package-1.0.xsd:1.5 pearweb/public_html/dtd/package-1.0.xsd:1.6
--- pearweb/public_html/dtd/package-1.0.xsd:1.5 Tue Aug 31 17:25:45 2004
+++ pearweb/public_html/dtd/package-1.0.xsd Fri Sep 10 15:45:23 2004
@@ -24,7 +24,15 @@
<xs:attribute name="version" type="xs:string"
use="required"/>
</xs:complexType>
</xs:element>
- <xs:element name="name" type="xs:string"/>
+ <xs:element name="name">
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="extends" type="xs:string"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
<xs:element name="summary" type="xs:string"/>
<xs:element name="description" type="xs:string"/>
<xs:element name="license" type="xs:string"/>