A draft for a standard for desktop configuration

Philip Van Hoof spam at pvanhoof.be
Tue Sep 13 11:54:36 EEST 2005


On Tue, 2005-09-13 at 10:21 +0200, Waldo Bastian wrote:
> On Monday 12 September 2005 23:55, Daniel Veillard wrote:

> >   It seems to me that a DTD captures only a very limited set of the
> > constraints. It seems to  me that with the use of proper XML Schemas
> > Datatype regexps and type can for example express in a way more compact
> > way all the rules from section 5.3 and allow validation of those,
> > that could be used either from a Relax-NG or an XML XSD Schemas. DTD
> > expressive power is really really low and I would suggest to provide
> > either an Relax-NG or a XML XSD Schema. This could be an useful exercise
> > too, for example why is there no length limit for a key (think mapping
> > to SQL databases VARCHAR) ?

I agree

> For reference the XML XSD Schema for the schemas that we use with KConfigXT in 
> KDE.

I've planned converting the DTD to an XSD schema as a TODO. If somebody
is interested in assisting me with this, please contact me and/or
provide a diff (and an xsd schema file).

-- 
Philip Van Hoof, software developer at x-tend
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
work: vanhoof at x-tend dot be
http://www.pvanhoof.be - http://www.x-tend.be




More information about the xdg mailing list