summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-03-16 18:12:47 +0100
committerMichał Górny <mgorny@gentoo.org>2016-03-16 18:14:00 +0100
commit97f117d91092e09bd3965be32a5287bccf80ed44 (patch)
tree19b706fd32eb8af851936828c64438e77c26c645
parentmetadata: Allow <slot name='*'/> (diff)
downloadxml-schema-97f117d91092e09bd3965be32a5287bccf80ed44.tar.gz
xml-schema-97f117d91092e09bd3965be32a5287bccf80ed44.tar.bz2
xml-schema-97f117d91092e09bd3965be32a5287bccf80ed44.zip
metadata: Allow multiple <doc/> elements with the same language
-rw-r--r--metadata.xsd7
1 files changed, 1 insertions, 6 deletions
diff --git a/metadata.xsd b/metadata.xsd
index 5a14db0..962cda1 100644
--- a/metadata.xsd
+++ b/metadata.xsd
@@ -36,12 +36,7 @@
</xs:element>
<xs:element name='natural-name' type='xs:token'/>
<xs:element name='slots' type='slotsType'/>
- <xs:element name='upstream' type='upstreamType'>
- <xs:unique name='upstreamDocUniquityConstraint'>
- <xs:selector xpath='doc'/>
- <xs:field xpath='@lang'/>
- </xs:unique>
- </xs:element>
+ <xs:element name='upstream' type='upstreamType'/>
<xs:element name='use' type='useType'>
<xs:unique name='flagUniquityConstraint'>
<xs:selector xpath='flag'/>