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>&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;group uid=&quot;1074843510.8797.7 at rousalka.dyndns.org&quot;
name=&quot;Calendriers en ligne&quot; base_uri=&quot;webcal://&quot;
readonly=&quot;no&quot;&gt;&lt;source
uid=&quot;1079266217.12377.0 at rousalka.dyndns.org&quot; name=&quot;
Calendrier chinois&quot; relative_uri=&quot;
icalx.com/public/squiles/Chinese_New_Year.ics&quot;&gt;&lt;
properties&gt;&lt;property name=&quot;refresh&quot;
value=&quot;30&quot;/&gt;&lt;/properties&gt;&lt;/source&gt;&lt;source
uid=&quot;1079266945.12377.4 at rousalka.dyndns.org&quot; name=&quot;F&amp;
#xEA;tes&quot; relative_uri=&quot;
ical.mac.com/ical/French32Holidays.ics&quot; color=&quot;e2f0ef&quot;
&gt;&lt;properties&gt;&lt;property name=&quot;refresh&quot;
value=&quot;30&quot;/&gt;&lt;/properties&gt;&lt;/source&gt;&lt;source
uid=&quot;1079267532.12377.5 at rousalka.dyndns.org&quot; name=&quot;
Vacances russes&quot; relative_uri=&quot;
www.mozilla.org/projects/calendar/caldata/RussianHolidays.ics&quot;&gt;
&lt;properties&gt;&lt;property name=&quot;refresh&quot;
value=&quot;30&quot;/&gt;&lt;/properties&gt;&lt;/source&gt;&lt;source
uid=&quot;1079267823.12377.6 at rousalka.dyndns.org&quot; name=&quot;
Vacances scolaires&quot; relative_uri=&quot;
ical.mac.com/loic_villette/Vacances_Scolaires.ics&quot;&gt;&lt;
properties&gt;&lt;property name=&quot;refresh&quot;
value=&quot;30&quot;/&gt;&lt;/properties&gt;&lt;/source&gt;&lt;source
uid=&quot;1087216349.4221.0 at ulysse&quot; name=&quot;F&amp;#xEA;tes
(bis)&quot; relative_uri=&quot;
www.mozilla.org/projects/calendar/caldata/FrenchHolidays.ics&quot;
color=&quot;f0b8b7&quot;&gt;&lt;properties&gt;&lt;property name=&quot;
refresh&quot; value=&quot;30&quot;/&gt;&lt;/properties&gt;
&lt;/source&gt;&lt;/group&gt;
</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: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20040802/90788400/attachment-0002.bin 


More information about the devel mailing list