diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-04-05 07:41:52 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-04-05 07:41:52 (GMT) |
commit | b7566ef964dca8612257629e182eaf4e467745ba (patch) | |
tree | 8029c6a377da02f71ed7008ffb22dc4acdc403d9 /src/uscxml/plugins/invoker/scxml/USCXMLInvoker.cpp | |
parent | 08936a488af8bb38a287f64b2346e1a9d8287f55 (diff) | |
download | uscxml-b7566ef964dca8612257629e182eaf4e467745ba.zip uscxml-b7566ef964dca8612257629e182eaf4e467745ba.tar.gz uscxml-b7566ef964dca8612257629e182eaf4e467745ba.tar.bz2 |
More W3C tests passing
Diffstat (limited to 'src/uscxml/plugins/invoker/scxml/USCXMLInvoker.cpp')
-rw-r--r-- | src/uscxml/plugins/invoker/scxml/USCXMLInvoker.cpp | 5 |
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)); } } |