summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>