diff options
author | 2016-03-02 22:49:12 +0100 | |
---|---|---|
committer | 2016-03-02 22:49:12 +0100 | |
commit | e5aa9abe4654ec80e09d3e297bba3342fbe11275 (patch) | |
tree | 718dd6ab5f29424dd08d4308031b4d0e5f269904 | |
parent | metadata.xml: Add uniquity constraints (diff) | |
download | xml-schema-e5aa9abe4654ec80e09d3e297bba3342fbe11275.tar.gz xml-schema-e5aa9abe4654ec80e09d3e297bba3342fbe11275.tar.bz2 xml-schema-e5aa9abe4654ec80e09d3e297bba3342fbe11275.zip |
metadata.xml: Fix flag uniquity constraint to use 'name' as well
-rw-r--r-- | metadata.xsd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/metadata.xsd b/metadata.xsd index 24e3631..e302211 100644 --- a/metadata.xsd +++ b/metadata.xsd @@ -45,6 +45,7 @@ <xs:element name='use' type='useType'> <xs:unique name='flagUniquityConstraint'> <xs:selector xpath='flag'/> + <xs:field xpath='@name'/> <xs:field xpath='@restrict'/> </xs:unique> </xs:element> |