on 10-10-2011 3:29 PM
Hi All,
we have an issue.......... trailing spaces are getting truncated in text message.
Scenario: xml to file.
XML structure :
Header
line1
line2
line3
.......
......
as the files are not having fixed lengths we are using a xslt mapping to convert it to text...we have used preserve space functionality still its truncating the trailing space
for example:
Header1 Header2 Header3 Header4
abcd abcd ab
1234 1234 1234 1234
after 'ab' there are spaces , but these are getting truncated..... I tried file format (FCC parameter at receiver) , it did not work
Stylus is preserving spaces when I test the same file , but XI is truncating the same.
Some useful information,
http://www.xmlplease.com/whitespace
Point Number 8 is close to your issue.
-santosh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran,
Try this - "fixedLengthTooShortHandling = cut" in FCC. This should solve your issue.
regards,
Younus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried this way?
NameA.fieldContentFormatting = nothing
Note: Specify nothing to ensure that the value remains unaltered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Kiran
Are you getting the spaces truncated in you mapping itself or when you are looking at the file at the final output.
(Please test the mapping only and confirm this)
If that is not the case and the spaces are truncated at output then the problem might be in the adapter, please check the Transfer Mode whether it is text or binary..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Actually it seems we have the same problem with truncated trailing blanks. Do you have a solution in the meantime ?
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.