glib/gio/tests/schema-tests/invalid-path.gschema.xml
Ryan Lortie 71c5e3f899 Bug 620496 - schema compiler: reject invalid paths
The GSettings schema compiler was accepting any string as a path.  It is
probably quite a common mistake to suspect that '/apps/foo' is a valid
path name when this will cause all sorts of trouble later.  Check for
this case and report the error.
2010-06-07 10:18:43 +02:00

4 lines
75 B
XML

<schemalist>
<schema id='invalid-path' path='/app/myapp'/>
</schemalist>