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.
This commit is contained in:
Ryan Lortie
2010-06-07 10:18:43 +02:00
parent a0c044b5c6
commit 71c5e3f899
3 changed files with 18 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
<schemalist>
<schema id='invalid-path' path='/app/myapp'/>
</schemalist>