Stjeel wrote:
> Haha,I have found the solution: just change the
>  
> old: var path = root.createElement( 'path' );
>  
>  >>>>>>
>  
> new:     var path = root.createElementNS( 
> http://www.w3.org/2000/svg,'path' );
>  
> the development of the batik is just a nightmare!!!!
> 

Sorry you feel this way. But Batik is doing the right thing:

createElement, with no namespace, does not create an element
in the SVG namespace and is not handled by Batik, which is the proper
behavior. Passing the namespace to createElementNS is the right
thing to do.

Vincent.

>     ----- Original Message -----
>     From: Stjeel <mailto:[EMAIL PROTECTED]>
>     To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>     Sent: Monday, July 22, 2002 2:37 PM
>     Subject: svg whiteboard test failed
> 
>     I have tried use the batik to http://www.nokiko.com/svg/whiteboard.svg
>     but it doesn't work,who can tell me why?
>     I'm using the batik 1.5 beta3, and java1.4 ,winxp
>      
>     regards
>     Stjeel
>      
> 



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

Reply via email to