diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2012-10-05 15:31:26 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2012-10-05 15:31:26 (GMT) |
commit | 0ae6c27d9322208053033d9b19c0ffffed3d99eb (patch) | |
tree | 0794b4df38568e03fb01e7fa91e6d4a625db859e /src/uscxml/Message.cpp | |
parent | 64cc2ce105cf57fcba637b309664b4bc74ae7d82 (diff) | |
download | uscxml-0ae6c27d9322208053033d9b19c0ffffed3d99eb.zip uscxml-0ae6c27d9322208053033d9b19c0ffffed3d99eb.tar.gz uscxml-0ae6c27d9322208053033d9b19c0ffffed3d99eb.tar.bz2 |
Implemented DOM
Diffstat (limited to 'src/uscxml/Message.cpp')
-rw-r--r-- | src/uscxml/Message.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uscxml/Message.cpp b/src/uscxml/Message.cpp index a2990b9..9b713ca 100644 --- a/src/uscxml/Message.cpp +++ b/src/uscxml/Message.cpp @@ -7,7 +7,7 @@ namespace uscxml { static int _dataIndentation = 1; -Data::Data(const Arabica::DOM::Node<std::string>& dom, Type type) { +Data::Data(const Arabica::DOM::Node<std::string>& dom) { // we may need to convert some keys to arrays if we have the same name as an element std::map<std::string, std::list<Data> > arrays; // Interpreter::dump(dom); @@ -54,7 +54,7 @@ Data::Data(const Arabica::DOM::Node<std::string>& dom, Type type) { } } else { atom = dom.getNodeValue(); - this->type = type; + type = VERBATIM; } std::map<std::string, std::list<Data> >::iterator arrayIter = arrays.begin(); |