diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-11-23 16:21:05 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-11-23 16:21:05 (GMT) |
commit | fa50ad507898d1e119ddd9ed35fd9b3b0ccf2659 (patch) | |
tree | fe1acb6c722a1dae1528658e68db8a996acf9039 /src/uscxml/interpreter/BasicContentExecutor.cpp | |
parent | 7e0257c3f89bf3d3ed35053b89436bba691b60ce (diff) | |
download | uscxml-fa50ad507898d1e119ddd9ed35fd9b3b0ccf2659.zip uscxml-fa50ad507898d1e119ddd9ed35fd9b3b0ccf2659.tar.gz uscxml-fa50ad507898d1e119ddd9ed35fd9b3b0ccf2659.tar.bz2 |
Fixed space normalization in content element
Diffstat (limited to 'src/uscxml/interpreter/BasicContentExecutor.cpp')
-rw-r--r-- | src/uscxml/interpreter/BasicContentExecutor.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/uscxml/interpreter/BasicContentExecutor.cpp b/src/uscxml/interpreter/BasicContentExecutor.cpp index 9f58b46..6b12afd 100644 --- a/src/uscxml/interpreter/BasicContentExecutor.cpp +++ b/src/uscxml/interpreter/BasicContentExecutor.cpp @@ -630,12 +630,14 @@ Data BasicContentExecutor::elementAsData(XERCESC_NS::DOMElement* element) { for (auto textIter = textChildren.begin(); textIter != textChildren.end(); textIter++) { contentSS << X((*textIter)->getNodeValue()); } - try { +#if 0 + try { Data d = _callbacks->getAsData(contentSS.str()); if (!d.empty()) return d; } catch(...) {} - +#endif + // test294, test562 return Data(spaceNormalize(contentSS.str()), Data::VERBATIM); } } @@ -644,4 +646,4 @@ Data BasicContentExecutor::elementAsData(XERCESC_NS::DOMElement* element) { return Data(); } -}
\ No newline at end of file +} |