valgrind: Add more suppressions to glib.supp
[glib.git] / gio / gschema.dtd
blob8cd552d4a47f7348a1ed0c6f22048b3ece09de7e
1 <!ELEMENT schemalist (schema|enum|flags)* >
2 <!ATTLIST schemalist gettext-domain CDATA #IMPLIED >
4 <!ELEMENT schema (key|child|override)* >
5 <!ATTLIST schema id CDATA #REQUIRED
6 path CDATA #IMPLIED
7 gettext-domain CDATA #IMPLIED
8 extends CDATA #IMPLIED
9 list-of CDATA #IMPLIED >
11 <!-- enumerated and flags types -->
12 <!-- each value element maps a nick to a numeric value -->
13 <!ELEMENT enum (value*) >
14 <!ATTLIST enum id CDATA #REQUIRED >
16 <!ELEMENT flags (value*) >
17 <!ATTLIST flags id CDATA #REQUIRED >
19 <!ELEMENT value EMPTY >
20 <!-- nick must be at least 2 characters long -->
21 <!-- value must be parsable as a 32-bit integer -->
22 <!ATTLIST value nick CDATA #REQUIRED
23 value CDATA #REQUIRED >
25 <!ELEMENT key (default|summary?|description?|range?|choices?|aliases?)* >
26 <!-- name can only contain lowercase letters, numbers and '-' -->
27 <!-- type must be a GVariant type string -->
28 <!-- enum must be the id of an enum type that has been defined earlier -->
29 <!-- flags must be the id of a flags type that has been defined earlier -->
30 <!-- exactly one of type, enum or flags must be given -->
31 <!ATTLIST key name CDATA #REQUIRED
32 type CDATA #IMPLIED
33 enum CDATA #IMPLIED
34 flags CDATA #IMPLIED >
36 <!-- the default value is specified a a serialized GVariant,
37 i.e. you have to include the quotes when specifying a string -->
38 <!ELEMENT default (#PCDATA) >
39 <!-- the presence of the l10n attribute marks a default value for
40 translation, its value is the gettext category to use -->
41 <!-- if context is present, it specifies msgctxt to use -->
42 <!ATTLIST default l10n (messages|time) #IMPLIED
43 context CDATA #IMPLIED >
45 <!ELEMENT summary (#PCDATA) >
46 <!ELEMENT description (#PCDATA) >
48 <!-- range is only allowed for keys with numeric type -->
49 <!ELEMENT range EMPTY >
50 <!-- min and max must be parseable as values of the key type and
51 min must be less than or equal to max -->
52 <!ATTLIST range min CDATA #REQUIRED
53 max CDATA #REQUIRED >
55 <!-- choices is only allowed for keys with string or string array type -->
56 <!ELEMENT choices (choice+) >
57 <!-- each choice element specifies one possible value -->
58 <!ELEMENT choice EMPTY >
59 <!ATTLIST choice value CDATA #REQUIRED >
61 <!-- aliases is only allowed for keys with enumerated type or with choices -->
62 <!ELEMENT aliases (alias+) >
63 <!-- each alias element specifies an alias for one of the possible values -->
64 <!ELEMENT alias EMPTY >
65 <!ATTLIST alias value CDATA #REQUIRED >
67 <!ELEMENT child EMPTY >
68 <!ATTLIST child name CDATA #REQUIRED
69 schema CDATA #REQUIRED >
71 <!ELEMENT override (#PCDATA) >
72 <!ATTLIST override name CDATA #REQUIRED
73 l10n CDATA #IMPLIED
74 context CDATA #IMPLIED >