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

Claudio Bley cbley at av-test.de
Wed Jun 12 11:51:29 UTC 2013


Signed-off-by: Claudio Bley <cbley at av-test.de>
---
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




More information about the libvir-list mailing list