CR+LF inside strings
"Santosh Dawara" <[email protected]> Mon, 18 Jul 2005 13:33:38 -0700
| Newsgroups | gmane.text.xml.soap.user |
|---|---|
| Message-ID | <[email protected]> |
To, Wouter Cloetens <[email protected]>, David Wall <[email protected]>, everyone else on the soap-user list RE: CR+LF inside strings http://mail-archives.apache.org/mod_mbox/xml-soap-user/200105.mbox/%[email protected]%3e Hi, Original thread reproduced here for your convenience: --------------------------------------------------------------------------- Using 2.1, I have a String that contains embedded CR+LF. It's the data accepted directly from a web form's textarea when the user hits the enter key. When I return that String to my Apache SOAP client, it seems like the CR is removed. My string's length is always shorter by the number of pairs. Is there something that can prevent that from happening? Thanks, David Yozons Inc. --------------------------------------------------------------------------- Was this issue ever resolved? Are there any possible work-arounds? I could try manually escape and unescape (on the server-side) the carriage return character, but I wonder if there is a more complete solution I could implement. Thank you for your attention. Regards, Santosh Dawara Research In Motion Limited --------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.