>>>>> "WH" == William Huang <[EMAIL PROTECTED]> writes:
WH> I want to use the 1.2 flowtext functionality for better dynamic WH> text support, that is, not to use tspan to break a WH> paragraph. Although I've included the relevant programs such as WH> org.apache.batik.extension.svg and I know WH> ExtensibleSVGDOMImplementation.java is called, I still got the WH> following error: WH> java.io.IOException: The current document is unable to create an WH> element of the requested type (namespace: WH> http://www.w3.org/2000/svg, name: flowText). at If you look at the flowText examples: xml-batik/samples/extensions/flowText.svg you will notice that currently the flowText elements are in the Batik Extension namespace (xmlns:batik="http://xml.apache.org/batik/ext"). This is true for two reasons. First, the definition of flow text isn't settled within the working group (although at least the basic technology required is starting to settle - the markup is still a bit up in the air). Second, it doesn't implement what the drafts currently call for (as it was done to provide feedback for those drafts). I suggest you look at the batik example and how it uses namespaces it should make it clear how to leverage what is currently implemented. WH> org.apache.batik.dom.util.SAXDocumentFactory.createDocument(SAXDocumentF WH> actory.java:356) at WH> org.apache.batik.dom.util.SAXDocumentFactory.createDocument(SAXDocumentF WH> actory.java:277) at WH> org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(SAXSVGDocu WH> mentFactory.java:160) at WH> org.apache.batik.dom.svg.SAXSVGDocumentFactory.createSVGDocument(SAXSVGD WH> ocumentFactory.java:84) at WH> org.apache.batik.bridge.DocumentLoader.loadDocument(DocumentLoader.java: WH> 92) at WH> org.apache.batik.swing.svg.SVGDocumentLoader.run(SVGDocumentLoader.java: WH> 72) Could you help me to figure out what I missed to include? And WH> how could I set up to use the FlowText functionality? Thanks a WH> lot. WH> With best regards, William <html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
