summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/invoker/umundo/UmundoInvoker.cpp
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/plugins/invoker/umundo/UmundoInvoker.cpp
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/plugins/invoker/umundo/UmundoInvoker.cpp')
-rw-r--r--src/uscxml/plugins/invoker/umundo/UmundoInvoker.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uscxml/plugins/invoker/umundo/UmundoInvoker.cpp b/src/uscxml/plugins/invoker/umundo/UmundoInvoker.cpp
index 61008ff..5fd325d 100644
--- a/src/uscxml/plugins/invoker/umundo/UmundoInvoker.cpp
+++ b/src/uscxml/plugins/invoker/umundo/UmundoInvoker.cpp
@@ -187,11 +187,11 @@ void UmundoInvoker::invoke(const InvokeRequest& req) {
std::list<std::string>::const_iterator typeIter = type.begin();
while(typeIter != type.end()) {
URL typeURI(*typeIter);
- if (typeURI.toAbsolute(_interpreter->getBaseURI())) {
+ if (typeURI.toAbsolute(_interpreter->getBaseURL(req.elem))) {
std::string filename = typeURI.asLocalFile(".proto");
umundo::PBSerializer::addProto(filename);
} else {
- LOG(ERROR) << "umundo invoker has relative type src but nor baseURI set with interpreter.";
+ LOG(ERROR) << "umundo invoker has relative type src but no baseURI set with interpreter.";
}
typeIter++;
}
@@ -202,7 +202,7 @@ void UmundoInvoker::invoke(const InvokeRequest& req) {
std::list<std::string>::const_iterator typesIter = types.begin();
while(typesIter != types.end()) {
URL typeURI(*typesIter);
- if (typeURI.toAbsolute(_interpreter->getBaseURI())) {
+ if (typeURI.toAbsolute(_interpreter->getBaseURL(req.elem))) {
umundo::PBSerializer::addProto(typeURI.path());
} else {
LOG(ERROR) << "invoke element has relative src URI with no baseURI set.";