Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file."

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: cowwoc <cowwoc AT bbs.darktech.org>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file."
  • Date: Fri, 24 Oct 2008 05:46:25 -0700

cowwoc wrote:
Hi,

If I invoke Builder.build(InputStream) on an empty stream the following gets outputted to stdout:

[Fatal Error] :1:1: Premature end of file.


This is a Xerces bug that I have reported:

https://issues.apache.org/jira/browse/XERCESJ-841

I could really prevent it in XOM only by shipping a non-standard Xerces, and I'm not sure I could maintain that.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Refactoring HTML Just Published!
http://www.amazon.com/exec/obidos/ISBN=0321503635/ref=nosim/cafeaulaitA




Archive powered by MHonArc 2.6.24.

Top of Page