summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-03-16 18:03:14 +0100
committerMichał Górny <mgorny@gentoo.org>2016-03-16 18:14:00 +0100
commitb3d5fefa923a4e97fd1089545c32dd6cecacd9ba (patch)
tree07e292d753775c3a37ed712f3f028a9d97cc128f
parentmetadata: Test lang="" against ISO 639-1 language codes (diff)
downloadxml-schema-b3d5fefa923a4e97fd1089545c32dd6cecacd9ba.tar.gz
xml-schema-b3d5fefa923a4e97fd1089545c32dd6cecacd9ba.tar.bz2
xml-schema-b3d5fefa923a4e97fd1089545c32dd6cecacd9ba.zip
metadata: Remove type="" and <description/> from upstream <maintainer/>
-rw-r--r--metadata.xsd10
1 files changed, 1 insertions, 9 deletions
diff --git a/metadata.xsd b/metadata.xsd
index 0ce1c14..3a0f45d 100644
--- a/metadata.xsd
+++ b/metadata.xsd
@@ -61,12 +61,7 @@
<!-- the huge <upstream/> structure -->
<xs:complexType name='upstreamType'>
<xs:choice minOccurs='0' maxOccurs='unbounded'>
- <xs:element name='maintainer' type='upstreamMaintainerType'>
- <xs:unique name='upstreamMaintainerDescUniquityConstraint'>
- <xs:selector xpath='description'/>
- <xs:field xpath='@lang'/>
- </xs:unique>
- </xs:element>
+ <xs:element name='maintainer' type='upstreamMaintainerType'/>
<xs:element name='changelog' type='urlType'/>
<xs:element name='doc' type='upstreamDocType'/>
<xs:element name='bugs-to' type='urlType'/>
@@ -102,10 +97,7 @@
minOccurs='1'/>
<xs:element name='name' type='xs:token'
minOccurs='0'/>
- <xs:element name='description' type='xs:token'
- minOccurs='0'/>
</xs:all>
- <xs:attribute name='type' type='maintainerTypeAttrType'/>
<xs:attribute name='status' type='upstreamMaintainerStatusAttrType'
default='unknown'/>
</xs:complexType>