summaryrefslogtreecommitdiffstats
path: root/src/uscxml
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-05-14 12:17:55 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-05-14 12:17:55 (GMT)
commit6920a312918f989cd2970277a853fbed52cf0c38 (patch)
tree4e18049df8f4e5e7676744e43320a3a91e288bdc /src/uscxml
parentcc580e3c27c45f56193e3add35a8cc00dcd19b31 (diff)
downloaduscxml-6920a312918f989cd2970277a853fbed52cf0c38.zip
uscxml-6920a312918f989cd2970277a853fbed52cf0c38.tar.gz
uscxml-6920a312918f989cd2970277a853fbed52cf0c38.tar.bz2
Fixed V8 datamodel
Diffstat (limited to 'src/uscxml')
-rw-r--r--src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp b/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp
index b18e039..385ee1c 100644
--- a/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp
+++ b/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp
@@ -94,7 +94,7 @@ boost::shared_ptr<DataModelImpl> V8DataModel::create(InterpreterImpl* interprete
dm->_dom = new V8DOM();
// dom->interpreter = interpreter;
dm->_dom->xpath = new XPath<std::string>();
- dm->_dom->xpath->setNamespaceContext(*interpreter->getNameSpaceInfo().nsContext);
+ dm->_dom->xpath->setNamespaceContext(*interpreter->getNameSpaceInfo().getNSContext());
dm->_dom->storage = new Storage(URL::getResourceDir() + PATH_SEPERATOR + interpreter->getName() + ".storage");
dm->_dom->nsInfo = new NameSpaceInfo(interpreter->getNameSpaceInfo());
// see http://stackoverflow.com/questions/3171418/v8-functiontemplate-class-instance