Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Exception in XML Parser

Hi everybody!

I have one problem with the Receiver File Communication Channel configuration. I'll try to explain my scenario:

I have to write a file with a complex structure, tabulation indicates the line is inside previous and the numbers just the possible occurences of the line.

Lin1 (1)

Lin2 (1-10)

Lin3 (1-100)

Lin4 (1-99)

€ Lin5 (n)

Lin6 (n)

Lin7 (1-10)

Lin8 (1-9999)

Lin9 (1-5)

Lin10 (n)

Lin11 (n)

Lin12 (1-5)

When I send an Idoc, the adapter monitoring shows me this error:

"Error: Message processing failed: Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value 'Lin5')', probably configuration error in file adapter (XML parser error)'"

The thing is that in the xml payload is a node called Lin5 with 3 elements and in the conversion parameteres I have these lines:




So I don't understand where the problem is. Any idea? Thankyou in advance!!

Former Member
Not what you were looking for? View more on this topic or Ask a question