on 10-26-2013 1:44 AM
Hi,
I have some strange mapping issue. I have fields with String type. However, for some reason, some fields are having extra white space when converted to the file format. When I view the payload in sxi_monitor, it looks fine. But when I open the payload in notepad, the extra white space shows up. Is this a known issue?
SXI_MONITOR:
Notepad:
Hence, the output after file conversion contains the whitespace.
Appreciate your inputs.
Thanks
Hi Mark :
you cannot found whitespace with xml display tools like IE or SXMB_MONI. because such kind of xml tools trim whitespace when display xml document, the essential document content is like to the format of notepad displayed, so you need to take notepad display as reference.
you can trim the whitespace in mapping using UDF.
best regard!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
White spaces won't be visible in moni. You need to take this up from source system (mostly database systems create white spaces) or handle it in PI (trim).
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.