bug-texinfo
[Top][All Lists]
Advanced

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

Re: makeinfo --docbook outputs invalid XML


From: Simon Josefsson
Subject: Re: makeinfo --docbook outputs invalid XML
Date: Sat, 14 Dec 2002 07:24:19 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

address@hidden (Karl Berry) writes:

>     The problem seems to the <bookinfo> in the "Top" chapter.  
>
> With makeinfo 4.3 (and the current source), there is no second
> <bookinfo>, and there is no chapter id="Top" -- I believe Feloy has made
> some fixes for this.  You can get the current source from
> http://savannah.gnu.org/projects/texinfo.

I tried 4.3 and CVS and the bookinfo is gone alright, but it generates
an "<abstract>" tag without corresponding "</abstract>".

address@hidden:~$ rm sample.xml
address@hidden:~$ makeinfo --docbook sample.texi
address@hidden:~$ db2pdf sample.xml
Using catalogs: /etc/sgml/catalog
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl#print
Working on: /home/jas/sample.xml
jade:/home/jas/sample.xml:23:9:E: end tag for "ABSTRACT" omitted, but its 
declaration does not permit this
jade:/home/jas/sample.xml:15:2: start tag was here
address@hidden:~$

...
 <chapter id="Top">
  <title>GNU Sample</title>
  <abstract>
   <para>
This is a short example of a complete Texinfo file.
   </para>

   <para>
Copyright (C) 2002 Free Software Foundation, Inc.

</chapter>
 <chapter id="First-Chapter">
...

>     I'm not sure why a "Top" chapter would be necessary at all in docbook.
>
> If there's additional text there, it seems like it could be useful.

Yes.

Thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]