GNOME Bugzilla – Bug 639068
concern about paths of child schemas of list type
Last modified: 2018-05-24 12:57:04 UTC
For standalone list-of schemas, the schema compiler complains if the path doesn't end with ':/'. However, the following schema validates despite the path of the list-of child schema being "/bar/foo/" which doesn't end with :/ --- is that intended? <schemalist> <schema id="org.example.Foo" /> <schema id="org.example.FooList" list-of="org.example.Foo" /> <schema id="org.example.Bar" path="/bar/"> <child name="foo-list" schema="org.example.FooList" /> </schema> </schemalist> (BTW, it would be nice if one could write that more easily as <child name="foo-list" list-of="org.example.Foo" /> without having to define the extra FooList schema.)
This is an interesting issue. I didn't think about this...
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/387.