summaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
Diffstat (limited to 'schema')
-rw-r--r--schema/repositories.dtd7
-rw-r--r--schema/repositories.rng10
2 files changed, 16 insertions, 1 deletions
diff --git a/schema/repositories.dtd b/schema/repositories.dtd
index e5d5d23..11a124e 100644
--- a/schema/repositories.dtd
+++ b/schema/repositories.dtd
@@ -13,7 +13,7 @@
xmlns CDATA #FIXED ''
version CDATA #FIXED '1.0'>
-<!ELEMENT repo (description,(homepage)?,owner,(source)+,(feed)*)>
+<!ELEMENT repo (description,(longdescription)*,(homepage)?,owner,(source)+,(feed)*)>
<!ATTLIST repo
xmlns CDATA #FIXED ''
name CDATA #REQUIRED
@@ -25,6 +25,11 @@
<!ATTLIST description
xmlns CDATA #FIXED ''>
+<!ELEMENT longdescription (#PCDATA)>
+<!ATTLIST longdescription
+ xmlns CDATA #FIXED ''
+ lang CDATA #IMPLIED>
+
<!ELEMENT homepage (#PCDATA)>
<!ATTLIST homepage
xmlns CDATA #FIXED ''>
diff --git a/schema/repositories.rng b/schema/repositories.rng
index 111d9a2..5f7efb9 100644
--- a/schema/repositories.rng
+++ b/schema/repositories.rng
@@ -47,6 +47,16 @@
<element name="description">
<text/>
</element>
+ <zeroOrMore>
+ <element name="longdescription">
+ <optional>
+ <attribute name="lang">
+ <text/>
+ </attribute>
+ </optional>
+ <text/>
+ </element>
+ </zeroOrMore>
<optional>
<element name="homepage">
<data type="anyURI"/>