Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] core package 400 kb!?!

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Michael Kay <mike AT saxonica.com>
  • Cc: 'xom-interest' <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] core package 400 kb!?!
  • Date: Thu, 29 Mar 2007 13:39:36 -0400

Michael Kay wrote:

The most frequent problem I see with Crimson is that it doesn't allow UTF-8
files to start with a BOM - which isn't strictly a bug because at the time
it was released the XML spec wasn't clear on the point - but it's a common
problem anyway.

I might be able to work around that one. I'll have to think about it. I could notice if the parser is Crimson and, if it is, strip off any initial UTF-8 byte order mark before passing it to the parser.

However what if the document is then not UTF-8? Could this change a malformed document into a well-formed one or vice versa in any circumstances?

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/




Archive powered by MHonArc 2.6.24.

Top of Page