Skip to Content.
Sympa Menu

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

xom-interest AT

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: cowwoc <cowwoc AT>
  • To: xom-interest AT
  • Subject: [XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file."
  • Date: Thu, 23 Oct 2008 20:27:59 -0400


If I invoke on an empty stream the following gets outputted to stdout:

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

I tracked this down to parser.parse(in) invoked by but I could not trace further. Is there a way to suppress this error message (probably triggered by SAX not XOM)? Is it being sent to stdout or to the Java Logging API?

Thank you,

Archive powered by MHonArc 2.6.24.

Top of Page