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