hello,
I am trying to initiate a JSVGCanvas from a String I get from a RMI remote
object
public CanvasProxy(long fps, String rmiRegistryLocation)
throwsNotBoundException, ParserConfigurationException, SAXException,
IOException {
connect(rmiRegistryLocation);
canvas = new JSVGCanvas();
Hi Dao,
Response inline...
Considering the different messages I find, the JSVGCanvas is not
serializable. So, why does it implements serializable?
I didn't check the code for sure, but it might have been
(serializable) in the past and afterward, during some feature
implementation, broken by
Hi Dao,
dao dao.ho...@gmail.com wrote on 12/28/2009 07:12:30 AM:
I get This exception
java.lang.ClassCastException: org.apache.batik.dom.GenericElement
cannot be cast to org.w3c.dom.svg.SVGSVGElement
at org.apache.batik.dom.svg.SVGOMDocument.getRootElement
(SVGOMDocument.java:233)
I don't get why I have a namespace problem.
The string representing the doc is created in the server side like this
private static String formatDoc(SVGDocument doc) throws IOException {
StringWriter stringWriter = new StringWriter();
org.apache.batik.dom.util.DOMUtilities.writeDocument(doc,