I am doing a project which is a cross-media content management system. The basic component is an SVG-based Applet. Now my application can work with SVG, CSS and JavaScript, but I can’t make the HTML style link work. Since our goal is to display everything on the JSVGCanvas, when a user clicks on a link in an SVG file which is in the form of , we want to display the HTML code on the JSVGCanvas. But the error I got is:
SVG Error:
The current document is unable to create an element of the requested type (namespace:http://www.w3.org/2000/svg,name:html).
java.io.IOException: The current document is unable to create an element of the requested type (namespace: http://www.w3.org/2000/svg, name: html).
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createSVGDocument(Unknown Source)
at org.apache.batik.bridge.DocumentLoader.loadDocument(Unknown Source)
at org.apache.batik.swing.svg.SVGDocumentLoader.run(Unknown Source)
Does Batik currently support this kind of functionality? I doubt about this because I also tested with Squiggle browser of Batik distribution and it also did not work. Since this functionality is essential to our project, could you give me some suggestion to work around this question if Batik does not support? Thank you very much for your help.

With best regards,
William

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to