[PATCH] XML validity of kcfg files

Cornelius Schumacher schumacher at kde.org
Mon Nov 1 17:11:26 GMT 2004


On Saturday 30 October 2004 21:19, Zack Rusin wrote:
>
> This dtd is documentation....

No, it's the specification of the kcfg file format and it certainly is 
meant to be used for validating the kcfg files (I do know it, because I 
wrote the DTD in the first place including the rule for the order of 
the tags).

> In order to use the dtd to validate files so strickly you need to fix
> it.

The only thing which might need to be fixed is the constraint on the 
order of the elements. If somebody knows a way to do this, I'm fine 
with changing it.

Independent of that we really should fix the XML files to be valid 
according to the existing DTD (Hey, we even have a patch for that 
already) otherwise we loose the ability to reasonably validate the XML 
files and that would be a pity because it's so simple and ensures that 
the files are at least syntactically correct.

-- 
Cornelius Schumacher <schumacher at kde.org>




More information about the kde-core-devel mailing list