glib/gio/tests/schema-tests/extending.gschema.xml
Ryan Lortie 900a756e8f GSettings: new <schema> tags 'extends', 'list-of'
Add support for extends='' and list-of='' tags to the <schema> element.
The attributes are parsed and some sanity-checking is done but currently
nothing happens as a result.

Add some tests.
2010-06-29 15:58:35 -04:00

22 lines
674 B
XML

<schemalist>
<!-- c extends b extends a -->
<schema id='a'/>
<schema id='b' extends='a'/>
<schema id='c' extends='b'/>
<!-- lists of each -->
<schema id='la' list-of='a'/>
<schema id='lb' list-of='b'/>
<schema id='lc' list-of='c'/>
<!-- extend 'la', override the list-of to 'b' -->
<schema id='lb-la' list-of='b' extends='la'/>
<!-- extend 'la', override the list-of to 'c' -->
<schema id='lc-la' list-of='c' extends='la'/>
<!-- extend 'lb', override the list-of to 'c' -->
<schema id='lc-lb' list-of='c' extends='lb'/>
<!-- extend 'lb-la', override the list-of to 'c' -->
<schema id='lc-lb-la' list-of='c' extends='lb-la'/>
</schemalist>