[libvirt] [PATCH] docs: schema: Add missing <interleave> element to input device

Ján Tomko jtomko at redhat.com
Thu Jun 14 08:36:21 UTC 2018


On Thu, Jun 14, 2018 at 03:50:33PM +0800, Lily Zhu wrote:
>Input device has 2 optional sub-elements - <alias> and <address> the
>order of which should be interchangeable in the XML.

If we're at it, the order of all the elements should be interchangeable,
even <source> and <driver>

>
>Signed-off-by: Lily Zhu <lizhu at redhat.com>
>---
> docs/schemas/domaincommon.rng | 2 ++
> 1 file changed, 2 insertions(+)
>
>diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
>index 1d06a5e..999b863 100644
>--- a/docs/schemas/domaincommon.rng
>+++ b/docs/schemas/domaincommon.rng
>@@ -4309,12 +4309,14 @@
>           </element>
>         </group>
>       </choice>
>+      <interleave>

This one should be moved right after:
<element name="input">

>       <optional>
>         <ref name="alias"/>
>       </optional>
>       <optional>
>         <ref name="address"/>
>       </optional>

And everything inbetween the newly added <interleave> needs to be
reindented.

Jano

>+      </interleave>
>     </element>
>   </define>
>   <define name="hub">
>-- 
>1.8.3.1
>
>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180614/efca9380/attachment-0001.sig>


More information about the libvir-list mailing list