Xerces-C is behaving as required by the XML specification. See http://www.w3.org/TR/2006/REC-xml-20060816/#sec-line-ends.
-----Original Message----- From: AidySun [mailto:[email protected]] Sent: Monday, May 24, 2010 6:40 AM To: [email protected] Subject: About DOMNode::getTextContent() in Xerces C++ The xml file content looks like: http://old.nabble.com/file/p28655579/xml.png I would get the result "1st line\n2nd line" through DOMNode::getTextContent() on Windows. In fact, my excepted result is "1st line\r\n2nd line". Is it the limitation of DOMNode::getTextContent() that it would ignore '\r', or something else? Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
