enforcing name uniqueness

This commit is contained in:
brent s. 2020-09-05 11:23:40 -04:00
parent 97ebe7fd93
commit 191883158b
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
2 changed files with 5 additions and 1 deletions

View File

@ -15,7 +15,7 @@
<xs:complexContent>
<xs:extension base="t_gomodh_base">
<xs:all>
<xs:element name="realUrl" type="t_gomodh_vcs_uri"/>
<xs:element name="realUrl" type="t_gomodh_vcs_uri" minOccurs="1"/>
</xs:all>
<xs:attribute name="vcsType" type="t_gomodh_vcs" use="required"/>
</xs:extension>

View File

@ -17,6 +17,10 @@
</xs:choice>
<xs:attribute name="baseURL" type="t_net_http_basic_uri" use="required"/>
</xs:complexType>
<xs:key name="key_name">
<xs:selector xpath="./*"/>
<xs:field xpath="@name"/>
</xs:key>
</xs:element>

</xs:schema>