on 10-22-2008 2:42 PM
Hi guys,
I am facing out a quite strange issue.
I am convertin unstructured data to structured one usind the conversion module com.sap.aii.messaging.adapter.Conversion.
But every time there is ">" or "<" I got error.
dozens emails are correctly converted and the ones whichi are not converted can be reprocessed just deleting the above reported symbols.
Any explanation or hint for further analysis is strongly appreciated.
input like below
K1#1716
K2#472191
K3#Do not use batches with code "Bx565yyy"
K3#Material as fresh as possible! (problems concerning absorption
K3#!)
K3#Water content /= 13,1 %!
K4#
K5#0
K6#
is convereted to xml structure like below
<?xml version="1.0" encoding="utf-8" ?>
- <ns:MT_CustomerMaterialMail xmlns:ns="http://sandoz.com/pi/at/of_fs319_lat/customermaster">
- <SINGLE_MATERIAL>
- <CUSTOMER_NUMBER>
<key>K1</key>
<value>1716</value>
</CUSTOMER_NUMBER>
- <PRODUCT_NUMBER>
<key>K2</key>
<value>472191</value>
</PRODUCT_NUMBER>
- <Q_TEXT>
<key>K3</key>
<value>Do not use batches with code "Bx565yyy"</value>
</Q_TEXT>
- <Q_TEXT>
<key>K3</key>
<value>Material as fresh as possible! (problems concerning absorption</value>
</Q_TEXT>
- <Q_TEXT>
<key>K3</key>
<value>!)</value>
</Q_TEXT>
- <Q_TEXT>
<key>K3</key>
<value>Water content /= 13,1 %!</value>
</Q_TEXT>
- <COA_TEXT>
<key>K4</key>
</COA_TEXT>
- <STATUS>
<key>K5</key>
<value>0</value>
</STATUS>
- <PRODUCTION_COMMENTS>
<key>K6</key>
</PRODUCTION_COMMENTS>
</SINGLE_MATERIAL>
</ns:MT_CustomerMaterialMail>
solved on my own.< > & are escaped during text to xml transformation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.