Skip to Content.
Sympa Menu

xom-interest - Re: [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: "Michael Kay" <mike AT>
  • To: <elharo AT>, "'cowwoc'" <cowwoc AT>
  • Cc: xom-interest AT
  • 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 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:
> 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

Archive powered by MHonArc 2.6.24.

Top of Page