[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] patch to fix asserts for invalid growable column/row indices w
From: |
Vaclav Slavik |
Subject: |
Re: [lmi] patch to fix asserts for invalid growable column/row indices with latest wx svn |
Date: |
Tue, 03 Mar 2009 01:29:47 +0100 |
Hi,
On Sun, 2009-03-01 at 14:09 +0000, Greg Chicares wrote:
> > really complicates the debugging and, besides, even if these invalid
> > indices are mostly harmless, it still seems wrong to use them. I did my
> > best to ensure that the patch doesn't change anything and only removes the
> > invalid indices.
>
> We have five other skins as well. Is there an automatic way to
> detect problems of this nature--like a WXXRC 'lint'?
There's no lint equivalent and no form of schema usable for validation
either [*]. The closest thing to that would be running a (non-existent)
tool that tries to load all resources and see what happens. That would
still give you an assert and not a "clean" error report, though.
Regards,
Vaclav
[*] Although this kind of constraint would be quite hard to express in
any of the commonly used XML schema languages, I suspect.