invalid glib key names in gnucash

Thomas Bushnell BSG tb at becket.net
Sun Dec 31 15:53:41 EST 2006


On Sun, 2006-12-31 at 11:21 +0100, Christian Stimming wrote:
> Am Samstag, 30. Dezember 2006 05:06 schrieb David Hampton:
> > On Fri, 2006-12-29 at 10:42 -0800, Thomas Bushnell BSG wrote:
> > > gnucash creates its own glib key files in ~/.gnucash/books.  The keys
> > > used in these files are filled with spaces.  Spaces are not allowed in
> > > glib keys.
> >
> > Since when?  The g_keyfile documentation that appears in devhelp says
> > nothing about the space character being invalid in keys. In fact, it
> > implicitly implies that the space *is* a valid character, by
> > specifically stating that "to preserve initial and final spaces, these
> > can also be escaped as \s."  This documentation is generated directly
> > from the glib sources.
> 
> Although the GKeyFile documentation says so, it is at least ambiguous about 
> whether this sentence refers to the keys or the values or both. In any case, 
> the documentation clearly does *not* say that keys *must not* contain any 
> spaces. 

In the bug opened against glib (requesting to add spaces in), the
assertion is made explicitly that the \s applies only to the values and
not the keys.  

Can I request that you start corresponding with the glib folks directly
(if you aren't already)?

Thomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20061231/715fd2a2/attachment.bin 


More information about the gnucash-devel mailing list