diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-03-18 10:18:23 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-03-18 10:18:23 +0100 |
commit | 2b341f9f88dc85f66633355f31eb40ea2e08b7bf (patch) | |
tree | f87ea26590c26ad160a0bbc2b3d8ca86b0b02b21 | |
parent | metadata: Prevent (accidental?) duplicate maintainer entries (diff) | |
download | xml-schema-2b341f9f88dc85f66633355f31eb40ea2e08b7bf.tar.gz xml-schema-2b341f9f88dc85f66633355f31eb40ea2e08b7bf.tar.bz2 xml-schema-2b341f9f88dc85f66633355f31eb40ea2e08b7bf.zip |
metadata: Add a note on restrict="" uniquity problems
-rw-r--r-- | metadata.xsd | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/metadata.xsd b/metadata.xsd index 4620716..6fad88d 100644 --- a/metadata.xsd +++ b/metadata.xsd @@ -3,6 +3,9 @@ <xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'> <!-- top-level variants --> <xs:element name='pkgmetadata' type='pkgMetadataType'> + <!-- note: restrict uniquity rules are simplified + the spec says: one for each matched package + we can only do: one for each restrict rule --> <xs:unique name='longDescUniquityConstraint'> <xs:selector xpath='longdescription'/> <xs:field xpath='@lang'/> |