summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/uscxml-transform.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/uscxml-transform.cpp b/apps/uscxml-transform.cpp
index 44ca034..62e9278 100644
--- a/apps/uscxml-transform.cpp
+++ b/apps/uscxml-transform.cpp
@@ -174,7 +174,9 @@ int main(int argc, char** argv) {
while (std::getline(std::cin, line)) {
ss << line;
}
- interpreter = Interpreter::fromXML(ss.str());
+ URL tmp("anonymous.scxml");
+ tmp.toAbsoluteCwd();
+ interpreter = Interpreter::fromXML(ss.str(), tmp);
} else {
interpreter = Interpreter::fromURI(inputFile);
}