Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] StackOverflowError compiling XOM

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: cowwoc <cowwoc AT bbs.darktech.org>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] StackOverflowError compiling XOM
  • Date: Thu, 10 Jul 2008 19:56:08 -0400


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.





Archive powered by MHonArc 2.6.24.

Top of Page