From 7ed9f4ac5f3181d6e8c682d67e7a452f7486b7db Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 18 Mar 2016 11:10:17 +0100 Subject: metadata: Default restrict to implicit '' and allow it Use an implicit default of restrict="" to allow uniquity constraints to work correctly when no restrict="" is defined. --- metadata.xsd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/metadata.xsd b/metadata.xsd index 65591ca..3959eee 100644 --- a/metadata.xsd +++ b/metadata.xsd @@ -200,7 +200,8 @@ - + @@ -490,7 +491,7 @@ + value="(([<>]=?|[=~])[A-Za-z0-9_][A-Za-z0-9+_.-]*/[A-Za-z0-9_][A-Za-z0-9+_-]*-[0-9]+(\.[0-9]+)*[a-z]?((_alpha|_beta|_pre|_rc|_p)[0-9]*)*(-r[0-9]+)?\*?)?"/> -- cgit v1.2.3-65-gdbad