FOP 2.3 and JEuclid

Maxime Bégnis <[email protected]>
Newsgroups gmane.text.xml.fop.user
Message-ID <[email protected]>
Hello,

There is an incompatibility between FOP 2.3 and JEuclid 3.1.9. This 
because FOP uses Batik 1.10.

The class "org.w3c.dom.events.CustomEvent" in Batik 1.8 has be moved to 
"org.apache.batik.w3c.dom.events.CustomEvent" in Batik 1.10.

That's the problem I could spot but I don't know if there are others.

I modified and recompile JEuclid core simply changing the import 
statement in net.sourceforge.jeuclid.elements.presentation.token.Mo and 
that fixed the issue but I didn't make any intensive test yet. Attached 
is the patch.

Is that a known issue? If so, is there a well known way to fix it?

Thanks,

-- 
-- 
*NeoDoc*
*Maxime Bégnis*
[email protected]
Tél: +33 (0)4.42.52.24.20
789 Rue de La Gare
13770 Venelles
France
http://www.neodoc.fr/


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Mo.java.patch (text/x-patch, 682 B)
--- ./jeuclid-parent-3.1.9/jeuclid-core/src/main/java/net/sourceforge/jeuclid/elements/presentation/token/Mo.java	2010-02-12 15:10:32.000000000 +0100
+++ ../jeuclid-parent-3.1.9/jeuclid-core/src/main/java/net/sourceforge/jeuclid/elements/presentation/token/Mo.java	2019-03-25 15:42:26.674417147 +0100
@@ -45,9 +45,9 @@
 
 import org.apache.batik.dom.AbstractDocument;
 import org.apache.batik.dom.events.DOMCustomEvent;
+import org.apache.batik.w3c.dom.events.CustomEvent;
 import org.w3c.dom.Attr;
 import org.w3c.dom.Node;
-import org.w3c.dom.events.CustomEvent;
 import org.w3c.dom.events.Event;
 import org.w3c.dom.events.EventListener;
 import org.w3c.dom.events.EventTarget;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.