[PATCH] XML validity of kcfg files

Christian Mueller cmueller at gmx.de
Sat Oct 30 17:49:32 BST 2004


Am Samstag, 30. Oktober 2004 18:38 schrieb Thiago Macieira:
> Aaron J. Seigo wrote:
> >except for the Stringlist -> StringList change, they all seem to just be
> >reordering of the tags, e.g. max after default instead of before. does
> >re-ording the tags really make any difference? sounds to me like the
> > script is reporting a lot of false positives?
> 
> The reordering could be mandated by the DTD.

Exactly.  

It's xmllint from the libxml2 package that does the check, 
not some shell script.  The order makes a difference in the DTD. 

kconfig_compiler doesn't seem to care, but if we define a DTD
then we should IMHO also write valid XML.  You could call this a 
false positive w.r.t. kconfig_compiler, but it can and should 
be removed.   

Christian. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20041030/48db1c9e/attachment.sig>


More information about the kde-core-devel mailing list