On Wed, 12 Oct 2016 09:44:41 -0700
"Robin H. Johnson" <robb...@gentoo.org> wrote:

> Signed-off-by: Robin H. Johnson <robb...@gentoo.org>
> ---
>  metadata.xsd | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/metadata.xsd b/metadata.xsd
> index cad8304..20423f8 100644
> --- a/metadata.xsd
> +++ b/metadata.xsd
> @@ -83,6 +83,10 @@
>                                       <xs:selector xpath='doc'/>
>                                       <xs:field xpath='@lang'/>
>                               </xs:unique>
> +                             <xs:unique name='upstreamVCSUniquityConstraint'>
> +                                     <xs:selector xpath='vcs'/>
> +                                     <xs:field xpath='@fake-only-once'/>
> +                             </xs:unique>

Is there a reason to disallow more than one occurrence of <vcs/>?

>                       </xs:element>
>                       <xs:element name='use' type='useType'>
>                               <xs:unique name='flagUniquityConstraint'>

You are missing actually adding the element... You just added
a constraint on a non-existing element.

-- 
Best regards,
Michał Górny
<http://dev.gentoo.org/~mgorny/>

Attachment: pgpB6qP6RPBH9.pgp
Description: OpenPGP digital signature

Reply via email to