summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.cpp
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2017-06-02 12:54:23 (GMT)
committerStefan Radomski <github@mintwerk.de>2017-06-02 12:54:23 (GMT)
commitd1404b669a00a6cff2ac35f09d0222c1d9ab4bff (patch)
tree3e6b6201089104f37816d7ad14b608b859178a61 /src/uscxml/Interpreter.cpp
parent548ca64879a3831abe9102eedad87de0326c6099 (diff)
downloaduscxml-d1404b669a00a6cff2ac35f09d0222c1d9ab4bff.zip
uscxml-d1404b669a00a6cff2ac35f09d0222c1d9ab4bff.tar.gz
uscxml-d1404b669a00a6cff2ac35f09d0222c1d9ab4bff.tar.bz2
Added UTF8 tests
Diffstat (limited to 'src/uscxml/Interpreter.cpp')
-rw-r--r--src/uscxml/Interpreter.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/uscxml/Interpreter.cpp b/src/uscxml/Interpreter.cpp
index 0758cd1..59a5084 100644
--- a/src/uscxml/Interpreter.cpp
+++ b/src/uscxml/Interpreter.cpp
@@ -98,7 +98,7 @@ Interpreter Interpreter::fromXML(const std::string& xml, const std::string& base
Interpreter Interpreter::fromElement(XERCESC_NS::DOMElement* scxml, const std::string& baseURL) {
URL absUrl = normalizeURL(baseURL);
-
+
std::shared_ptr<InterpreterImpl> interpreterImpl(new InterpreterImpl());
Interpreter interpreter(interpreterImpl);
@@ -148,12 +148,12 @@ Interpreter Interpreter::fromURL(const std::string& url) {
URL absUrl = normalizeURL(url);
#ifdef _WIN32
- // Xercesc is hard to build with SSL on windows, whereas curl uses winssl
- if (absUrl.scheme() == "https") {
- return fromXML(absUrl.getInContent(), absUrl);
- }
+ // Xercesc is hard to build with SSL on windows, whereas curl uses winssl
+ if (absUrl.scheme() == "https") {
+ return fromXML(absUrl.getInContent(), absUrl);
+ }
#endif
-
+
std::shared_ptr<InterpreterImpl> interpreterImpl(new InterpreterImpl());
Interpreter interpreter(interpreterImpl);