Hi Cyannick,

Cyannick <[email protected]> wrote on 07/02/2009 05:36:23 AM:

> <script type="text/javascript">

> This morning I tried changing script type to text/ecmascript with the 
type
> attribute. And suddenly it works !

    I don't know the current status but text/ecmascript used
to be the only supported mimetype for ecmascript scripts.
But the current (SVN at least) version of Batik now 
supports:
        "application/ecmascript",
        "application/javascript",
        "text/ecmascript",
        "text/javascript",

> Note that I had previously tested with text/javascript an onload event 
with
> a function that sleeped for a few seconds and then changed the rectangle
> color. This worked fine so I concluded that text/javascript was well
> supported.

   Perhaps you switched versions of Batik?

Reply via email to