Hi Jody,
You might try using batik.dom.util.DOMUtilities.writeDocument. It sounds like you are using batik.svggen.XmlWriter which is a little skewed towards the type of output the SVGGraphics2D generates (Which does not include Processing Instructions). The interfaces are almost identical.
Jody Schofield wrote:
I'm trying to embedded one SVG DOM into the one created by the SVGGraphics2D. Everything seems to work fine for most embedded images. However, for a few of them I'm getting an SVGGraphics2DRuntimeException and the message is: Unable to write node of type org.apache.batik.dom.GenericProcessingInstruction.
I assume that my serializer is having troubles with one of the nodes in the embedded SVG (created from a 3rdParty app). How can I tell which instruction it doesn't like? I can't seem to get any more info than the message.
thanks, Jody
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]