[et-mgmt-tools] [PATCH] Make image.rng validate again

John Levon levon at movementarian.org
Thu Nov 20 22:48:39 UTC 2008


# HG changeset patch
# User john.levon at sun.com
# Date 1227221316 0
# Node ID 0b702b125df9d13ebeedd995ec87e4154d5a9680
# Parent  7c441371a3fd35860e61d3cd7c53ede696e50075
Make image.rng validate again

The new checksum element wasn't valid.

Signed-off-by: John Levon <john.levon at sun.com>

diff --git a/doc/image.rng b/doc/image.rng
--- a/doc/image.rng
+++ b/doc/image.rng
@@ -200,8 +200,10 @@
         <optional>
           <element name="checksum">
             <attribute name="type">
-              <value>sha1</value>
-              <value>sha256</value>
+              <choice>
+                <value>sha1</value>
+                <value>sha256</value>
+              </choice>
             </attribute>
             <text/>
           </element>




More information about the et-mgmt-tools mailing list