bug-texinfo
[Top][All Lists]
Advanced

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

Re: Invalid XML output


From: Robert J. Chassell
Subject: Re: Invalid XML output
Date: Thu, 27 Nov 2003 15:18:49 +0000 (UTC)

   Makeinfo 4.6 generates invalid XML output from the file
   emacs-lisp-intro.texi from Emacs CVS.

This seems to be a problem with    Makeinfo 4.6
I just ran

   makeinfo --xml --no-split -o emacs-lisp-intro.xml emacs-lisp-intro.texi

on  emacs-lisp-intro.texi
    edition-number 2.12
    update-date 2003 Nov 19

and there were no reported errors.  The original lines from your
report are the same as I got.

In the first error,

   Line 1852 Char 49: Mismatched end tag: expected </para>, got </unnumbered>
   - </menucomment></menuentry></menu>   </unnumbered></node>
   + </menucomment></menuentry></menu>   </para></unnumbered></node>

the unmatched `para' tag comes in text inserted at the @insertcopying
location in the Top node.  The Texinfo is:

    @ifnottex
    @node Top, Preface, (dir), (dir)
    @top An Introduction to Programming in Emacs Lisp

    @insertcopying

    This master menu first lists each chapter and index; then it lists
    every node in every chapter.
    @end ifnottex

The last paragraph in the XML for @insertcopying should end with an
      </para>
tag as it does in the first instance of the license and permissions
text in this XML file:

      <para>
    (a) The FSF's Back-Cover Text is: "You have freedom to copy and
    modify this GNU Manual, like GNU software.  Copies published by the
    Free Software Foundation raise funds for GNU development."
      </para></copying>

[last line is line 48]

However, instead, the text is like this, without the </para> tag (or
the </copying> tag):

      <para>
    (a) The FSF's Back-Cover Text is: "You have freedom to copy and
    modify this GNU Manual, like GNU software.  Copies published by the
    Free Software Foundation raise funds for GNU development."


[last line, the one missing the tags, is line 99]

I don't know whether the XML should have the `copying' tag; but it
certainly should have the </para> tag.

--
    Robert J. Chassell                         Rattlesnake Enterprises
    http://www.rattlesnake.com                  GnuPG Key ID: 004B4AC8
    http://www.teak.cc                             address@hidden




reply via email to

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