Hi,

I'm currently adding support for the data module, and I have a quick
question about the specification that I was hoping you could answer for me.

For the <data> element, the src attribute can reference a URI containing a
legal data value. I think that what constitutes legal data values is defined
in the profile. The specification of the ecmascript profile seems to imply
that legal data values should be formatted as JSON. But the browser runtime
also has good support for XML, and so I think it would be useful to be able
to specify whether the data referenced at the URI should be handled as JSON
or XML. The handleAs property of the Dojo toolkit's
dojo.xhrGet<http://api.dojotoolkit.org/jsdoc/dojo.xhrGet>API is a good
example of what I have in mind for this. In the scxml
specification, is there any way to specify the way a referenced URI should
be handled?

Please let me know what you think. Thanks,

Jake

Reply via email to