Default target of <send>

http://www.w3.org/TR/scxml/#SendTargets

"If neither the 'target' nor the 'targetexpr' attribute is specified,  the SCXML Processor must add the event will be added to the external event queue of the sending session."

Beside the bad syntax, I think this should only be required for type="SCXML". Other types should be able to define their own default target.
For example, it makes sense for type="DOM" to default to some element in the parent DOM (like the <scxml> element if present) rather than the SCXML session itself.

			David

Received on Monday, 11 February 2013 22:06:50 UTC