The issue:
When readin CDATA elements, carriage return (0xD) are omitted from the output.
Is there a proper way to tell Xmllite to keep CR,
or should I always need a Replace(LF,CRLF) call?
Thanks I.A
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This behaviour (replacing ‘carriage return, line feed’ with ‘line feed’) is required by any conforming XML parser (section 2.11 of the xml 1.0 spec: http://www.w3.org/TR/REC-xml/#sec-line-ends). If you want both control characters in your output you will need to add the carriage return to the string after parsing.