[glib] Fix up the gschema.dtd



commit a9f363733ba796b8c2365fc45a616f94bd6463e3
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Dec 29 00:22:34 2012 -0500

    Fix up the gschema.dtd
    
    This DTD wasn't syntactically correct, and didn't actually
    describe keys correctly. This change makes it a bit too lax,
    but at least it can be used now.
    https://bugzilla.gnome.org/show_bug.cgi?id=690538

 gio/gschema.dtd |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gio/gschema.dtd b/gio/gschema.dtd
index 96ff014..00e3a16 100644
--- a/gio/gschema.dtd
+++ b/gio/gschema.dtd
@@ -1,5 +1,5 @@
 <!ELEMENT schemalist (schema|enum)* >
-<!ATTLIST schemalist gettext-domain #IMPLIED >
+<!ATTLIST schemalist gettext-domain CDATA #IMPLIED >
 
 <!ELEMENT schema (key|child|override)* >
 <!ATTLIST schema id             CDATA #REQUIRED
@@ -19,10 +19,10 @@
 <!ELEMENT value EMPTY >
 <!-- nick must be at least 2 characters long -->
 <!-- value must be parsable as a 32-bit integer -->
-<!ELEMENT value nick  #REQUIRED
-                value #REQUIRED >
+<!ATTLIST value nick  CDATA #REQUIRED
+                value CDATA #REQUIRED >
 
-<!ELEMENT key (default|summary?|description?|range?|choices?|aliases?) >
+<!ELEMENT key (default|summary?|description?|range?|choices?|aliases?)* >
 <!-- name can only contain lowercase letters, numbers and '-' -->
 <!-- type must be a GVariant type string -->
 <!-- enum must be the id of an enum type that has been defined earlier -->



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