Hi Mike, XML parsers are required to normalize [1] line breaks (CR LF -> LF). Are you sure that's not what's happening?
Thanks. [1] http://www.w3.org/TR/2006/REC-xml-20060816/#sec-line-ends Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] Mike Rawlins <[EMAIL PROTECTED]> wrote on 08/13/2007 06:26:48 PM: > Using Xerces-J 2.6.1, org.apache.xerces.parsers.DOMParser class > In parsing the document the getData method in the CDATASection class > seems to be stripping the end-of-line line feeds from the input XML > document being parsed. Is this a known problem, a configurable > feature or what? If it's a problem, has it been fixed in a later > release? If it is a configurable feature, how do I turn it off. I've > tried getFeature("http://apache.org/xml/features/dom/include- > ignorable-whitespace") in the DOMParser and it returns true. The > documentation doesn't seem that it would have much to do with what > I'm observing, but it seemed worth checking. > Thanks! > Mike Rawlins --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]