Skip to Content
May 09, 2005 at 06:51 PM

XI 3.0 XML-->File content conversion



We are currently using XI 3.0 SP9, I have the following XML document that I wish to covert to a fixed length file using content conversion (One header line followed by a line for each PIITEM):-

<?xml version="1.0" encoding="UTF-8"?>

<ns:PICount xmlns:ns="XML2FileConversion">

















I have set-up a receiver communication channel with the following parameters :-

Recordset structure ns:PICount, PIItem

ns:PICount.fieldFixedLengths 4,10,10,4,4,10,8

PIItem.fieldFixedLengths 18,3

ns:PICount.endSeparator 'nl'

PIItem.endSeparator 'nl'

ns:PICount.fixedLengthTooShortHandling Cut

PIItem.fixedLengthTooShortHandling Cut

ns:PICount.addHeaderLine No

PIItem.addHeaderLine No

When I send the XML message I get the following message appear on the adapter log :-

Consistency error: more fields found in XML structure than specified in conversion parameters! Value '12345678901234567890')'

Any ideas how to get round this problem?