summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-04-05 07:41:52 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-04-05 07:41:52 (GMT)
commitb7566ef964dca8612257629e182eaf4e467745ba (patch)
tree8029c6a377da02f71ed7008ffb22dc4acdc403d9 /src/uscxml/plugins
parent08936a488af8bb38a287f64b2346e1a9d8287f55 (diff)
downloaduscxml-b7566ef964dca8612257629e182eaf4e467745ba.zip
uscxml-b7566ef964dca8612257629e182eaf4e467745ba.tar.gz
uscxml-b7566ef964dca8612257629e182eaf4e467745ba.tar.bz2
More W3C tests passing
Diffstat (limited to 'src/uscxml/plugins')
-rw-r--r--src/uscxml/plugins/invoker/scxml/USCXMLInvoker.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/uscxml/plugins/invoker/scxml/USCXMLInvoker.cpp b/src/uscxml/plugins/invoker/scxml/USCXMLInvoker.cpp
index 7ad528d..bbd2538 100644
--- a/src/uscxml/plugins/invoker/scxml/USCXMLInvoker.cpp
+++ b/src/uscxml/plugins/invoker/scxml/USCXMLInvoker.cpp
@@ -48,6 +48,8 @@ void USCXMLInvoker::invoke(const InvokeRequest& req) {
_invokedInterpreter = Interpreter::fromURI(req.src);
} else if (req.dom) {
_invokedInterpreter = Interpreter::fromDOM(req.dom);
+ } else if (req.content.size() > 0) {
+ LOG(ERROR) << "Instantiating nested SCXML interpreter by content not supported yet";
} else {
LOG(ERROR) << "Cannot invoke nested SCXML interpreter, neither src attribute nor DOM is given";
}
@@ -73,6 +75,9 @@ void USCXMLInvoker::invoke(const InvokeRequest& req) {
_invokedInterpreter->setInvokeRequest(req);
_invokedInterpreter->start();
+ } else {
+ /// test 530
+ _parentInterpreter->receive(Event("done.invoke." + _invokeId, Event::PLATFORM));
}
}