diff options
Diffstat (limited to 'src/uscxml/plugins/datamodel/xpath/XPathDataModel.cpp')
-rw-r--r-- | src/uscxml/plugins/datamodel/xpath/XPathDataModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uscxml/plugins/datamodel/xpath/XPathDataModel.cpp b/src/uscxml/plugins/datamodel/xpath/XPathDataModel.cpp index c38aef3..842c560 100644 --- a/src/uscxml/plugins/datamodel/xpath/XPathDataModel.cpp +++ b/src/uscxml/plugins/datamodel/xpath/XPathDataModel.cpp @@ -123,7 +123,7 @@ void XPathDataModel::setEvent(const Event& event) { // -- type Element<std::string> eventTypeElem = _doc.createElement("type"); Text<std::string> eventType; - switch (event.type) { + switch (event.eventType) { case Event::INTERNAL: eventType = _doc.createTextNode("internal"); break; |