[XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file."
cowwoc
cowwoc at bbs.darktech.org
Thu Oct 23 20:27:59 EDT 2008
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.
I tracked this down to parser.parse(in) invoked by
Builder.build(InputStream) 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,
Gili
More information about the XOM-interest
mailing list