summaryrefslogtreecommitdiffstats
path: root/src/uscxml/interpreter/InterpreterDraft6.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/interpreter/InterpreterDraft6.cpp')
-rw-r--r--src/uscxml/interpreter/InterpreterDraft6.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/uscxml/interpreter/InterpreterDraft6.cpp b/src/uscxml/interpreter/InterpreterDraft6.cpp
index 48ba78f..f79049d 100644
--- a/src/uscxml/interpreter/InterpreterDraft6.cpp
+++ b/src/uscxml/interpreter/InterpreterDraft6.cpp
@@ -441,13 +441,13 @@ void InterpreterDraft6::enterStates(const Arabica::XPath::NodeSet<std::string>&
}
#endif
if (isFinal(stateElem)) {
-
- Arabica::DOM::Element<std::string> doneData;
- Arabica::XPath::NodeSet<std::string> doneDatas = filterChildElements(_nsInfo.xmlNSPrefix + "donedata", stateElem);
- if (doneDatas.size() > 0) {
- // only process first donedata element
- doneData = Element<std::string>(doneDatas[0]);
- }
+
+ Arabica::DOM::Element<std::string> doneData;
+ Arabica::XPath::NodeSet<std::string> doneDatas = filterChildElements(_nsInfo.xmlNSPrefix + "donedata", stateElem);
+ if (doneDatas.size() > 0) {
+ // only process first donedata element
+ doneData = Element<std::string>(doneDatas[0]);
+ }
internalDoneSend(stateElem, doneData);
Node<std::string> parent = stateElem.getParentNode();