[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to view makeinfo-generated xml?
From: |
Charlie Zender |
Subject: |
Re: how to view makeinfo-generated xml? |
Date: |
Sat, 07 Sep 2002 20:55:24 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 |
Karl Eichwalder wrote:
Charlie Zender <address@hidden> writes:
XML Parsing Error: undefined entity
Location: file:///home/zender/nco/doc/nco.xml
Line Number 10, Column 11:Copyright ©right; 1995-2002 Charlie
Zender
----------^
Oops, a bug. "©" is known as a predefined entity -- please use
this instead of "©right;".
I tried manually editing this and then reloading the xml file into
mozilla. It broke on ©, too. After removing the line entirely,
it broke 12 lines down with...
XML Parsing Error: undefined entity
Location: file:///home/zender/nco/doc/nco.xml
Line Number 12, Column 64:This is the first edition of the <CITE>NCO
User's Guide</CITE>,&linebreak;
for the former --xml version and, on loading the --docbook version, complains
XML Parsing Error: syntax error
Location: file:///home/zender/nco/doc/nco.xml
Line Number 1, Column 55:<!DOCTYPE Book PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
------------------------------------------------------^
Wondering why Mozilla isn't happy with this line; I guess it moans
because the system identifier is missing. Anyway, since DocBook 3.1 was
never offcially releases in an XML flavor, we should probably go for:
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
After putting this line in and reloading into mozilla, and fixing the
copyright line, the reader works fine until it reaches an error on line 235:
XML Parsing Error: mismatched tag. Expected: </XREF>.
Location: file:///home/zender/nco/doc/nco.xml
Line Number 235, Column 7: </PARA></SECT2></SECT1>
------^
Basically, it seems that my source document, nco.texi causes lots of
problems with the xml generator in makeinfo. This is somewhat surprising
since I thought nco.texi was valid texinfo. Perhaps it would be a useful
document for someone to use to debug the xml capability in makeinfo.
It is available online at
http://nco.sf.net/nco.texi
I would be interested in hearing about any changes that I would need
to make to it so that it would be possible to generate valid xml with
makeinfo.
Thanks,
Charlie
--
Charlie Zender, zender at uci dot edu, (949) 824-2987, Department of
Earth System Science, University of California, Irvine CA 92697-3100