diff options
author | Stefan Radomski <github@mintwerk.de> | 2014-05-14 12:18:11 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2014-05-14 12:18:11 (GMT) |
commit | 9e5d8abaec38996734f5f0fc3852fb4edbaa7e72 (patch) | |
tree | 4e18049df8f4e5e7676744e43320a3a91e288bdc | |
parent | df6fa13e8d251634f333398017d3b10d32e59008 (diff) | |
parent | 6920a312918f989cd2970277a853fbed52cf0c38 (diff) | |
download | uscxml-9e5d8abaec38996734f5f0fc3852fb4edbaa7e72.zip uscxml-9e5d8abaec38996734f5f0fc3852fb4edbaa7e72.tar.gz uscxml-9e5d8abaec38996734f5f0fc3852fb4edbaa7e72.tar.bz2 |
Merge pull request #30 from sradomski/master
Fixed V8 datamodel
-rw-r--r-- | src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp | 2 |
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 |