Re: docbook DTD version



On Wed, Oct 31, 2007 at 01:59:50PM +0100, Stefan Kost wrote:
> we got this rfe filed for gtk-doc to sync the required dtd version  
> with gnome-doc-utils:
> http://bugzilla.gnome.org/show_bug.cgi?id=487727
> 
> I experimented a bit and basically I see n issue with using 4.3 too.  
> We could also lazyly accept any DTD in a certain version range. Any  
> ideas whats the best strategy here?

Read DTD from $(DOC_MAIN_SGML_FILE).  Generate files with
this DTD (after some basic sanity check).  This way the user
can use any compatible DTD he wishes.

However, this shifts the responsibility of checking for the
right DTD from gtk-doc to the application (not a bad thing
in principle IMO, though gtk-doc.m4 should provide means to
add such check easily).  However, it does not lift the
requirement of some default version by gtk-doc itself.

Yeti

--
http://gwyddion.net/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]