[jdom-interest] Problem with CR/LF
Eric VERGNAUD
eric.vergnaud at wanadoo.fr
Sun Sep 28 18:23:25 PDT 2003
Thanks, but - I know this is hopeless - wouldn't it be cool if we could have
a tag to temporarily disable this "feature". This would be very useful when
sending content that requires crlfs, like Vcards or Vcalendars.
> 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
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.
> com
More information about the jdom-interest
mailing list