W3C home > Mailing lists > Public > www-voice@w3.org > January to March 2011

[VoiceXML] Submission of compound objects

From: Dr. Dirk Schnelle-Walka <dirk.schnelle@jvoicexml.org>
Date: Fri, 07 Jan 2011 11:10:24 +0100
Message-ID: <4D26E690.9050309@jvoicexml.org>
To: www-voice@w3.org
Hi all,

the spec for the submit tags reads:
When an ECMAScript variable is submitted to the server its value is 
first converted into a string before being submitted. If the variable is 
an ECMAScript Object the mechanism by which it is submitted is not 
currently defined. The mechanism of ECMAScript Object submission is 
reserved for future definition. Instead of submitting ECMAScript Objects 
directly, the application developer may explicitly submit properties of 
Object as in "date.month date.year".

What is the correct behaviour of a compliant platform if the user tries 
to submit a compound object like
var A = new Object();
A.B = "test";

Dirk
Received on Friday, 7 January 2011 10:11:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 7 January 2011 10:11:13 GMT