summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2009-09-28 21:30:06 +0200
committerSebastian Pipping <sebastian@pipping.org>2009-09-28 21:30:06 +0200
commit459b0fa60de27425da35e79234a84828478dedad (patch)
tree8b7bc17bb0e6c538c8dc46d81ded6f6c4e8db245
parentConvert tabs to 4 spaces (write-repositories-xml.py only) (diff)
downloadrepositories-xml-format-459b0fa60de27425da35e79234a84828478dedad.tar.gz
repositories-xml-format-459b0fa60de27425da35e79234a84828478dedad.tar.bz2
repositories-xml-format-459b0fa60de27425da35e79234a84828478dedad.zip
Add missing attribute "priority"
-rw-r--r--schema/layman-global.dtd1
-rw-r--r--schema/layman-global.rng5
-rw-r--r--schema/repositories.dtd1
-rw-r--r--schema/repositories.rng5
4 files changed, 12 insertions, 0 deletions
diff --git a/schema/layman-global.dtd b/schema/layman-global.dtd
index a8d2309..223e54e 100644
--- a/schema/layman-global.dtd
+++ b/schema/layman-global.dtd
@@ -13,6 +13,7 @@
xmlns CDATA #FIXED ''
contact CDATA #REQUIRED
name CDATA #REQUIRED
+ priority CDATA #IMPLIED
src CDATA #REQUIRED
status (official|unofficial) #IMPLIED
type (bzr|darcs|git|mercurial|rsync|svn|tar) #REQUIRED>
diff --git a/schema/layman-global.rng b/schema/layman-global.rng
index 131eb59..0b571a2 100644
--- a/schema/layman-global.rng
+++ b/schema/layman-global.rng
@@ -17,6 +17,11 @@
<attribute name="name">
<text/>
</attribute>
+ <optional>
+ <attribute name="priority">
+ <data type="integer"/>
+ </attribute>
+ </optional>
<attribute name="src">
<data type="anyURI"/>
</attribute>
diff --git a/schema/repositories.dtd b/schema/repositories.dtd
index d98fad4..e5d5d23 100644
--- a/schema/repositories.dtd
+++ b/schema/repositories.dtd
@@ -17,6 +17,7 @@
<!ATTLIST repo
xmlns CDATA #FIXED ''
name CDATA #REQUIRED
+ priority CDATA #IMPLIED
quality (core|stable|testing|experimental|graveyard) #IMPLIED
status (official|unofficial) #IMPLIED>
diff --git a/schema/repositories.rng b/schema/repositories.rng
index a48cd29..111d9a2 100644
--- a/schema/repositories.rng
+++ b/schema/repositories.rng
@@ -21,6 +21,11 @@
<text/>
</attribute>
<optional>
+ <attribute name="priority">
+ <data type="integer"/>
+ </attribute>
+ </optional>
+ <optional>
<attribute name="quality">
<choice>
<value>core</value>