[PATCH] XML validity of kcfg files

Zack Rusin zack at kde.org
Sun Oct 31 16:44:52 GMT 2004


On Sunday 31 October 2004 11:39, Waldo Bastian wrote:
> If it is an intrinsic feature of a DTD that it enforces the order,
> then the .kcfg files should indeed be changed to make sure that they
> match the order in the DTD.
>
> Perhaps the kconfig_compiler should [optionally] verify its input
> files against the DTD as well to catch errors early.

No. If you want to be doing any validation on it switch it to XML Schema 
or RelaxNG but not DTD. Order on the tags just doesn't make any sense. 
And would make hand editting incredibly hard. You'd suddenly have to 
remember not only the base syntax but the exact order of tags, and we 
do have quite a few.  

Zack

-- 
Everyday people are straying away from the church and going back to God.




More information about the kde-core-devel mailing list