Author |
Message
|
james |
Posted: Wed Jan 31, 2007 5:41 pm Post subject: BIP5004E: XML parsing error (Invalid character (Unicode: 0x0 |
|
|
Novice
Joined: 10 Jan 2003 Posts: 18
|
Hi,
Following is the XML that i am receiving from the source system and its failing in the Compute Node with "BIP5004E: XML parsing error (Invalid character (Unicode: 0x0)) encountered on line 1 column 437 while parsing element SGTXT." .
The XML is
<IN0008>
<HEADER>
<INTERFACE>IN0008</INTERFACE>
<BATCHID>SIN00080000367597XXX</BATCHID>
<CYCLEDATE>20070126</CYCLEDATE>
<RUNDATE>20070131</RUNDATE>
<RUNTIME>06:01:57</RUNTIME>
<TOTALRECORDS>1</TOTALRECORDS>
</HEADER>
<DETAIL>
<RBUKRS>8003</RBUKRS>
<RACCT>0005397150</RACCT>
<RCNTR>C0100130</RCNTR>
<RZZPRODUCT />
<POSID />
<RZZTERTORY>600</RZZTERTORY>
<RPRCTR>P080099</RPRCTR>
<RZZDRH />
<TSL>500.00</TSL>
<KSL>421.50</KSL>
<SGTXT>x102006IANxMACDOUGALL 7</SGTXT>
<DOCTY>SA</DOCTY>
<BUDAT>20070109</BUDAT>
<CPUDT>20070109</CPUDT>
<REFDOCNR>0100000208</REFDOCNR>
<RZZVBUND />
<DOCNR>1018632003</DOCNR>
<XREF1 />
<BKTXT />
<CYCLEDATE>20070126</CYCLEDATE>
</DETAIL>
</IN0008>
Any ideas how to resolve this issue?
Thanks in Advance
James |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jan 31, 2007 6:16 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
james wrote: |
Any ideas how to resolve this issue? |
Tell the source system that they are failing to meet the interface contract by supplying invalid XML data. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
james |
Posted: Mon Feb 05, 2007 2:29 pm Post subject: |
|
|
Novice
Joined: 10 Jan 2003 Posts: 18
|
The Source sytem cant change the data. The whole excercise is to test the Unicode data.
The parsing error is occuring when i do the DETAIL count in the data.
Please let me know if you have anyother ideas. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Feb 05, 2007 2:30 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20763 Location: LI,NY
|
Tell the source system to make sure they are setting the appropriate CCSID on the message. _________________ MQ & Broker admin |
|
Back to top |
|
 |
kimbert |
Posted: Mon Feb 05, 2007 3:46 pm Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5543 Location: Southampton
|
Quote: |
The Source sytem cant change the data. The whole exercise is to test the Unicode data. |
1. What is the test trying to prove?
2. Are you certain that this message is a well-formed XML document according to the XML standard?
3. Does it work on any other XML parser? ( essentially the same question as 2., but this might be a good way to answer it ). |
|
Back to top |
|
 |
|