Package: libglib2.0-dev Version: 2.33.3-2 Severity: minor Tags: patch Hello,
The glib comes with a DTD for the GSettings schemas. Unfortunately this DTD is invalid: it contains errors which make it unusable for schema validation. Here is a patch that fixes these errors. There is still a problem with the fact that the DTD unnecessarily enforces the order of apparition of some tags, but at least it is a valid DTD now. Regards, -- Tanguy
--- gio/gschema.dtd 2012-04-13 01:39:20.000000000 +0200 +++ /tmp/gschema.dtd 2012-06-28 13:35:02.426652362 +0200 @@ -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 -->
signature.asc
Description: Digital signature