summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'metadata.xsd')
-rw-r--r--metadata.xsd10
1 files changed, 9 insertions, 1 deletions
diff --git a/metadata.xsd b/metadata.xsd
index a153f5c..2e2d614 100644
--- a/metadata.xsd
+++ b/metadata.xsd
@@ -19,7 +19,7 @@
<xs:complexType name='catMetadataType'>
<xs:choice minOccurs='0' maxOccurs='unbounded'>
- <xs:element name='longdescription' type='longDescType'/>
+ <xs:element name='longdescription' type='catLongDescType'/>
</xs:choice>
</xs:complexType>
@@ -98,6 +98,14 @@
<xs:attribute name='restrict' type='restrictAttrType'/>
</xs:complexType>
+ <xs:complexType name='catLongDescType' mixed='true'>
+ <xs:choice minOccurs='0' maxOccurs='unbounded'>
+ <xs:element name='pkg' type='pkgType'/>
+ <xs:element name='cat' type='catType'/>
+ </xs:choice>
+ <xs:attribute name='lang' type='langAttrType' default='C'/>
+ </xs:complexType>
+
<!-- slots -->
<xs:complexType name='slotsType'>
<!-- TODO: any order? -->