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: "Michael Kay" <mike AT saxonica.com>
  • To: <elharo AT metalab.unc.edu>, "'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 16:37:02 +0100

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

Is it in the Apache Xerces or the JDK 1.6 Xerces?

I get the impression they have diverged quite a bit. I'm seeing an awful lot
of nasty bugs that are specific to the JDK 1.6 version of Xerces, to the
point where I've been thinking about whether I can find some way of making
Saxon use the Apache version by default.

Michael Kay
http://www.saxonica.com/





Archive powered by MHonArc 2.6.24.

Top of Page