[XOM-interest] Suppressing "[Fatal Error] :1:1: Premature end of file."
Michael Kay
mike at saxonica.com
Fri Oct 24 11:37:02 EDT 2008
> > 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/
More information about the XOM-interest
mailing list