ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML parse error bip5004

Post new topic  Reply to topic
 XML parse error bip5004 « View previous topic :: View next topic » 
Author Message
nr525
PostPosted: Thu Jun 13, 2002 6:10 am    Post subject: XML parse error bip5004 Reply with quote

Novice

Joined: 16 May 2002
Posts: 15
Location: UK

Hi,

I'm processing quite a large number of records through the broker whereby I transform the message from an MRM defined fixed length message to XML. This seems to work just fine for all but two or three test messages. The error I get is as follows;

An error has been reported by the BIPXML4C component: code '65652'; public id ''; line number '1'; column number '58587'; current element 'FV-DESCRIPTION'; error text 'The input ended before all started tags were ended. Last tag started was 'FV-DESCRIPTION''.

Now here is the esql to construct this part of the message;
SET J = 1;

WHILE(J <=100) DO
SET OutputRoot.XML.Orderbook."SPECS-OPTIONS"[J]."FV-OR-FEATURE" = TRIM(InputRoot.MRM.COMMON_ORDER_MESSAGE_BODY.SPECS_OPTIONS[J].FV_OR_FEATURE);
SET OutputRoot.XML.Orderbook."SPECS-OPTIONS"[J]."FV-DESCRIPTION" = TRIM(InputRoot.MRM.COMMON_ORDER_MESSAGE_BODY.SPECS_OPTIONS[J].FV_DESCRIPTION);
SET J = J + 1;
END WHILE;

I can't spot what the problem is and I'm sure its not to do with the fixed length data I'm recieving.

Any assistance is greatly apreciated
AJ
Back to top
View user's profile Send private message
jdouch
PostPosted: Thu Jun 13, 2002 8:37 am    Post subject: Reply with quote

Apprentice

Joined: 31 May 2002
Posts: 32
Location: London, UK

AJ,

Have you declared J as an Integer ?

I don't think you need the brackets round the while (J <=100)

rgds

Julian
_________________
Julian Douch
E-business Solutions Consultant

WMQ/WMQI Specialist
Back to top
View user's profile Send private message Send e-mail
nr525
PostPosted: Thu Jun 13, 2002 11:31 pm    Post subject: Reply with quote

Novice

Joined: 16 May 2002
Posts: 15
Location: UK

Thanks for your response

Yes J is declared and yes you can the brackets or not bother.

Like I said I'm not always having problems with this, but that maybe because there is no data in these fields for the incoming message. However in the problem messages I have data in these fields and once I've constructed the XML and try to re-parse the message I get the error detailed above.

Thanks for your response
AJ
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML parse error bip5004
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.