Re: DTDs and other fun

2012-01-30 Thread Matthias Clasen
On Fri, Jan 27, 2012 at 8:49 AM, Matthias Clasen wrote: > If anybody wants to do the work to replace the dtds with shaunm's > schemas, please go ahead. > Otherwise, I'll get to it at some point. I've done this now. ___ gtk-devel-list mailing list gtk-d

Re: DTDs and other fun

2012-01-29 Thread Olav Vitters
On Sun, Jan 29, 2012 at 09:43:12PM +0100, Murray Cumming wrote: > It happens sometimes, and it usually causes crashes. It's nice to avoid > it even if it's rare. Could this somehow be automatically be checked by make distcheck? And I mean automatic that it is somehow added by "gnome-autogen.sh" so

Re: DTDs and other fun

2012-01-29 Thread Murray Cumming
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. >

Re: DTDs and other fun

2012-01-27 Thread Matthias Clasen
On Fri, Jan 27, 2012 at 4:34 AM, Ross Burton wrote: > On 26 January 2012 22:35, Matthias Clasen wrote: >> Sure, I wouldn't object to replacing the DTDs by your schemas, and >> shipping the xml schemas that are suitable for xmllint. > > As someone who uses nxml-mode in emacs, the automatic > valid

Re: DTDs and other fun

2012-01-27 Thread Ross Burton
On 26 January 2012 22:35, Matthias Clasen wrote: > Sure, I wouldn't object to replacing the DTDs by your schemas, and > shipping the xml schemas that are suitable for xmllint. As someone who uses nxml-mode in emacs, the automatic validation/completion you get when hand-writing a XML file with a R

Re: DTDs and other fun

2012-01-26 Thread Matthias Clasen
On Thu, Jan 26, 2012 at 5:30 PM, Shaun McCance wrote: > > 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. > Sure, I wouldn't obj

Re: DTDs and other fun

2012-01-26 Thread Shaun McCance
On Thu, 2012-01-26 at 17:01 -0500, Matthias Clasen wrote: > On Thu, Jan 26, 2012 at 3:25 PM, Shaun McCance wrote: > > Ryan asked me to look at the DTDs for the menu markup and GtkBuilder > > interface definitions, since he merged everything over to GtkBuilder. > > Here's the old menumarkup.dtd: >

Re: DTDs and other fun

2012-01-26 Thread Matthias Clasen
On Thu, Jan 26, 2012 at 3:25 PM, Shaun McCance wrote: > Ryan asked me to look at the DTDs for the menu markup and GtkBuilder > interface definitions, since he merged everything over to GtkBuilder. > Here's the old menumarkup.dtd: > > http://git.gnome.org/browse/glib/tree/gio/menumarkup.dtd?id=4e9f

DTDs and other fun

2012-01-26 Thread Shaun McCance
Ryan asked me to look at the DTDs for the menu markup and GtkBuilder interface definitions, since he merged everything over to GtkBuilder. Here's the old menumarkup.dtd: http://git.gnome.org/browse/glib/tree/gio/menumarkup.dtd?id=4e9f59bff8adc59fd8fde5bdee9879b8c3e4e55b And here's what our docs s