bug-texinfo
[Top][All Lists]
Advanced

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

Re: Invalid XML output


From: Juri Linkov
Subject: Re: Invalid XML output
Date: Thu, 27 Nov 2003 23:16:01 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

"Robert J. Chassell" <address@hidden> writes:
>    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 don't know whether this is already corrected in Texinfo CVS or not.

> I just ran
>
>    makeinfo --xml --no-split -o emacs-lisp-intro.xml emacs-lisp-intro.texi
>
> and there were no reported errors.  The original lines from your
> report are the same as I got.

Yes, makeinfo don't report these errors.  I got them from separate
XML validation programs.  Most convenient of them is the newest
James Clark's Emacs nxml-mode which allows you to move point
between positions with validation errors in the Emacs buffer.

BTW, XML validators report also other validation errors against
Texinfo DTD, but they are not as critical as these end-tags and
start-tags mismatching errors on which XML parsers fail.  So although
the following validation errors don't prohibit XML parsers from reading
generated XML files, they could be corrected too:

para does not allow para at line 102
menu does not allow PCDATA at line 450
menu does not allow PCDATA at line 621
menu does not allow PCDATA at line 722
menu does not allow PCDATA at line 790
menu does not allow PCDATA at line 1052
menu does not allow PCDATA at line 1396
menu does not allow PCDATA at line 1433
menu does not allow PCDATA at line 1695
footnote does not allow smallexample at line 4472
footnote does not allow PCDATA at line 4474
footnote does not allow PCDATA at line 4474
footnote does not allow PCDATA at line 4474
footnote does not allow PCDATA at line 4474
footnote does not allow PCDATA at line 4474
footnote does not allow PCDATA at line 4474
footnote does not allow smallexample at line 21581

-- 
http://www.jurta.org/emacs/





reply via email to

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