more unique fixing

This commit is contained in:
brent s. 2020-05-11 16:27:27 -04:00
parent 75ff56c080
commit 9237b7041f
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
2 changed files with 8 additions and 8 deletions

View File

@ -30,13 +30,17 @@
</xs:extension> </xs:extension>
</xs:simpleContent> </xs:simpleContent>
</xs:complexType> </xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:unique name="uniq_alloc_prefix"> <xs:unique name="uniq_alloc_prefix">
<xs:selector xpath="alloc"/> <xs:selector xpath="alloc"/>
<xs:field xpath="@prefix"/> <xs:field xpath="@prefix"/>
</xs:unique> </xs:unique>
</xs:element> <xs:unique name="uniq_alloc_addr">
</xs:sequence> <xs:selector xpath="alloc"/>
</xs:complexType> <xs:field xpath="."/>
</xs:unique>
</xs:element> </xs:element>
<xs:element name="client" minOccurs="1" maxOccurs="1"> <xs:element name="client" minOccurs="1" maxOccurs="1">
<xs:complexType> <xs:complexType>

View File

@ -23,10 +23,6 @@
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="tunnel" minOccurs="1" maxOccurs="unbounded" type="e_he_ipv6_tunnel"> <xs:element name="tunnel" minOccurs="1" maxOccurs="unbounded" type="e_he_ipv6_tunnel">
<xs:unique name="uniq_alloc_addr">
<xs:selector xpath="heIPv6:tunnel/alloc"/>
<xs:field xpath="."/>
</xs:unique>
</xs:element> </xs:element>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>