W3C home > Mailing lists > Public > www-svg@w3.org > February 2006

Re: [SVGMobile12] A.7.19 gotoLocation

From: Maciej Stachowiak <mjs@apple.com>
Date: Sun, 5 Feb 2006 13:09:51 -0800
Message-Id: <9E4993EF-4D5D-4D73-9651-55B842EAA3B0@apple.com>
Cc: Jonathan Watt <jwatt@jwatt.org>, www-svg@w3.org
To: Boris Zbarsky <bzbarsky@mit.edu>


On Feb 5, 2006, at 8:17 AM, Boris Zbarsky wrote:

> Maciej Stachowiak wrote:
>> Most languages of interest support either argument defaulting, or  
>> overloading based on number of arguments.
>
> But there's no way to generate function overloads from that IDL.   
> That is, the IDL does not express the fact that the arguments are  
> optional, so any sort of system that creates automated language  
> bindings (say C++ header files in Gecko's case) from the IDL will  
> not be able to handle optional arguments.

Mozilla already had to solve this problem for XMLHttpRequest, which  
has methods with optional arguments on e.g. the open() method. What  
approach did you guys take? (More so than the current case at hand,  
which I think is out of scope for SVG anyway, I'd like Web API to  
handle this properly when writing the spec for XMLHttpRequest).

Regards,
Maciej
Received on Sunday, 5 February 2006 21:10:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:53 UTC