on 07-11-2007 5:34 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.