[PATCH] schema: simplify RNG pattern, remove superfluous <optional>

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

 



Signed-off-by: Claudio Bley <cbley@xxxxxxxxxx>
---
Just a minor nit which lets Emacs' nxml-mode fail when parsing
the corresponding RNC schema.

 docs/schemas/domaincommon.rng |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 3cace35..1eb2f68 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -243,11 +243,9 @@
         <optional>
           <ref name="osbootkernel"/>
         </optional>
-        <optional>
-          <zeroOrMore>
-            <ref name="osbootdev"/>
-          </zeroOrMore>
-        </optional>
+        <zeroOrMore>
+          <ref name="osbootdev"/>
+        </zeroOrMore>
         <optional>
           <element name="bootmenu">
             <attribute name="enable">
-- 
1.7.9.5

--
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]