XML option parser for mcs

Olivier Fourdan fourdan at xfce.org
Sun Dec 29 13:34:07 CET 2002


Hi Guido,

> This format makes it hard to be checked with an external
> parser being able to validate an xml file with a DTD. At
> minimum, it should be name="option" along with their
> int="3" and string="an option" and color="255,255,0". The
> type indicator may be passed along for convenience to your
> reader function to know as to which attribute to look for.

GMarkup doesn't do any DTD validation anyway, and "semantically", I'm
not sure this syntax makes sense since an option is either a string, an
int or a color, but not all three.

As for validation, the syntax is so simple that I hardly see the need
for the use of a validator :)

Cheers,
-- 
Olivier Fourdan <fourdan at xfce.org>
http://www.xfce.org




More information about the Xfce4-dev mailing list