Update the dtd to match the schema parser
authorMatthias Clasen <mclasen@redhat.com>
Thu, 17 Jun 2010 04:37:12 +0000 (00:37 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 17 Jun 2010 04:37:49 +0000 (00:37 -0400)
The aliases element was not mentioned here.

gio/gsettings.c

index 49eb97f..5235a8d 100644 (file)
@@ -87,7 +87,7 @@
  *                  path           CDATA #IMPLIED
  *                  gettext-domain CDATA #IMPLIED >
  *
- * <!ELEMENT key (default|summary?|description?|range?|choices?) >
+ * <!ELEMENT key (default|summary?|description?|range?|choices?|aliases?) >
  * <!-- name can only contain lowercase letters, numbers and '-' -->
  * <!-- type must be a GVariant type string -->
  * <!ATTLIST key name CDATA #REQUIRED
  *                 max CDATA #REQUIRED >
  *
  * <!ELEMENT choices (choice+) >
- * <!ELEMENT choice (alias?) >
+ * <!ELEMENT choice EMPTY >
  * <!ATTLIST choice value CDATA #REQUIRED >
- * <!ELEMENT choice (alias?) >
+ * <!ELEMENT aliases (alias+) >
  * <!ELEMENT alias EMPTY >
  * <!ATTLIST alias value CDATA #REQUIRED >
  *