Hi everybody, i'm using batik to display an SVG in my java applet. This SVG
contains some links to javascript functions as shown:

<svg xmlns="http://www.w3.org/2000/svg";
xmlns:fo="http://www.w3.org/1999/XSL/Format";
xmlns:java="http://xml.apache.org/xslt/java";
xmlns:xlink="http://www.w3.org/1999/xlink";
onmousedown="evt.preventDefault();"
onmouseup="evt.preventDefault();keyboard.notifyMouse(evt);" onkeypress=""
height="678" width="802" zoomAndPan="disable">
        <script type="text/ecmascript" xlink:href="js/Functions.js"/>
        <script type="text/ecmascript" xlink:href="js/MouseAction.js"/>
        <script type="text/ecmascript" xlink:href="js/Button.js"/>
        <script type="text/ecmascript" xlink:href="js/ButtonContainer.js"/>
        <script type="text/ecmascript" xlink:href="js/Frame.js"/>
        <script type="text/ecmascript" xlink:href="js/Movie.js"/>
        <script type="text/ecmascript" xlink:href="js/SVGObject.js"/>
        <script type="text/ecmascript" xlink:href="js/Variable.js"/>
        <script type="text/ecmascript" xlink:href="js/VariablesVector.js"/>
        <script type="text/ecmascript" xlink:href="js/Label.js"/>
        <script type="text/ecmascript" xlink:href="js/TextBox.js"/>
        <script type="text/ecmascript" xlink:href="js/GlassRectangle.js"/>
        <script type="text/ecmascript" xlink:href="js/NodeBuilder.js"/>
        <script type="text/ecmascript" xlink:href="js/rtapi.js"/>
        <script type="text/ecmascript" xlink:href="js/ConfirmedPanel.js"/>
        <script type="text/ecmascript" xlink:href="js/Keyboard.js"/>
        <script type="text/ecmascript" xlink:href="js/Caret.js"/>
        <script type="text/ecmascript"
xlink:href="js/CustomKeyboardListener.js"/>
        <script type="text/ecmascript" xlink:href="js/CustomFunctions.js"/>
        <image height="76" width="802" y="0" x="0"
xlink:href="img/sfondo.png"/>
        <rect stroke-width="1" stroke="rgb(55,84,113)" fill="none"
height="601" width="801" y="76" x="0"/>
        <title/>

My applet downloads this file from server and then opens this file from the
hard drive.
It seems that when SVG rendering is complete and I start browsing this svg
using some JS functions, my applet opens an incredible number of TCP
connections just when a JS function is called (I think...). I've seen that
by monitoring with TCPView the number of connections opened.


Please note I'm quite new with batik and don't know if this problem is in
some way related to it. 

Best regards,
Massimo


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

Reply via email to