Have you looked at the path SegList API's from the SVG DOM?
Batik does implement them which would save you the parsing.


that's a useful suggestion - I will have a look at them. Currently I use a js-object from Kevin Lindsey that gives me back a list of path-segments, but a native implementation might be faster.

The question is on how I could send the data from the Batik-Squiggle viewer to the database. .getURL(), while supported by Batik, as to my understanding, is limited to sending at most 255 characters? Is that true?


I think this depends a bit on the systems in use.


on the SVG developer list someone told me that the he was able to send about 10000 characters or more data using getURL() - I don't know if there is a real limit on the amount of data we can send with getURL()

--> see post http://groups.yahoo.com/group/svg-developers/message/45967

Are you planning to implement postURL() in the near future?


   I just looked it up and it appears that it is pretty simple
to write and since it will be in SVG 1.2 we should do it.

thank you, that's useful


I know, it is also possible to use Java for communication, but my goal would be to do everything in pure Javascript, if possible. Because it should work in other SVG viewers as well. Also my Java knowledge is almost zero. Well maybe it wouldn't be that complicated, if I knew how.


   It actually should be pretty trivial, but unless you decide that
you want to do your application in Java, I don't think you should
tailor an application to a particular viewer.


you are right here. In the past I found it more and more easy to write code that works in ASV3, ASV6 and Batik. I found Batik more useful for debugging than ASV. That's why I use Batik more and more for development, while most deployment is still on ASV, because people want to use it from within a webbrowser.

I am very glad that you continue to support Batik and gradually improve it towards full scripting/DOM support. For my own personal work the scripting/DOM part is much more important than the SMIL/Animation part of SVG. I am also pretty sure that I will soon use your recently introduced support of the .getIntersectionList() method.

Thanks for your support, Thomas!

Andreas

--
--
---------------------------------------------- Andreas Neumann - Department of Cartography Swiss Federal Institute of Technology (ETH) ETH Hoenggerberg, CH-8093 Zurich, Switzerland Phone: ++41-1-633 3031, Fax: ++41-1-633 1153 e-mail: [EMAIL PROTECTED] www: http://www.karto.ethz.ch/neumann/ SVG.Open: http://www.svgopen.org/ Carto.net: http://www.carto.net/



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



Reply via email to