Hi,

On Thu, Sep 18, 2008 at 6:02 PM, John C. Turnbull
<[EMAIL PROTECTED]> wrote:
> When I build Batik 1.8pre from the latest sources, I get an error when I run
> Squiggle complaining "Unknown language: text/ecmascript" whenever I open an
> SVG that uses JavaScript.
>
> Clearly I have done something wrong or missed something... but what
> exactly?  What is it that binds Batik to JavaScript that I am obviously not
> doing?

Not sure what you are doing given the context. But make sure to
include js.jar (this is the mozilla rhino interpreter).
Also for Javascript to work correctly, the DOM document should have
document URI (either fake or real, but can't be null). That kind of
error is usually (not always) because you create document on the fly
but forget to set the document URI

We have the similar error in our case last time, but it is due to we
are incorrectly clone the document and forget to set the document URI.

Cheers
Tonny Kohar
-- 
Sketsa SVG Editor
imagine, design, create ...
http://www.kiyut.com

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

Reply via email to