Re: XML DocBook patch
- From: John Fleck <jfleck inkstain net>
- To: Toshio Kuratomi <badger prtr-13 ucsc edu>
- Cc: Owen Taylor <otaylor redhat com>, gtk-doc-list gnome org, dcm redhat com
- Subject: Re: XML DocBook patch
- Date: Fri, 12 Apr 2002 06:32:55 -0600
On Fri, Apr 12, 2002 at 12:17:46AM -0400, Toshio Kuratomi wrote:
> On Thu, 2002-04-11 at 23:02, Owen Taylor wrote:
> >
> > Toshio Kuratomi <badger prtr-13 ucsc edu> writes:
> >
> > > Enclosed is a patch that enables gives gtkdoc-mkdb a new output flag:
> > > When --output-format=xml is given gtkdoc-mkdb spits out xml output as xml
> > > rather than sgml (The only difference thus far is that gtkdoc-mkdb closes
> > > the anchor and colspec tags and using .xml as the file extension.)
> > >
> > > There are also commented out changes that would move the default output
> > > directory from ./sgml to ./docbook. I think this is a more logical
> > > directory name but I think it'll require some updates to client makefiles so
> > > I disabled it for now.
> >
> > I was looking over this patch (very much later....) and I'm wondering...
> > Why can't we just always close the tags?
> >
> > If we did that, the only effect of the --output-format switch would
> > be the extension of the generated files?
> >
> It's been a long time since I wrote this patch (and I don't even have
> one on hand now) but I remember there being a problem with my version of
> OpenJade not being able to parse (or only issuing a warning?) an empty
> tag (such as anchor or colspec) that had a closing tag. Since this was
> quite a while ago, that problem may have gone away. Try applying the
> patch and then testing if the files you generate are usable both as xml
> and sgml docbook?
>
I'm also speaking without seeing the patch here, so I may be totally
missing some important point, but IIRC David Mason had to do some
special DSSL magic when we wanted to simply close all the tags when we
were using docbook sgml for the GNOME user docs.
Cheers,
John
--
John Fleck
jfleck inkstain net (h) jfleck abqjournal com (w)
http://www.inkstain.net http://www.abqjournal.com
"You don't want to die with the music still in you."
- John Gardner
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]