Re: XML DocBook patch
- From: Toshio Kuratomi <badger prtr-13 ucsc edu>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-doc-list gnome org
- Subject: Re: XML DocBook patch
- Date: 12 Apr 2002 00:17:46 -0400
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:
> > --output-format=[xml|sgml]
> > 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?
-Toshio
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]