You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Jonathan Watt <jo...@strath.ac.uk> on 2005/01/13 02:33:02 UTC
The 'type' attribute of the 'script' element
Hi,
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.
Also what does Batik do if the 'type' attribute isn't specified on the
tag at all?
Regards,
Jonathan
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
Re: The 'type' attribute of the 'script' element
Posted by Thomas DeWeese <Th...@Kodak.com>.
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