W3C home > Mailing lists > Public > public-webapi@w3.org > September 2007

Re: Form Serialization Idea

From: Asbjørn Ulsberg <asbjorn@ulsberg.no>
Date: Fri, 21 Sep 2007 07:27:16 +0200
To: "Garrett Smith" <dhtmlkitchen@gmail.com>, public-webapi@w3.org
Message-ID: <op.tyzn3qfr5rel5w@quark>

On Tue, 11 Sep 2007 22:22:55 +0200, Garrett Smith <dhtmlkitchen@gmail.com>  

> interface HTMLFormElement {
>   string getDataSetString(); raises FileException
>   string toJSONString(); raises FileException
> };

I like the idea, but not this concrete namning proposal. Can't  
'toString()' be overloaded to accommodate this requirement for the  
HTMLFormElement? I'm not quite sure how the overload should look like, but  
I think this variable information fits better in an argument to a method  
than in the method name itself. Thus, I'd rather see:


I'm not quite sure what getDataSetString() would return, though. Could you  

Asbjørn Ulsberg           -=|=-        asbjorn@ulsberg.no
«He's a loathsome offensive brute, yet I can't look away»
Received on Friday, 21 September 2007 05:26:48 UTC

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