After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 639068 - concern about paths of child schemas of list type
concern about paths of child schemas of list type
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: gsettings
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Allison Karlitskaya (desrt)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2011-01-09 14:38 UTC by Christian Persch
Modified: 2018-05-24 12:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2011-01-09 14:38:14 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.)
Comment 1 Allison Karlitskaya (desrt) 2013-10-29 20:51:29 UTC
This is an interesting issue.  I didn't think about this...
Comment 2 GNOME Infrastructure Team 2018-05-24 12:57:04 UTC
-- 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.