W3C home > Mailing lists > Public > public-html-xml@w3.org > January 2011

Re: The interpretation of script

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 18 Jan 2011 16:11:10 +0100
To: "Kurt Cagle" <kurt.cagle@gmail.com>
Cc: "Norman Walsh" <ndw@nwalsh.com>, public-html-xml@w3.org
Message-ID: <op.vpie4vzq64w2qv@anne-van-kesterens-macbook-pro.local>
On Tue, 18 Jan 2011 16:04:27 +0100, Kurt Cagle <kurt.cagle@gmail.com>  
> Anne, this brings up another point that occurred to me as I was working  
> on an xqib review. Is there any syntax defined in html5 for attribute  
> based
> script handlers in languages other than javascript, eg onclick =
> "xquery:local:foo($this)" ?  I'm bringing this up in the context of  
> xquery, but it seems likely this might emerge for any language in the  
> browser, such as python or php.

They are tied to ECMAScript. There was once a theoretical http-equiv  
directive called Content-Script-Type, but that got never implemented in  
any meaningful way. Browsers do not support Python or PHP (at least not  
exposed to the web) so this is not a problem I think.

If we ever want to introduce a new scripting language to the web then is  
probably the right time to answer these questions. Trying to anticipate  
everything now is not really feasible I think.

Anne van Kesteren
Received on Tuesday, 18 January 2011 15:11:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:58:27 UTC