What is the format of the XML error file generated by TIBCO ActiveMatrix® Adapter for Files (FA)?

What is the format of the XML error file generated by TIBCO ActiveMatrix® Adapter for Files (FA)?

book

Article ID: KB0086618

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Files for Unix and Windows -
Not Applicable -

Description

Resolution:
When using the File Adapter, if the error handling is turned on and the publication service encounters a parsing error in the input file, it creates an XML file that contains the name of the input file and the error details, under the specified error directory. What is the format of the error XML file generated?

The XML file contains an object element for each error. Each object element contains details such as the entire identified object, location of the object in the file, and error details. Below is the sample XML file:

***
<?xml version="1.0" encoding="UTF-8" ?>
- <file name="input.txt20030917151048000">
- <errorObjects>
- <object>
   <contents>Header, -10 </contents>
   <location startLine="1" endLine="1" startOffset="0"
     endOffset="11" />
   <error>Header record contains invalid data field: Header,  -10
   [-10]</error>
  </object>
  </errorObjects>
</file>
***

Issue/Introduction

What is the format of the XML error file generated by TIBCO ActiveMatrix® Adapter for Files (FA)?