[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-devel
Subject: Re: DTDs and other fun
From: Murray Cumming <murrayc () murrayc ! com>
Date: 2012-01-29 20:43:12
Message-ID: 1327869792.14502.5.camel () localhost
[Download RAW message or body]
On Thu, 2012-01-26 at 17:30 -0500, Shaun McCance wrote:
> I mostly agree with that. It certainly means nobody is validating
> these files at build/install time.
I am, but not against any DTD:
http://www.murrayc.com/blog/permalink/2010/03/30/testing-glade-files/
though I would like to use a DTD.
> The question is, "should they?"
I would like to do any testing that I can, particularly if it's easy.
> People don't usually put that stuff in their Makefiles unless you
> make it easy for them. It comes down to whether there's a high rate
> of invalid .ui files being installed.
It happens sometimes, and it usually causes crashes. It's nice to avoid
it even if it's rare.
> I kind of suspect no, because
> they're almost always machine-generated. With menu files written
> (for now) by hand, that might be different.
Glade has been a little funky over the last few years, so hand-editing
has often been necessary.
> Of course, having an invalid DTD in the docs (and another one for
> GtkUIManager, incidentally) isn't good. If nobody cares about the
> DTD per se, maybe we should look at less 1980s ways of conveying
> the grammar.
--
murrayc@murrayc.com
www.murrayc.com
www.openismus.com
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic