[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [PATCH] XML validity of kcfg files
From:       Waldo Bastian <bastian () kde ! org>
Date:       2004-10-31 16:39:47
Message-ID: 200410311739.53988.bastian () kde ! org
[Download RAW message or body]


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@kde.org   |   SUSE LINUX 9.2: Order now!   |   bastian@suse.com
  http://www.suse.de/us/private/products/suse_linux/preview/index.html

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic