GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Wed Aug 24, 2016 1:29 am

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Glade Catalog XML Sytax?
PostPosted: Tue Nov 29, 2011 9:56 pm 

Joined: Tue Nov 29, 2011 9:12 pm
Posts: 2

In order to more easily develop GIMP plugins, I decided to use the Glade interface designer (glade3-3.8.0 from This requires that I write a catalog for the existing GIMP widgets (haven't found one online). So, I have gone about finding a couple of useful tutorials - just to see how it's done. No problem at this point.

Next, in order to be compliant with Glade's catalog XML syntax, I have been reading documentation from GNOME Dev Center: Instructions include (to verify new XML):

xmllint --dtdvalid glade-catalog.dtd --noout my-catalog.xml

Now, try this:
cd <path-to>/share/glade3/catalogs
xmllint --dtdvalid glade-catalog.dtd --noout gtk+.xml

Oh My!

The default files are rife with undeclared elements and attributes! Reading the documentation at Dev Center helps me better understand what the authors meant, at least. Nonetheless, in order for my XML syntax to be compliant, I am having to rewrite the DTD file, and then - to get the standard Glade-3 XML compliant - sift through and rewrite those as well.

BTW: In case I just happened to install from a buggy source tar-ball, I also downloaded glade3-3.8.1 from the source to compare. The XML files in that package are (nearly) identical to those I already had.

Perhaps I can submit my XML re-edits to the maintainers for future inclusion.
Any thoughts?


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 4 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group