diff options
Diffstat (limited to 'src/uscxml/Interpreter.cpp')
-rw-r--r-- | src/uscxml/Interpreter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/uscxml/Interpreter.cpp b/src/uscxml/Interpreter.cpp index dfd9311..8542bba 100644 --- a/src/uscxml/Interpreter.cpp +++ b/src/uscxml/Interpreter.cpp @@ -949,6 +949,10 @@ void InterpreterImpl::send(const Arabica::DOM::Node<std::string>& element) { e.name = "error.execution"; receiveInternal(e); } + // set as content if it's only an atom + if (sendReq.data.atom.length() > 0) { + sendReq.content = sendReq.data.atom; + } } else if (sendReq.content.length() > 0) { sendReq.data = Data::fromJSON(sendReq.content); } |