On Mon, 2005-09-12 at 17:55 -0400, 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) ?
This version might need some more tweaking and etcetera: http://cvs.pvanhoof.be/cgi-bin/viewcvs.cgi/desktop-config-standard/dtd/schema.xsd?rev=HEAD -- 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 _______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
