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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux