Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Problem with Xerces/XOMHandler.inInternalSubsetreading from File but not FileReader or FileInputStream

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: "'XOM API for Processing XML with Java'" <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Problem with Xerces/XOMHandler.inInternalSubsetreading from File but not FileReader or FileInputStream
  • Date: Mon, 14 Sep 2009 21:08:28 +0100

> This may or may not be related to your problem, but the first
> thing that jumps out at me is that you should never, never
> use FileReader for anything at all, and especially not for XML.

The other thing that jumps out at me is that you should never, never, use
the Sun fork of Xerces (as built into JDK 1.6) for anything at all, and
especially not for XML. It is ridiculously buggy. Always use Apache Xerces
in preference.

Regards,

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





Archive powered by MHonArc 2.6.24.

Top of Page