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

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



Signed-off-by: Claudio Bley <cbley 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


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