[jdom-interest] Problem with CR/LF

Eric VERGNAUD eric.vergnaud at wanadoo.fr
Thu Sep 25 12:07:55 PDT 2003


Hi JDOM,

I'm not sure whether this is a JDOM or an underlying parser subject, however
here it is:

In a stream, I receive the following

<tag>some text with crlf\r\nanother line\r\n</tag>

When I parse this stream, the element data becomes:

Sometext with crlf\n nanother line\n

Note that the crlf has turned into a lf. I've been looking around an around
trying to find out how to prevent this with no success.

Any help will be appreciated.

Regards,

Eric





More information about the jdom-interest mailing list