blob: d790d744493ff36e43dde6afde2b9a054e83b217 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
Gentoo repositories.xml Relax NG schema 1.0
Modelling by
Robert Buchholz <rbu@gentoo.org>
Sebastian Pipping <sebastian@pipping.org>
Mounir Lamouri <volkmar@gentoo.org>
Tiziano Müller <dev-zero@gentoo.org>
Copyright 1999-2010 Gentoo Foundation
Distributed under the terms of the GNU General Public License v2 or later
-->
<grammar ns="" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<start>
<element name="repositories">
<attribute name="version">
<value>1.0</value>
</attribute>
<zeroOrMore>
<element name="repo">
<optional>
<attribute name="priority">
<data type="integer"/>
</attribute>
</optional>
<attribute name="quality">
<choice>
<value>core</value>
<value>stable</value>
<value>testing</value>
<value>experimental</value>
<value>graveyard</value>
</choice>
</attribute>
<attribute name="status">
<choice>
<value>official</value>
<value>unofficial</value>
</choice>
</attribute>
<element name="name">
<text/>
</element>
<oneOrMore>
<element name="description">
<optional>
<attribute name="lang">
<text/>
</attribute>
</optional>
<text/>
</element>
</oneOrMore>
<zeroOrMore>
<element name="longdescription">
<optional>
<attribute name="lang">
<text/>
</attribute>
</optional>
<text/>
</element>
</zeroOrMore>
<optional>
<element name="homepage">
<data type="anyURI"/>
</element>
</optional>
<element name="owner">
<optional>
<attribute name="type">
<choice>
<value>project</value>
<value>person</value>
</choice>
</attribute>
</optional>
<element name="email">
<data type="anyURI"/>
</element>
<optional>
<element name="name">
<text/>
</element>
</optional>
</element>
<oneOrMore>
<element name="source">
<attribute name="type">
<choice>
<value>bzr</value>
<value>cvs</value>
<value>darcs</value>
<value>git</value>
<value>mercurial</value>
<value>rsync</value>
<value>svn</value>
<value>tar</value>
</choice>
</attribute>
<data type="anyURI"/>
</element>
</oneOrMore>
<optional>
<element name="subpath">
<text/>
</element>
</optional>
<optional>
<element name="category">
<text/>
</element>
</optional>
<zeroOrMore>
<element name="feed">
<data type="anyURI"/>
</element>
</zeroOrMore>
</element>
</zeroOrMore>
</element>
</start>
</grammar>
|