[PATCH] XML validity of kcfg files

Frans Englich frans.englich at telia.com
Sat Oct 30 21:37:53 BST 2004

On Saturday 30 October 2004 20:21, Michael Pyne wrote:
> On Saturday 30 October 2004 04:18 pm, Frans Englich wrote:
> > Zack surely wrote it with a documentation purpose, but XML files should
> > be validated, and they should validate -- so let's change it such that we
> > live up to your view on what schemas exists for. I'll follow up with an
> > XML Schema version.
> >
> > Cheers,
> >
> >   Frans
> Um, how hard would it be to simply make the DTD accept the tags in any
> order?

AFAIK, it is as Christian said: it would be bulky. After reading Norman 
Walsh's Docbook book(about DTDs), it appears to me possible to allow elements 
to be in arbitrary order by using the ampersand connector -- but that only 
works for SGML, not XML. If the whole point of doing validation is to ensure 
the files are not buggy, why not then do it as good as possible(Schemas are 
more exact than DTDs)? 



More information about the kde-core-devel mailing list