Author |
Message
|
adrao45 |
Posted: Thu Jul 14, 2005 9:52 pm Post subject: XML parsing error when data is blank - WBIMB (XML domain) |
|
|
Novice
Joined: 29 Nov 2004 Posts: 12
|
Hi,
I am handling the messages in the XML domain. When the data is blank, for example <PCBCED></PCBCED>, i get a XML parsing error. The same message parses when there is a space inserted, for example <PCBCED> </PCBCED>.
Can anyone suggest why this is happening. Is there a fixpack for the same.
Regards,
Vinay
IBM |
|
Back to top |
|
 |
kirani |
Posted: Thu Jul 14, 2005 10:02 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Are you parsing your message against MRM XML message set? If so, what's the definition of this field/element? _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
Bingo |
Posted: Thu Jul 14, 2005 10:11 pm Post subject: parsing Error |
|
|
Novice
Joined: 31 Mar 2005 Posts: 22
|
Hello Vinay,
As Kirani rightly pointed out...............
I guess you are trying to validate your message with MRM domain and that particulr field in the output message set would have properties conflicting with the one being generated. So when u are trying to insert a space it is not failing. Please check the same.
Regds |
|
Back to top |
|
 |
adrao45 |
Posted: Thu Jul 14, 2005 10:17 pm Post subject: |
|
|
Novice
Joined: 29 Nov 2004 Posts: 12
|
Kiran,
I am handling in xml domain and not MRM, so the message sets dont come into picture.
Regards,
Vinay |
|
Back to top |
|
 |
Devasis.Sahu |
Posted: Thu Jul 14, 2005 10:35 pm Post subject: |
|
|
 Apprentice
Joined: 22 Feb 2003 Posts: 43 Location: India
|
Can u post the "exact" error message as thrown out by Broker.... |
|
Back to top |
|
 |
protocol |
Posted: Fri Jul 15, 2005 12:46 am Post subject: |
|
|
 Apprentice
Joined: 25 Feb 2005 Posts: 41
|
Hi Vinay,
I implemented what you have written and it is working perfectly fine. I am not getting any errors.
I dont think this is any fix pack issue. Anyway, fyi i am using WBIMB 5.0.4.
Can you post the error that you are getting ? |
|
Back to top |
|
 |
|