[XOM-interest] StackOverflowError compiling XOM

cowwoc cowwoc at bbs.darktech.org
Thu Jul 10 19:56:08 EDT 2008


	I don't see anything suspicious in XSLTransform.java but 
UnicodeUtil.getCombiningClass() looks like it could be your culprit. 
Does XSLTransform somehow lead back to this method?

	There should definitely be a better way of mapping characters than 
dumping a whole slew of if statements into a method. Have you tried 
asking on the Java discussion forums?

Gili

Elliotte Rusty Harold wrote:
> Michael Kay wrote:
>>> 	What does XOM do differently from other programs which 
>>> causes compiler problems?
>>>
>> I believe it has some large tables of Unicode characters.
>>
> 
> That's pretty much it. XOM skates very close to the maximum legal size 
> of a Java method.
> 
>> I had the same problem in Saxon but found ways of encoding the data to work
>> around the compiler limits. It's pretty messy though.
>>
> 
> I'll have to take a look at what you did some time.
> 


More information about the XOM-interest mailing list