diff options
Diffstat (limited to 'src/uscxml/debug')
-rw-r--r-- | src/uscxml/debug/DebugSession.cpp | 4 | ||||
-rw-r--r-- | src/uscxml/debug/DebuggerServlet.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/uscxml/debug/DebugSession.cpp b/src/uscxml/debug/DebugSession.cpp index d81be51..4d8fda5 100644 --- a/src/uscxml/debug/DebugSession.cpp +++ b/src/uscxml/debug/DebugSession.cpp @@ -108,7 +108,7 @@ Data DebugSession::debugPrepare(const Data& data) { if (data.hasKey("xml")) { _interpreter = Interpreter::fromXML(data.at("xml").atom, ""); } else if (data.hasKey("url")) { - _interpreter = Interpreter::fromURI(data.at("url").atom); + _interpreter = Interpreter::fromURL(data.at("url").atom); } else { _interpreter = Interpreter(); } @@ -119,7 +119,7 @@ Data DebugSession::debugPrepare(const Data& data) { _debugger->attachSession(_interpreter, shared_from_this()); if (data.hasKey("url")) { // this allows to resolve relative external reources - _interpreter.setSourceURI(data.at("url").atom); + _interpreter.setSourceURL(data.at("url").atom); } replyData.compound["status"] = Data("success", Data::VERBATIM); } else { diff --git a/src/uscxml/debug/DebuggerServlet.cpp b/src/uscxml/debug/DebuggerServlet.cpp index 49306a2..64426ff 100644 --- a/src/uscxml/debug/DebuggerServlet.cpp +++ b/src/uscxml/debug/DebuggerServlet.cpp @@ -229,7 +229,7 @@ void DebuggerServlet::processListSessions(const HTTPServer::Request& request) { Data sessionData; sessionData.compound["name"] = Data(instance->getName(), Data::VERBATIM); sessionData.compound["id"] = Data(instance->getSessionId(), Data::VERBATIM); - sessionData.compound["source"] = Data(instance->getSourceURI(), Data::VERBATIM); + sessionData.compound["source"] = Data(instance->getSourceURL(), Data::VERBATIM); sessionData.compound["xml"].node = instance->getDocument(); replyData.compound["sessions"].array.push_back(sessionData); |