on 12-12-2006 9:48 AM
Hi Experts,
I am getting Fatal Error: com.sap.engine.lib.xml.parser.Parser.
This means that source file has invalid xml structure.
But i am able to see the incoming payload in the sxmb_moni.
When i will paste this info in test mapping, it is giving me the error that xml is not well formed.
XML version and encoding is as follows:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
Please help me to understand this behavior of xml processing.
How can i handle this?
Thanking you in advance.
Piyush
Piyush,
Download the XML from SXMb_MONI, save it as an XML file and try to open it in a browser. If you cannot open it in a broswer, take a look at the Entire XML content by opening the same using Notepad / text pad. Check if the XML is valid format , and also check if there is some junk data in the XML.
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have checked with different encoding too but no luck
and
I have exported the xml file and verified that it is opening with IE.
Demo file:--->
Particular field which has problem
<Content> The e-mail system was unable to deliver the message, but did not report a specific reason. Check the address and try again. If it still fails, contact your system administrator.< Email Address # 5.0.0 X-Notes; ユ ー ザ ー Email Address は デ ィ レ ク ト リ の リ ス ト に あ り ま せ ん 。> </Content>
Regards
Piyush
Message was edited by:
Piyush Gangwal
> Demo file:--->
> Particular field which has problem
>
> <Content> The e-mail system was unable to deliver
> the message, but did not report a specific reason.
> Check the address and try again. If it still fails,
> contact your system administrator.<b><u><</u></b> Email Address #
> 5.0.0 X-Notes; ユ ー ザ ー
> Email Address
> は デ ィ レ ク ト
> リ の リ ス ト に
> あ り ま せ ん 。
> <b><u>></u></b> </Content>
>
Are the "<" and ">" characters correctly escaped?
Piyush.
Are you pasting it in the message mapping or uploading the XML file into message mapping.
One way is to check the XML by removing nodes from the last and see if it is fine.Why cannot you generate a test file from the message mapping and process that XML?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sravya,
>>Are you pasting it in the message mapping or uploading the XML file into message mapping.
Pasting.
>>One way is to check the XML by removing nodes from the last and see if it is fine
I have deleted the nodes which have problem and rest xml fine.
>>Why cannot you generate a test file from the message mapping and process that XML?
Interface is running fine for the incoming xml which doesn't have those buggy characters.
If i put the value for the tag manually, then it adds CDATA tag automatically.
And mapping will be executed successfully.
I tried with XSLT mapping but it doestn't work out for partiular messages.
Do i need to put something in sender module or....
Please suggest the way by which i can make this thing work for all cases.
Piyush
Regards
Piyush
Hi Piyush,
Could you mail the XML to me? My email id is prashanth.azharuddin@wipro.com.
cheers,
Prashanth
P.S Please mark helpful answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Piyush,
Try a different encoding technique as already said. Maybe ISO-8859-1 or ISO-8859-16.
cheers,
Prashanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Piyush,
I think this is parser error due to some invalid characters in the data. Try using different encoding like ISO-8859-1.
Check the encoding type in the adapter.
Regards.
Praveen
Message was edited by:
Praveen Kumar
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 | |
10 | |
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.