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@xxxxxxxxxxxxxxxxxxx" name="Calendriers en ligne" base_uri="webcal://" readonly="no"><source uid="1079266217.12377.0@xxxxxxxxxxxxxxxxxxx" 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@xxxxxxxxxxxxxxxxxxx" 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@xxxxxxxxxxxxxxxxxxx" 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@xxxxxxxxxxxxxxxxxxx" 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@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
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=