Skip to Content.
Sympa Menu

xom-interest - RE: [XOM-interest] Having a really bad time, and I fear it's all line endings

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: "'Andrew Thompson'" <lordpixel AT mac.com>, "'Elliotte Harold'" <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: RE: [XOM-interest] Having a really bad time, and I fear it's all line endings
  • Date: Mon, 7 Mar 2005 00:00:52 -0000

> But the file still wouldn't go through when saved as UTF-8.
> So finally I saved it as UTF-8 with no BOM, and the file goes
> through... which is odd. BOM on, exception, BOM off, goes through.

The default parser in JDK 1.4 is Crimson, and Crimson doesn't allow a BOM on
a UTF-8 document.

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






Archive powered by MHonArc 2.6.24.

Top of Page