Hi Adam,
ACE91 <[EMAIL PROTECTED]> wrote on 11/08/2007 06:34:25 PM:
> Tried this, and it didn't quite work. I think I'm not doing something
right.
> Here's an example of what happens:
>
> If I do this in my Java app...
>
> Interpreter i = BridgeContext.getInterpreter("text/ecmascript");
Where do you get BridgeContext from?
Are you getting it from the canvas after the document is loaded?
> ...then it works. So apparently, the script block in the SVG file is not
> using the same interpreter as the one that I'm using in my Java program.
How
> do I get the interpreter that the SVG file's <script> block is using?
I suspect you are creating a 'disconnected' BridgeContext instance
rather than using the one associated with the document loaded in the
JSVGCanvas.