cancel
Showing results for 
Search instead for 
Did you mean: 

CRLF information not passed from XI to Proxy code

Former Member
0 Kudos

Hi

We are passing an XML, whose values have CR LF (Carriage Return Line Feed) within it, from XI to proxy code.

In the proxy code we are using the CRLF to parse the information within the values of xml.While testing end to end it is not parsing correctly.

However while testing the xml (using the test functionality of proxy in TC SPROXY) individually it works fine but not from end to end.

Please suggest on the possible issues.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Firstly are you using FTP? If so, it's possible your running in text mode rather than binary and that is automatically translating it at protocol level for you.

Secondly, there are a number of parameters you can introduce that affect handling of whitespace and instruct the field to not be trimmed (I've used them relating to whitespace but not CRLF, however you may have some luck with them). I'm thinking that perhaps these just stop the field from being pre-processed. One is at adapter settings level, and one where you set a parameter in the schema. Do a search for the following on the forum, across all date range:

+whitespace +adapter specific properties

Hope that helps,

James.

Former Member
0 Kudos

If the above doesnt help, please clarify if the CRLF issue is within a field or the entire file.

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

Maybe this page is useful:

http://www.w3schools.com/xml/xml_syntax.asp

"With XML, CR / LF is Converted to LF

With XML, a new line is always stored as LF."

Regards

Stefan