projects
/
shibboleth
/
cpp-xmltooling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64dcaec
)
Load CDATA sections as text content nodes.
author
Scott Cantor
<cantor.2@osu.edu>
Wed, 1 Aug 2007 01:57:08 +0000
(
01:57
+0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Wed, 1 Aug 2007 01:57:08 +0000
(
01:57
+0000)
xmltooling/io/AbstractXMLObjectUnmarshaller.cpp
patch
|
blob
|
history
diff --git
a/xmltooling/io/AbstractXMLObjectUnmarshaller.cpp
b/xmltooling/io/AbstractXMLObjectUnmarshaller.cpp
index
75f5e4e
..
6bc173d
100644
(file)
--- a/
xmltooling/io/AbstractXMLObjectUnmarshaller.cpp
+++ b/
xmltooling/io/AbstractXMLObjectUnmarshaller.cpp
@@
-181,7
+181,7
@@
void AbstractXMLObjectUnmarshaller::unmarshallContent(const DOMElement* domEleme
// Advance the text node position marker.
++position;
}
- else if (childNode->getNodeType() == DOMNode::TEXT_NODE) {
+ else if (childNode->getNodeType() == DOMNode::TEXT_NODE
|| childNode->getNodeType() == DOMNode::CDATA_SECTION_NODE
) {
m_log.debug("processing text content at position (%d)", position);
setTextContent(childNode->getNodeValue(), position);
}