Which version of Batik are you using? I seem to remember that before v1.5 there was a special step (which I can't remember) to use extensions such as flowText.
You can try to open the flowText.svg file in the batik distribution in samples/extensions. With v1.5 it opens all right.
G


Stefan wrote:
Hello,

I'm running into the following problem trying to
create a SVG 1.2 DOM tree from an URI:
"The current document is unable to create an element
of the requested type (namespace:
http://www.w3.org/2000/svg, name: flow)."

The SVG Document contains elements specified in SVG
1.2 to display text. How can I specify the correct
namespace so I can use SVG 1.2 elements creating the
SVG DOM tree?

Here is how I'm trying to create the DOM tree:
...
String parser =
XMLResourceDescriptor.getXMLParserClassName();
SAXSVGDocumentFactory f = new
SAXSVGDocumentFactory(parser);
Document doc = f.createDocument(someUri);
...

Best regards,
Stefan

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

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



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



Reply via email to