Blob Blame History Raw
From e8d324a69071760b0f4fe47689c978bf08a5b669 Mon Sep 17 00:00:00 2001
From: Ken Gaillot <kgaillot@redhat.com>
Date: Fri, 5 Aug 2016 09:41:23 -0500
Subject: [PATCH] Low: tools: make crm_mon XML schema handle resources with
 multiple active

---
 xml/crm_mon.rng | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/xml/crm_mon.rng b/xml/crm_mon.rng
index 008c3ef..653c15e 100644
--- a/xml/crm_mon.rng
+++ b/xml/crm_mon.rng
@@ -264,14 +264,14 @@
             <optional>
                 <attribute name="pending"> <text/> </attribute>
             </optional>
-            <optional>
+            <zeroOrMore>
                 <!-- crm_mon prints the node only if group-by-node is false -->
                 <element name="node">
                     <attribute name="name"> <text/> </attribute>
                     <attribute name="id"> <text/> </attribute>
                     <attribute name="cached"> <data type="boolean" /> </attribute>
                 </element>
-            </optional>
+            </zeroOrMore>
         </element>
     </define>
 
-- 
1.8.3.1