summaryrefslogtreecommitdiffstats
path: root/src/uscxml/debug
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-12-14 13:20:04 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-12-14 13:20:04 (GMT)
commit330576fcb4d97504e0d6951067b753499d91b541 (patch)
tree9c583dd3e13ff574295f559a7b92dfe9a1dafd2d /src/uscxml/debug
parent9608216597fd17021d38e80689644beb3c85abb9 (diff)
downloaduscxml-330576fcb4d97504e0d6951067b753499d91b541.zip
uscxml-330576fcb4d97504e0d6951067b753499d91b541.tar.gz
uscxml-330576fcb4d97504e0d6951067b753499d91b541.tar.bz2
Renamed URI to URL
Some fixes for Xincludes
Diffstat (limited to 'src/uscxml/debug')
-rw-r--r--src/uscxml/debug/DebugSession.cpp4
-rw-r--r--src/uscxml/debug/DebuggerServlet.cpp2
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);