It is at least my fault, that much is clear, I compiled the exact code from the JSVGCanvas sample and that one works just fine, it's just my own application that goes wild, but the only thing I do is to create the JSVGCanvas object, setup the same listeners as in the example and call loadSVGDocument( string).
At the moment I do not have a clue to what it might be. Mikael ----- Original Message ----- From: "Tonny Kohar" <[EMAIL PROTECTED]> To: "Batik Users" <[EMAIL PROTECTED]> Sent: Thursday, March 25, 2004 6:06 AM Subject: Re: url problem cont. > Hi, > > > There must be something special that the squiggle browser does that is not > > explained in the docs, but I cannot figure out what it is. > > > As soon as there is an url(#a_name) it will not load the svg image, and this > > goes for any SVG image that contains url(#blabla) so > > it is not a problem with the picture, some one else must have had this > > problem to because I use the same code as: > > > > http://xml.apache.org/batik/svgcanvas.html > > > > And load the svg file with: > > svgCanvas.loadSVGDocument( "file:path_to_file"); > > > > As far as I can tell squiggle just call's loadSVGDocument( file) in the same > > way as I do, but there it works > > just fine. > > It maybe not much help. But I always using > svgCanvas.loadSVGDocument(Document doc) instead of file path and never > experience the problem. I load the DOM document because the nature of my > app that I already get the DOM document, so I do not need to parse it > again. > > This one is very interesting I also would like to know more. > > Best Regards > Tonny Kohar > -- > Sketsa > SVG Graphics Editor > http://www.kiyut.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]
