[PATCH] XML validity of kcfg files

Waldo Bastian bastian at kde.org
Sun Oct 31 16:39:47 GMT 2004


On Saturday 30 October 2004 18:38, Thiago Macieira wrote:
> 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.

As one of the authors of the DTD it wasn't my intention to enforce a certain 
order. If it is possible to change the current DTD to express that the order 
does not matter, then I suggest to change the DTD in such way.

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.

Cheers,
Waldo
-- 
bastian at kde.org   |   SUSE LINUX 9.2: Order now!   |   bastian at suse.com
  http://www.suse.de/us/private/products/suse_linux/preview/index.html
-------------- 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/20041031/2d79a62f/attachment.sig>


More information about the kde-core-devel mailing list