Skip to Content.
Sympa Menu

xom-interest - [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: "Asgeir Frimannsson" <asgeirf AT gmail.com>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] XOM file causes my Eclipse editor to crash
  • Date: Thu, 18 Oct 2007 09:33:58 +1000

Hi,

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

https://bugs.eclipse.org/bugs/show_bug.cgi?id=206697

As a quick sidenote, the decompose method can be very easily refactored into
(IMO) a much cleaner switch() statement rather than the overly long if-else
statements (I have no idea if this also has performance improvements?)...
That's at least how I stopped my Eclipse from crashing :)

...now back to the temptation of poking internal XOM classes.

cheers,
asgeir




Archive powered by MHonArc 2.6.24.

Top of Page