diff options
author | Repository QA checks <repo-qa-checks@gentoo.org> | 2016-05-07 16:22:55 +0000 |
---|---|---|
committer | Repository QA checks <repo-qa-checks@gentoo.org> | 2016-05-07 16:22:55 +0000 |
commit | b514b4c518b972513b5eb4017b3c1c9b7f550766 (patch) | |
tree | 94d25e206fed23e53c3deb2eb63f58b8621133f1 /metadata | |
parent | 2016-05-07 16:04:06 UTC (diff) | |
parent | metadata: Correctly require downstream maintainer <email/> (diff) | |
download | gentoo-b514b4c518b972513b5eb4017b3c1c9b7f550766.tar.gz gentoo-b514b4c518b972513b5eb4017b3c1c9b7f550766.tar.bz2 gentoo-b514b4c518b972513b5eb4017b3c1c9b7f550766.zip |
Merge commit 'ea67cd7621339baf5336b57a245a03ea66c3c43c'
Diffstat (limited to 'metadata')
-rw-r--r-- | metadata/xml-schema/metadata.xsd | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/metadata/xml-schema/metadata.xsd b/metadata/xml-schema/metadata.xsd index 27039cd9b32c..111e1ecfe323 100644 --- a/metadata/xml-schema/metadata.xsd +++ b/metadata/xml-schema/metadata.xsd @@ -11,11 +11,11 @@ <xs:field xpath='@lang'/> <xs:field xpath='@restrict'/> </xs:unique> - <xs:unique name='maintainerUniquityConstraint'> + <xs:key name='maintainerKeyConstraint'> <xs:selector xpath='maintainer'/> <xs:field xpath='email'/> <xs:field xpath='@restrict'/> - </xs:unique> + </xs:key> <xs:unique name='slotsUniquityConstraint'> <xs:selector xpath='slots'/> <xs:field xpath='@lang'/> @@ -123,7 +123,8 @@ </xs:choice> <xs:attribute name='type' type='maintainerTypeAttrType' use='required'/> - <xs:attribute name='restrict' type='restrictAttrType'/> + <xs:attribute name='restrict' type='restrictAttrType' + default=''/> </xs:complexType> <xs:simpleType name='maintainerTypeAttrType'> |