提交 ff5c5a9b 编写于 作者: M Michal Privoznik

rng: Fix formatting

Some elements are offset just one space compared to their parent,
some are misaligned completely, and so on.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 40df36eb
......@@ -57,21 +57,21 @@
<define name='secmodel'>
<element name='secmodel'>
<interleave>
<element name='model'>
<text/>
</element>
<element name='doi'>
<element name='model'>
<text/>
</element>
<element name='doi'>
<text/>
</element>
<zeroOrMore>
<element name='baselabel'>
<attribute name='type'>
<text/>
</attribute>
<text/>
</element>
<zeroOrMore>
<element name='baselabel'>
<attribute name='type'>
<text/>
</attribute>
<text/>
</element>
</zeroOrMore>
</interleave>
</zeroOrMore>
</interleave>
</element>
</define>
......
......@@ -532,7 +532,7 @@
<attribute name="count">
<ref name="unsignedInt"/>
</attribute>
<empty/>
<empty/>
</element>
</zeroOrMore>
</interleave>
......@@ -1866,7 +1866,7 @@
<attribute name='copy_on_read'>
<ref name="virOnOff"/>
</attribute>
</define>
</define>
<define name="discard">
<attribute name='discard'>
<choice>
......@@ -2362,21 +2362,21 @@
<value>vhostuser</value>
</attribute>
<interleave>
<element name="source">
<attribute name="type">
<value>unix</value>
</attribute>
<attribute name="path">
<ref name="absFilePath"/>
</attribute>
<attribute name="mode">
<choice>
<value>server</value>
<value>client</value>
</choice>
</attribute>
<empty/>
</element>
<element name="source">
<attribute name="type">
<value>unix</value>
</attribute>
<attribute name="path">
<ref name="absFilePath"/>
</attribute>
<attribute name="mode">
<choice>
<value>server</value>
<value>client</value>
</choice>
</attribute>
<empty/>
</element>
<ref name="interface-options"/>
</interleave>
</group>
......@@ -2660,14 +2660,14 @@
<optional>
<element name="backend">
<optional>
<attribute name='tap'>
<ref name='absFilePath'/>
</attribute>
<attribute name='tap'>
<ref name='absFilePath'/>
</attribute>
</optional>
<optional>
<attribute name='vhost'>
<ref name='absFilePath'/>
</attribute>
<attribute name='vhost'>
<ref name='absFilePath'/>
</attribute>
</optional>
</element>
</optional>
......@@ -3981,14 +3981,14 @@
<define name="tpm-backend">
<element name="backend">
<choice>
<group>
<attribute name="type">
<value>passthrough</value>
</attribute>
<ref name="tpm-passthrough-device"/>
</group>
</choice>
<choice>
<group>
<attribute name="type">
<value>passthrough</value>
</attribute>
<ref name="tpm-passthrough-device"/>
</group>
</choice>
</element>
</define>
......@@ -4001,7 +4001,7 @@
</attribute>
</optional>
</element>
</optional>
</optional>
</define>
<define name="iommu">
......@@ -4254,7 +4254,7 @@
<value>scsi</value>
</attribute>
<optional>
<ref name="sgIO"/>
<ref name="sgIO"/>
</optional>
<optional>
<ref name="rawIO"/>
......
......@@ -324,7 +324,7 @@
<ref name="bandwidth"/>
</optional>
<optional>
<ref name="vlan"/>
<ref name="vlan"/>
</optional>
<!-- <ip> element -->
......
......@@ -228,7 +228,7 @@
</element>
</oneOrMore>
</element>
</optional>
</optional>
<optional>
<element name='iommuGroup'>
......@@ -531,7 +531,7 @@
<optional>
<element name='model'>
<text/>
</element>
</element>
</optional>
<optional>
<element name='vendor'>
......
......@@ -18,7 +18,7 @@
<ref name="filterref-node-attributes"/>
</element>
<element name="rule">
<ref name="rule-node-attributes"/>
<ref name="rule-node-attributes"/>
<optional>
<zeroOrMore>
<element name="mac">
......@@ -360,7 +360,7 @@
<ref name='action-type'/>
</attribute>
<attribute name="direction">
<ref name='direction-type'/>
<ref name='direction-type'/>
</attribute>
<optional>
<attribute name="priority">
......@@ -377,9 +377,9 @@
<define name="match-attribute">
<interleave>
<optional>
<attribute name="match">
<ref name="virYesNo"/>
</attribute>
<attribute name="match">
<ref name="virYesNo"/>
</attribute>
</optional>
</interleave>
</define>
......@@ -387,9 +387,9 @@
<define name="srcmac-attribute">
<interleave>
<optional>
<attribute name="srcmacaddr">
<ref name="addrMAC"/>
</attribute>
<attribute name="srcmacaddr">
<ref name="addrMAC"/>
</attribute>
</optional>
</interleave>
</define>
......@@ -398,9 +398,9 @@
<interleave>
<ref name="srcmac-attribute"/>
<optional>
<attribute name="srcmacmask">
<ref name="addrMAC"/>
</attribute>
<attribute name="srcmacmask">
<ref name="addrMAC"/>
</attribute>
</optional>
</interleave>
</define>
......@@ -409,14 +409,14 @@
<interleave>
<ref name="srcmacandmask-attributes"/>
<optional>
<attribute name="dstmacaddr">
<ref name="addrMAC"/>
</attribute>
<attribute name="dstmacaddr">
<ref name="addrMAC"/>
</attribute>
</optional>
<optional>
<attribute name="dstmacmask">
<ref name="addrMAC"/>
</attribute>
<attribute name="dstmacmask">
<ref name="addrMAC"/>
</attribute>
</optional>
</interleave>
</define>
......@@ -794,13 +794,13 @@
<ref name="boolean"/>
</attribute>
</optional>
</interleave>
</interleave>
</define>
<define name="ip-attributes">
<optional>
<attribute name="protocol">
<ref name="ipProtocolType"/>
<ref name="ipProtocolType"/>
</attribute>
</optional>
</define>
......@@ -854,7 +854,7 @@
<data type="string">
<param name="pattern">([0-2]?[0-9]?[0-9]\.){3}[0-2]?[0-9]?[0-9]</param>
</data>
</choice>
</choice>
</define>
<define name="addrIPv6">
......@@ -864,7 +864,7 @@
<data type="string">
<param name="pattern">([a-fA-F0-9]{0,4}:){2,7}([a-fA-F0-9]*)(([0-2]?[0-9]?[0-9]\.){3}[0-2]?[0-9]?[0-9])?</param>
</data>
</choice>
</choice>
</define>
<define name="addrMask">
......@@ -879,7 +879,7 @@
<data type="string">
<param name="pattern">([0-2]?[0-9]?[0-9]\.){3}[0-2]?[0-9]?[0-9]</param>
</data>
</choice>
</choice>
</define>
<define name="addrMaskv6">
......@@ -894,7 +894,7 @@
<data type="string">
<param name="pattern">([a-fA-F0-9]{0,4}:){2,7}([a-fA-F0-9]*)</param>
</data>
</choice>
</choice>
</define>
<define name="sixbitrange">
......@@ -1062,10 +1062,10 @@
</define>
<define name='priority-type'>
<data type="int">
<param name="minInclusive">-1000</param>
<param name="maxInclusive">1000</param>
</data>
<data type="int">
<param name="minInclusive">-1000</param>
<param name="maxInclusive">1000</param>
</data>
</define>
<define name='statematch-type'>
<data type="string">
......
......@@ -521,7 +521,7 @@
<ref name='sourceinfodir'/>
<ref name='sourcefmtnetfs'/>
<optional>
<ref name='sourceinfovendor'/>
<ref name='sourceinfovendor'/>
</optional>
</interleave>
</group>
......@@ -538,7 +538,7 @@
</attribute>
</element>
<optional>
<ref name='sourceinfovendor'/>
<ref name='sourceinfovendor'/>
</optional>
</interleave>
</group>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册