xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas DeWeese <Thomas.DeWe...@Kodak.com>
Subject Re: The 'type' attribute of the 'script' element
Date Thu, 13 Jan 2005 01:44:10 GMT
Jonathan Watt wrote:

> I'd like to know exactly which values Batik recognizes for the 'type' 
> attribute of the 'script' element. I understand it supports 
> 'text/ecmascript' and that it at least used to support 'text/javascript' 
> for *external* scripts.

    AFAIK it never supported text/javascript but I could be wrong.
For javascript it only supports 'text/ecmascript'
TCL: 'text/tcl'
Python: 'text/python'

We only bundle the JavaScript interpreter engine.

> Also what does Batik do if the 'type' attribute isn't specified on the 
> tag at all?

    It uses the default value: "text/ecmascript"

To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

View raw message