he_ipv6 XSD done, i believe.

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

View File

@ -33,14 +33,14 @@
</xs:element> </xs:element>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
<xs:unique name="uniq_alloc_prefix">
<xs:selector xpath="alloc"/>
<xs:field xpath="@prefix"/>
</xs:unique>
<xs:unique name="uniq_alloc_addr"> <xs:unique name="uniq_alloc_addr">
<xs:selector xpath="alloc"/> <xs:selector xpath=".//*"/>
<xs:field xpath="."/> <xs:field xpath="."/>
</xs:unique> </xs:unique>
<xs:unique name="uniq_alloc_prefix">
<xs:selector xpath=".//*"/>
<xs:field xpath="@prefix"/>
</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

@ -33,6 +33,13 @@
</xs:element> </xs:element>
</xs:all> </xs:all>
</xs:complexType> </xs:complexType>
<!--
I have tried and tried to do document-wide unique constraints of alloc addrs and client addrs etc., but to no avail.
I keep getting e.g.:
Element '{http://www.w3.org/2001/XMLSchema}selector', attribute 'xpath': The XPath expression
'//heIPv6:alloc' could not be compiled.
So it's not idiot-proof.
-->
</xs:element> </xs:element>


</xs:schema> </xs:schema>