summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-12-05 16:20:11 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-12-05 16:20:11 (GMT)
commit93f8cb376e6e496f0194d1e0657081354434da96 (patch)
tree551d4b37708cb983b73432029f370b605d76da29 /apps
parenta5a139f46438148901ea6627b73d1bf6ae39b346 (diff)
downloaduscxml-93f8cb376e6e496f0194d1e0657081354434da96.zip
uscxml-93f8cb376e6e496f0194d1e0657081354434da96.tar.gz
uscxml-93f8cb376e6e496f0194d1e0657081354434da96.tar.bz2
Support for xinclude
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);
}