eker-huang / mathmlformula

Automatically exported from code.google.com/p/mathmlformula
0 stars 0 forks source link

Using fmath within MATLAB: upgrade to jdom2 necessary #98

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I would like to use fmath as a Java library in MATLAB to display MathML 
contents. MATLAB brings its own Java environment. Especially it loads its own 
jdom, namely jdom version 1.0.
And here is the problem. Your fmath java library uses jdom too, but in version 
1.1.3. Jdom version 1.0 does not provide all functions that version 1.1.3 has 
so it fails. Unfortunately it is not possible to unload jdom version 1.0 in 
MATLAB.

Is it possible that you change your code to use jdom version 2 (e.g. 2.0.6)?
Then the namespace would change to org.jdom2 (instead of org.jdom) and I could 
load jdom version 2.0.6 in MATLAB and then I could use your fmath within MATLAB.

Original issue reported on code.google.com by mabe.bo...@gmail.com on 19 Aug 2015 at 6:38

GoogleCodeExporter commented 8 years ago

Original comment by ionel.alexandru@gmail.com on 19 Aug 2015 at 1:11