okay, i think i actually need *imports*

This commit is contained in:
brent s. 2019-12-08 03:27:20 -05:00
parent 124d790b45
commit 3175333fbd
6 changed files with 20 additions and 11 deletions

View File

@ -1,15 +1,16 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema targetNamespace="http://schema.xml.r00t2.io/aif.xsd"
xmlns="http://schema.xml.r00t2.io/aif.xsd"
xmlns:aif="http://schema.xml.r00t2.io/aif.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="qualified">

<xs:include schemaLocation="http://schema.xml.r00t2.io/linux.xsd"/>
<xs:include schemaLocation="http://schema.xml.r00t2.io/net.xsd"/>
<xs:include schemaLocation="http://schema.xml.r00t2.io/std.xsd"/>
<xs:include schemaLocation="http://schema.xml.r00t2.io/sys.xsd"/>
<xs:include schemaLocation="http://schema.xml.r00t2.io/unix.xsd"/>
<xs:import schemaLocation="http://schema.xml.r00t2.io/linux.xsd"/>
<xs:import schemaLocation="http://schema.xml.r00t2.io/net.xsd"/>
<xs:import schemaLocation="http://schema.xml.r00t2.io/std.xsd"/>
<xs:import schemaLocation="http://schema.xml.r00t2.io/sys.xsd"/>
<xs:import schemaLocation="http://schema.xml.r00t2.io/unix.xsd"/>

<xs:simpleType name="t_auto_ip6">
<xs:union memberTypes="net:t_auto_ip6">

View File

@ -1,13 +1,15 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema targetNamespace="http://schema.xml.r00t2.io/linux.xsd"
xmlns="http://schema.xml.r00t2.io/linux.xsd"
xmlns:linux="http://schema.xml.r00t2.io/linux.xsd"
xmlns:std="http://schema.xml.r00t2.io/std.xsd"
xmlns:sys="http://schema.xml.r00t2.io/sys.xsd"
xmlns:unix="http://schema.xml.r00t2.io/unix.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="qualified">

<xs:import schemaLocation="http://schema.xml.r00t2.io/std.xsd"/>
<xs:import schemaLocation="http://schema.xml.r00t2.io/sys.xsd"/>
<xs:import schemaLocation="http://schema.xml.r00t2.io/unix.xsd"/>

<xs:simpleType name="t_console_pageformats">
<xs:restriction base="xs:positiveInteger">
<xs:enumeration value="8"/>

View File

@ -1,11 +1,13 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema targetNamespace="http://schema.xml.r00t2.io/net.xsd"
xmlns="http://schema.xml.r00t2.io/net.xsd"
xmlns:net="http://schema.xml.r00t2.io/net.xsd"
xmlns:std="http://schema.xml.r00t2.io/std.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="qualified">

<xs:import schemaLocation="http://schema.xml.r00t2.io/std.xsd"/>

<xs:simpleType name="t_addr_ip4">
<xs:restriction base="xs:string">
<!-- This is a REALLY LAZY regex. Matching IPv4 in regex is ugly as heck, so we do that in-code.

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema targetNamespace="http://schema.xml.r00t2.io/std.xsd"
xmlns="http://schema.xml.r00t2.io/std.xsd"
xmlns:std="http://schema.xml.r00t2.io/std.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema targetNamespace="http://schema.xml.r00t2.io/sys.xsd"
xmlns="http://schema.xml.r00t2.io/sys.xsd"
xmlns:sys="http://schema.xml.r00t2.io/sys.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"

View File

@ -1,10 +1,13 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema targetNamespace="http://schema.xml.r00t2.io/unix.xsd"
xmlns="http://schema.xml.r00t2.io/unix.xsd"
xmlns:unix="http://schema.xml.r00t2.io/unix.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="qualified">

<xs:import schemaLocation="http://schema.xml.r00t2.io/linux.xsd"/>

<xs:simpleType name="t_filepath">
<xs:restriction base="xs:string">
<xs:pattern value="(/[^/]+)+/?"/>
@ -37,8 +40,7 @@

<xs:complexType name="t_user">
<xs:sequence>
<xs:element name="password" minOccurs="0" maxOccurs="1"
type="aif:t_nixpass"/>
<xs:element name="password" minOccurs="0" maxOccurs="1" type="linux:t_nixpass"/>
<xs:element name="xGroup" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="name" type="unix:t_posixUserGroup"