Posted: Thu Jun 13, 2002 6:10 am Post subject: XML parse error bip5004
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.
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.
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