xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] mysterious error when parsing OpenOffice document
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: Brian Slesinsky <brian AT slesinsky.org>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] mysterious error when parsing OpenOffice document
- Date: Tue, 07 Dec 2004 04:52:20 -0500
Brian Slesinsky wrote:
Hi, has anyone had any success parsing OpenOffice documents with XOM? I get a mysterious error:
nu.xom.ParsingException: Reference to undefined parameter entry "%{0};". at line 548, column -1.
The {0} looks like a parser bug to me. I suspect it's reporting the index of a parameter entity in some internal table rather than its actual name. (Just a guess, though. Could be something else.) Which parser are you using?
The thing is, I can't find the line that has the error. It think it must be one of the files included by office.dtd, but which one? A grep doesn't any such parameter entry. It sure would be nice if XOM reported both file and line number for errors in included files.
OK. Possibly I could add this, but it would help if I had a reproducible test case of the problem. If the document you're parsing is not private, could you send me a copy? If it is, could you possibly create a test case that demonstrates the problem? Doe sit occur with all OpenOffice documents or just this one?
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
-
[XOM-interest] mysterious error when parsing OpenOffice document,
Brian Slesinsky, 12/06/2004
-
Re: [XOM-interest] mysterious error when parsing OpenOffice document,
Elliotte Harold, 12/07/2004
-
Message not available
- Re: [XOM-interest] mysterious error when parsing OpenOffice document, Elliotte Harold, 12/07/2004
-
Message not available
-
Re: [XOM-interest] mysterious error when parsing OpenOffice document,
Elliotte Harold, 12/07/2004
- Re: [XOM-interest] mysterious error when parsing OpenOffice document, Elliotte Harold, 12/07/2004
- Re: [XOM-interest] mysterious error when parsing OpenOffice document, Elliotte Rusty Harold, 12/14/2004
Archive powered by MHonArc 2.6.24.