enforcing name uniqueness
This commit is contained in:
parent
97ebe7fd93
commit
191883158b
@ -15,7 +15,7 @@
|
|||||||
<xs:complexContent>
|
<xs:complexContent>
|
||||||
<xs:extension base="t_gomodh_base">
|
<xs:extension base="t_gomodh_base">
|
||||||
<xs:all>
|
<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:all>
|
||||||
<xs:attribute name="vcsType" type="t_gomodh_vcs" use="required"/>
|
<xs:attribute name="vcsType" type="t_gomodh_vcs" use="required"/>
|
||||||
</xs:extension>
|
</xs:extension>
|
||||||
|
@ -17,6 +17,10 @@
|
|||||||
</xs:choice>
|
</xs:choice>
|
||||||
<xs:attribute name="baseURL" type="t_net_http_basic_uri" use="required"/>
|
<xs:attribute name="baseURL" type="t_net_http_basic_uri" use="required"/>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
|
<xs:key name="key_name">
|
||||||
|
<xs:selector xpath="./*"/>
|
||||||
|
<xs:field xpath="@name"/>
|
||||||
|
</xs:key>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
|
|
||||||
</xs:schema>
|
</xs:schema>
|
||||||
|
Loading…
Reference in New Issue
Block a user