Dear all, I am trying to display a document which was created with a different DOM implementation. The documentation seems to suggest this is possible but I get an exception. Please could someone explain what's happening? Example code fragment: Document d = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(FILENAME); JSVGCanvas canvas = new JSVGCanvas(); canvas.setDocument(d); and the exception is Exception in thread "main" java.lang.ClassCastException: org.apache.batik.dom.GenericElement cannot be cast to org.w3c.dom.svg.SVGSVGElement
Thanks Peter --------------------------------------------------------------------- To unsubscribe, e-mail: batik-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: batik-users-h...@xmlgraphics.apache.org