xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file."
- From: Tatu Saloranta <cowtowncoder AT yahoo.com>
- To: cowwoc <cowwoc AT bbs.darktech.org>, elharo AT metalab.unc.edu
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file."
- Date: Mon, 27 Oct 2008 09:25:41 -0700 (PDT)
--- On Fri, 10/24/08, Elliotte Harold <elharo AT metalab.unc.edu> wrote:
> From: Elliotte Harold <elharo AT metalab.unc.edu>
> Subject: Re: [XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end
> of file."
> To: "cowwoc" <cowwoc AT bbs.darktech.org>
> Cc: xom-interest AT lists.ibiblio.org
> Date: Friday, October 24, 2008, 6:46 AM
> 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.
I may be wrong here, but could it be that Xerces has a default ErrorHandler
that prints out problem descriptions to stdout (or has hard-coded handling
for the case where no listener is registered)?
If so, you could replace it with an empty/dummy handler of your own to
resolve the problem.
-+ Tatu +-
-
[XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file.",
cowwoc, 10/23/2008
-
Re: [XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file.",
Elliotte Harold, 10/24/2008
-
Re: [XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file.",
Michael Kay, 10/24/2008
- Re: [XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file.", Elliotte Rusty Harold, 10/24/2008
-
Re: [XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file.",
Tatu Saloranta, 10/27/2008
-
Re: [XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file.",
Elliotte Rusty Harold, 10/27/2008
-
Re: [XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file.",
Steve Loughran, 10/28/2008
- Re: [XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file.", Elliotte Harold, 10/29/2008
-
Re: [XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file.",
Steve Loughran, 10/28/2008
-
Re: [XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file.",
Elliotte Rusty Harold, 10/27/2008
-
Re: [XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file.",
Michael Kay, 10/24/2008
-
Re: [XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file.",
Elliotte Harold, 10/24/2008
Archive powered by MHonArc 2.6.24.