mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 19:36:18 +01:00
900a756e8f
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.
22 lines
674 B
XML
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>
|