Hi Urs and Lewis. Urs Reupke: > Examples at the W3C site show their SVGs using the same namespace, > but with an additional attribute 'version="1.2"'. Specifying that > attribute didn't change anything however, I keep getting exceptions:
Indeed you need to specify the version="1.2" attribute. > "org.w3c.dom.DOMException: The current document is unable to create an > element of the requested type (namespace: http://www.w3.org/2000/svg, > name: flowRoot)." > > at org.apache.batik.dom.AbstractNode.createDOMException > at org.apache.batik.dom.svg.SVGDOMImplementation.createElementNS > at org.apache.batik.dom.svg.SVGOMDocument.createElementNS > at org.dom4j.io.DOMWriter.appendDOMTree(DOMWriter.java:184) > [...] Perhaps you're not using a recent enough version of Batik? I might point out that when SVG 1.2 Full starts being worked on again the syntax for flowing text will almost certainly change again. When that happens expect the code in SVN to change accordingly. -- Cameron McCormack ICQ: 26955922 cam (at) mcc.id.au MSN: cam (at) mcc.id.au http://mcc.id.au/ JBR: heycam (at) jabber.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
