diff options
author | 2016-03-18 23:22:03 +0100 | |
---|---|---|
committer | 2016-03-18 23:22:03 +0100 | |
commit | 346885e357d915d2026576f8dbe3d9d6e5cd4c90 (patch) | |
tree | e48f319ba9065fe7f851ea8621044e4c948450d8 | |
parent | metadata: Remove <natural-name/> (diff) | |
download | xml-schema-346885e357d915d2026576f8dbe3d9d6e5cd4c90.tar.gz xml-schema-346885e357d915d2026576f8dbe3d9d6e5cd4c90.tar.bz2 xml-schema-346885e357d915d2026576f8dbe3d9d6e5cd4c90.zip |
repositories: Add uniquity constraints for repo descriptions
-rw-r--r-- | repositories.xsd | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/repositories.xsd b/repositories.xsd index 12fbc40..87de3c5 100644 --- a/repositories.xsd +++ b/repositories.xsd @@ -12,6 +12,14 @@ <xs:selector xpath='repo'/> <xs:field xpath='name'/> </xs:key> + <xs:unique name='descUniquityConstraint'> + <xs:selector xpath='description'/> + <xs:field xpath='@lang'/> + </xs:unique> + <xs:unique name='longDescUniquityConstraint'> + <xs:selector xpath='longdescription'/> + <xs:field xpath='@lang'/> + </xs:unique> </xs:element> <xs:complexType name='repoType'> |