[OpenAjaxIDE] Default for <returns> is void?

Jon Ferraiolo jferrai at us.ibm.com
Tue Aug 5 10:12:49 PDT 2008

Hi Kin,
I had misread the ECMA-262 spec. You are right. There is no 'void' data
type, and there is indeed an "Undefined" data type. (Uppercase instead of
lowercase). I believe what we need to do to the spec is:

(1) Say that the lack of a <returns> sub-element is equivalent to <returns
(2) In the description of the 'datatype' attribute, change "void" to


             "Kin Blas"                                                    
             <jblas at adobe.com>                                             
             Sent by:                                                   To 
             ide-bounces at opena         <ide at openajax.org>                  
             jax.org                                                    cc 
             08/05/2008 09:28          Re: [OpenAjaxIDE] Default for       
             AM                        <returns> is void?                  

Why not have it be “undefined” to be consistent with JS since there is no
“void” data type?

--== Kin ==--

From: ide-bounces at openajax.org [mailto:ide-bounces at openajax.org] On Behalf
Of Jon Ferraiolo
Sent: Tuesday, August 05, 2008 9:23 AM:
To: ide at openajax.org
Subject: [OpenAjaxIDE] Default for <returns> is void?

Just checking - please tell me if you disagree:

If a <method> does not include a <returns> sub-element, then I assume that
the default is equivalent to:

<returns datatype="void"/>

IDE mailing list
IDE at openajax.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openajax.org/pipermail/ide/attachments/20080805/794b9885/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://openajax.org/pipermail/ide/attachments/20080805/794b9885/attachment.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic10889.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
Url : http://openajax.org/pipermail/ide/attachments/20080805/794b9885/attachment-0001.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
Url : http://openajax.org/pipermail/ide/attachments/20080805/794b9885/attachment-0002.gif 

More information about the IDE mailing list