From 0eeb80201f7b0cec320132546e3a5b5b6e1fae22 Mon Sep 17 00:00:00 2001 From: Stefan Radomski Date: Mon, 22 May 2017 21:23:59 +0200 Subject: Fixed issue 136 --- src/uscxml/transform/ChartToC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uscxml/transform/ChartToC.cpp b/src/uscxml/transform/ChartToC.cpp index cd6ca75..61d1b25 100644 --- a/src/uscxml/transform/ChartToC.cpp +++ b/src/uscxml/transform/ChartToC.cpp @@ -1507,7 +1507,7 @@ void ChartToC::writeElementInfoInvocation(std::ostream& stream) { std::stringstream ss; DOMNodeList* cChilds = contents.front()->getChildNodes(); for (size_t j = 0; j < cChilds->getLength(); j++) { - ss << cChilds->item(j); + ss << *(cChilds->item(j)); } stream << " /* content */ "; stream << (ss.str().size() > 0 ? "\"" + escape(ss.str()) + "\", " : "NULL, ") << std::endl; -- cgit v0.12