Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] mysterious error when parsing OpenOffice document

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • 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:59:15 -0500

Brian Slesinsky wrote:


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.


The error message XOM reports here is simply whatever the underlying SAX parser tells it. However, you can use the getURI method of ParsingException to get the system ID of the file where the error occurred.

--
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




Archive powered by MHonArc 2.6.24.

Top of Page