xref: /web-php/pear/package.dtd (revision e235f794)
1<!--
2     $Id: package.dtd,v 1.1 2001-04-17 01:17:09 ssb Exp $
3
4     This is the PEAR package description, version 1.0.
5     It should be used with the informal public identifier:
6
7         "-//PHP Group//DTD PEAR Package 1.0//EN//XML"
8
9     Copyright (c) 1997-2001 The PHP Group
10
11     This source file is subject to version 2.02 of the PHP license,
12     that is bundled with this package in the file LICENSE, and is
13     available at through the world-wide-web at
14     http://www.php.net/license/2_02.txt.
15     If you did not receive a copy of the PHP license and are unable to
16     obtain it through the world-wide-web, please send a note to
17     license@php.net so we can mail you a copy immediately.
18
19     Authors:
20         Stig S. Bakken <ssb@fast.no>
21
22  -->
23<!--============== attributes present in all elements ======================-->
24<!ENTITY % global.atts "id		ID	#IMPLIED">
25<!--============== attributes common to several elements ===================-->
26<!ENTITY % role.atts "Role		(php|ext|test|doc) 'php'">
27<!ENTITY % extension.atts "Debug	(on|off) 'off'
28			   ThreadSafe	(on|off) 'off'">
29<!ENTITY % format.atts "Format		CDATA	#IMPLIED">
30<!--=============== ELEMENT: Package =======================================-->
31<!ELEMENT Package (Name, Summary, Maintainer, Release, FileList)>
32<!ATTLIST Package
33	%global.atts;
34	Type (Source | Binary | Empty) "Empty"
35>
36<!--=============== ELEMENT: Name ==========================================-->
37<!ELEMENT Name (#PCDATA)>
38<!ATTLIST Name
39	%global.atts;
40>
41<!--=============== ELEMENT: Summary =======================================-->
42<!ELEMENT Summary (#PCDATA)>
43<!ATTLIST Summary
44	%global.atts;
45>
46<!--=============== ELEMENT: Maintainer ====================================-->
47<!ELEMENT Maintainer (Initials, Name, Email)>
48<!ATTLIST Maintainer
49	%global.atts;
50>
51<!--=============== ELEMENT: Initials ======================================-->
52<!ELEMENT Initials (#PCDATA)>
53<!ATTLIST Initials
54	%global.atts;
55>
56<!--=============== ELEMENT: Email =========================================-->
57<!ELEMENT Email (#PCDATA)>
58<!ATTLIST Email
59	%global.atts;
60>
61<!--=============== ELEMENT: Release =======================================-->
62<!ELEMENT Release (Version, Date, Notes?)>
63<!ATTLIST Release
64	%global.atts;
65>
66<!--=============== ELEMENT: Version =======================================-->
67<!ELEMENT Version (#PCDATA)>
68<!ATTLIST Version
69	%global.atts;
70>
71<!--=============== ELEMENT: Date =========================================-->
72<!ELEMENT Date (#PCDATA)>
73<!ATTLIST Date
74	%global.atts;
75>
76<!--=============== ELEMENT: Notes =========================================-->
77<!ELEMENT Notes (#PCDATA)>
78<!ATTLIST Notes
79	%global.atts;
80>
81<!--=============== ELEMENT: FileList ======================================-->
82<!ELEMENT FileList (Dir | File)*>
83<!ATTLIST FileList
84	%global.atts;
85>
86<!--=============== ELEMENT: Dir ===========================================-->
87<!ELEMENT Dir (#PCDATA)>
88<!ATTLIST Dir
89	%global.atts;
90>
91<!--=============== ELEMENT: File ==========================================-->
92<!ELEMENT File (#PCDATA)>
93<!ATTLIST File
94	%global.atts;
95	%role.atts;
96	%extension.atts;
97	%format.atts;
98>
99