linux registry (no, not that again!)

Nicolas Mailhot Nicolas.Mailhot at laPoste.net
Mon Aug 2 15:23:39 UTC 2004


On lun, 2004-08-02 at 10:38 -0400, Konstantin Ryabitsev wrote:
> On Mon, 2004-08-02 at 14:11 +0200, Nicolas Mailhot wrote:
> > It's especially sad to see an app like evolution (which is supposed to
> > be coded by elite Gnome people) abuse gconf files in so many ways
> > they're almost as bad as a serialised binary blobs.
> > 
> > (take a look at .gconf/apps/evolution/mail/%gconf.xml if you don't know
> > what I'm talking about).
> 
> So, you're trying to say that it's wrong to use GCONF's XML format to
> store some more entity-escaped XML? :)

I'm saying putting escaped content in a config file does not improve
it's overall legibility, yes.

Or are you telling me something like :

        <li type="string">
                <stringvalue><?xml version="1.0"?>
<group uid="1074843510.8797.7 at rousalka.dyndns.org"
name="Calendriers en ligne" base_uri="webcal://"
readonly="no"><source
uid="1079266217.12377.0 at rousalka.dyndns.org" name="
Calendrier chinois" relative_uri="
icalx.com/public/squiles/Chinese_New_Year.ics"><
properties><property name="refresh"
value="30"/></properties></source><source
uid="1079266945.12377.4 at rousalka.dyndns.org" name="F&
#xEA;tes" relative_uri="
ical.mac.com/ical/French32Holidays.ics" color="e2f0ef"
><properties><property name="refresh"
value="30"/></properties></source><source
uid="1079267532.12377.5 at rousalka.dyndns.org" name="
Vacances russes" relative_uri="
www.mozilla.org/projects/calendar/caldata/RussianHolidays.ics">
<properties><property name="refresh"
value="30"/></properties></source><source
uid="1079267823.12377.6 at rousalka.dyndns.org" name="
Vacances scolaires" relative_uri="
ical.mac.com/loic_villette/Vacances_Scolaires.ics"><
properties><property name="refresh"
value="30"/></properties></source><source
uid="1087216349.4221.0 at ulysse" name="F&#xEA;tes
(bis)" relative_uri="
www.mozilla.org/projects/calendar/caldata/FrenchHolidays.ics"
color="f0b8b7"><properties><property name="
refresh" value="30"/></properties>
</source></group>
</stringvalue>
        </li>

is human-parsable ?

(not to mention the escaped content won't be validated by your average
xml engine since it masquerades as text data - stringvalue indeed:()

Cheers,

-- 
Nicolas Mailhot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040802/90788400/attachment.sig>


More information about the fedora-devel-list mailing list