Bug 628937 - gracefully handle broken schemas
authorRyan Lortie <desrt@desrt.ca>
Mon, 27 Sep 2010 15:10:11 +0000 (11:10 -0400)
committerRyan Lortie <desrt@desrt.ca>
Fri, 1 Oct 2010 15:21:13 +0000 (11:21 -0400)
commit3e771509b487fbc671e9217f8dcbd20daa44c116
tree7538607aea9821094eb1d279bcd1079a5d1d1bc9
parentbd290081ff8c7951c6509d0aee23246739a928a2
Bug 628937 - gracefully handle broken schemas

Implement the second feature requested in the bug: silently ignore
override files that attempt to override schemas that are not currently
installed.

Also, support 'strictness' being optional for other errors when parsing
override files (ie: inability to open the file, unknown key name, parse
errors, out of range).  We don't completely back out the file in this
case — as that is difficult with the current implementation — but just
ignore the override for the single key.
gio/glib-compile-schemas.c