mirrorlist should be first since it's parsed first anyways.

This commit is contained in:
brent s. 2020-01-02 16:08:05 -05:00
parent 964c670da5
commit 4a4f5871b1
2 changed files with 12 additions and 9 deletions

2
_notes/TODO Normal file
View File

@ -0,0 +1,2 @@
- projects/aif.xsd
-- ensure all items (except first-level?) are non-position sensitive?

View File

@ -212,6 +212,14 @@
<xs:element name="pacman" maxOccurs="1" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="mirrorList" maxOccurs="1" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="mirror" type="t_aif_pacuri" maxOccurs="unbounded"
minOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="repos" maxOccurs="1" minOccurs="1">
<xs:complexType>
<xs:sequence>
@ -224,7 +232,8 @@
type="t_aif_pacuri"/>
</xs:choice>
<xs:attribute name="name" type="t_std_nonempty" use="required"/>
<xs:attribute name="enabled" type="xs:boolean" use="optional" default="true"/>
<xs:attribute name="enabled" type="xs:boolean" use="optional"
default="true"/>
<xs:attribute name="sigLevel" type="t_std_nonempty" use="optional"/>
</xs:complexType>
</xs:element>
@ -235,14 +244,6 @@
<xs:field xpath="@name"/>
</xs:unique>
</xs:element>
<xs:element name="mirrorList" maxOccurs="1" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="mirror" type="t_aif_pacuri" maxOccurs="unbounded"
minOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="software" maxOccurs="1" minOccurs="0">
<xs:complexType>
<xs:sequence>