Re: Saving SVG Document to file with CSS

2004-02-04 Thread Thomas DeWeese
Hi Tjorven, It does look like there may be a bug here. The batik.svggen.XMLWriter doesn't seem to output processing instructions, however looking at the code it would appear that it would throw an exception which you don't seem to be reporting. Additionally the code you show wouldn't actually

Saving SVG Document to file with CSS

2004-02-02 Thread Tjorven Lauchardt
Hi, I have another question: I export an SVG Document (doc) this usual way: SVGGraphics2D generator = new SVGGraphics2D(doc); try { OutputStream out = new FileOutputStream(somefile); Writer w = new OuptutStreamWriter(out,"UTF-8"); generator.stream(doc.getDocumentElement(),