W3C home > Mailing lists > Public > public-webapi@w3.org > April 2006

Re: ISSUE-72: should XMLHttpRequest be an EventTarget?

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 9 Apr 2006 22:15:07 +0000 (UTC)
To: Jonas Sicking <jonas@sicking.cc>
Cc: Robin Berjon <robin.berjon@expway.fr>, Web APIs WG <public-webapi@w3.org>
Message-ID: <Pine.LNX.4.62.0604092211580.21459@dhalsim.dreamhost.com>

On Sun, 9 Apr 2006, Jonas Sicking wrote:
> So what type should we put in the IDL that works for both ECMAScript and 
> Java? (or do you have a link to where someone already explained it?)

Have you considered having two different IDLs?

Each language should have the API that makes the most sense for that 
language. If that means accepting Function objects in JS and delegates in 
C# and interfaces in Java, then so be it. We don't have to artificially 
limit what the spec says just because we insist on using an inexpressive 
formal language.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 9 April 2006 22:15:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:21 UTC