[jdom-interest] Problem with CR/LF
Han Ming Ong
hanming at apple.com
Thu Sep 25 14:25:09 PDT 2003
http://www.w3.org/TR/REC-xml#sec-line-ends
On Thursday, September 25, 2003, at 12:07 PM, Eric VERGNAUD wrote:
> 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
>
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/
> youraddr at yourhost.com
More information about the jdom-interest
mailing list