Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XOM file causes my Eclipse editor to crash

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 AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] XOM file causes my Eclipse editor to crash
  • Date: Thu, 18 Oct 2007 06:53:06 -0400

Michael Kay wrote:

I had a few problems with compiler limits in this area in Saxon too, though
my approach is a bit different. I ended up creating a source module
containing the raw data in which the lists of integers are represented as
strings containing comma-separated base-32 values; I then parse the strings
out into the run-time tables needed to drive the algorithm. Don't ask me why
it wasn't base-64, I'm sure it made sense at the time.


I've done something like that too in a different method. I suspect we're doing it for the same reason: lookup tables that cover the entire Basic Multilingual Plane to enable fast checking of various character properties.

--
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