Author |
Message
|
Angshuman |
Posted: Tue Jun 25, 2013 3:50 am Post subject: Parsing failed with Unicode null characters |
|
|
Apprentice
Joined: 30 Apr 2009 Posts: 29
|
File parsing is failed with the exception
Quote: |
XML parsing error occurred an unicode character is found at the prolog of the document |
.
Mainframe system is creating xml and broker is procesing the file
When the broker file input node archives the file to mqsiarchive,seems like unicode character is getting trimmed and when the same file is reprocessed,it is succesful.
Anyone have inputs regarding this? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Jun 25, 2013 3:54 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
vikas.bhu |
Posted: Tue Jun 25, 2013 4:00 am Post subject: |
|
|
Disciple
Joined: 17 May 2009 Posts: 159
|
|
Back to top |
|
 |
McueMart |
Posted: Tue Jun 25, 2013 4:01 am Post subject: |
|
|
 Chevalier
Joined: 29 Nov 2011 Posts: 490 Location: UK...somewhere
|
Can you inspect the XML file which the mainframe is creating? Use a hex editor to check there arent any strange characters before the first opening tag. |
|
Back to top |
|
 |
Angshuman |
Posted: Tue Jun 25, 2013 4:27 am Post subject: |
|
|
Apprentice
Joined: 30 Apr 2009 Posts: 29
|
Just to add to it
WMB is in Unix box. Source system is mainframe.
This issue is occurring sometimes.
Quote: |
Can you inspect the XML file which the mainframe is creating?
|
This is happenning in production, and we are not able to re-create it in lower envrionments.
For failed transaction, we are able to reprocess the archived files from input (mqsiarchive) folder successfully. How is that possible? Does it mean broker truncates the null characters during copy file.
Because of this, we do not have a proof that failure is because of null unicode.
Can someone help please. |
|
Back to top |
|
 |
Tibor |
Posted: Wed Jun 26, 2013 3:19 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
It would be more useful, if you could send the whole ExceptionList tree to the forum (if it was logged). |
|
Back to top |
|
 |
|