Thank you very much for your immediate response!
After looking at flowText.svg I got Batik to create
the DOM tree. 
But as I'm developping a web application and I
currently have to use Adobe's SVG Viewer 6pr1 browser
plugin to display the svg document I have to use
<flow> instead of <flowText>. ASV6 does not render
text in <flowText>, it requires <flow>. And the
element <flow> is not in the Batik extension
namespace. So seems like I'm stuck here. Any ideas or
suggestions what I could do?

Regards, 
Stefan


--- Thomas DeWeese <[EMAIL PROTECTED]> wrote:
> Stefan wrote:
> 
> > 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?
> 
>     Batik contains a partial implementation of the
> currently proposed elements however because SVG 1.2
> is not yet a standard and it is not certain or clear
> that these elements will make it into the final
> version of the specification (unchanged or
> otherwise)
> we put our 'trial' implementation of such elements
> in the Batik namespace.
> 
>     You can look at the
> samples/extensions/flowText.svg
> to see how we reference these (note
> the change of the default namespace on
> the flowText element).
> 
> > 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);
> > ...
> 
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________
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]

Reply via email to