File config_clean_up_recursion_in_schema.patch of Package cluster

From f868ecfac3c8c1bc6da36a08516f56dfd56ba185 Mon Sep 17 00:00:00 2001
From: Lon Hohberger <lhh@redhat.com>
Date: Tue, 15 Jun 2010 15:44:23 -0400
Subject: config: Clean up recursion and documentation

Resolves: rhbz#604298

Signed-off-by: Lon Hohberger <lhh@redhat.com>
---
 config/tools/xml/cluster.rng.in |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/config/tools/xml/cluster.rng.in b/config/tools/xml/cluster.rng.in
index 8438d4c..cc29617 100644
--- a/config/tools/xml/cluster.rng.in
+++ b/config/tools/xml/cluster.rng.in
@@ -892,7 +892,7 @@ To validate your cluster.conf against this schema, run:
     </element>
    </optional>  <!-- End of events block -->
    <optional>
-    <element name="resources" rha:description="Defines global resources.">
+    <element name="resources" rha:description="Defines global resources which may be referenced in services.  You may redefine actions for resources here, but child resource definitions are ignored in this section.">
      <zeroOrMore>
       <ref name="CHILDREN"/>
      </zeroOrMore>
@@ -1968,8 +1968,7 @@ To validate your cluster.conf against this schema, run:
     </element>
   </define>
 
-  <define name="CHILD">
-  <!-- for recursion to work properly, CHILD may be referenced at CHILDREN only -->
+  <define name="CHILDREN">
     <zeroOrMore>
      <choice>
 
@@ -1999,14 +1998,6 @@ To validate your cluster.conf against this schema, run:
     </zeroOrMore>
   </define>
 
-  <define name="CHILDREN">
-   <zeroOrMore>
-    <choice>
-     <ref name="CHILD"/>
-    </choice>
-   </zeroOrMore>
-  </define>
-
   <define name="RESOURCEACTION">
    <zeroOrMore>
     <element name="action" rha:description="Overrides resource action timings for a resource instance.">
-- 
1.6.2.5