Add <interleave> to allow the subproperties to be specified in any
order.
Signed-off-by: Jonathon Jongsma <jjongsma(a)redhat.com>
---
src/conf/schemas/domaincommon.rng | 34 ++++++++++++++++---------------
1 file changed, 18 insertions(+), 16 deletions(-)
diff --git a/src/conf/schemas/domaincommon.rng b/src/conf/schemas/domaincommon.rng
index e2246e6b63..da2fb0d5cb 100644
--- a/src/conf/schemas/domaincommon.rng
+++ b/src/conf/schemas/domaincommon.rng
@@ -1967,22 +1967,24 @@
</define>
<define name="diskSourceNetworkProtocolPropsCommon">
- <optional>
- <element name="readahead">
- <attribute name="size">
- <ref name="positiveInteger"/>
- </attribute>
- <empty/>
- </element>
- </optional>
- <optional>
- <element name="timeout">
- <attribute name="seconds">
- <ref name="positiveInteger"/>
- </attribute>
- <empty/>
- </element>
- </optional>
+ <interleave>
+ <optional>
+ <element name="readahead">
+ <attribute name="size">
+ <ref name="positiveInteger"/>
+ </attribute>
+ <empty/>
+ </element>
+ </optional>
+ <optional>
+ <element name="timeout">
+ <attribute name="seconds">
+ <ref name="positiveInteger"/>
+ </attribute>
+ <empty/>
+ </element>
+ </optional>
+ </interleave>
</define>
<define name="diskSourceNetworkProtocolSSLVerify">
--
2.35.3