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

Michael Kay mike at saxonica.com
Thu Oct 18 06:39:21 EDT 2007


> > In the method nu.xom.UnicodeUtil.decompose(..) (Xom 1.2b) 
> there is a 
> > 1900ish-levels nested if-else statement that causes my Eclipse java 
> > editor to crash when opening the file. Yes, I know it's not a 
> > XOM-fault, but I thought I'd throw it on the list anyway...

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.

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



More information about the XOM-interest mailing list