Home » Categories » Solutions by Business Process » E-Business » XML

XML Error Files

Datafile Software

XML Error Files


If errors occur whilst parsing an input XML file, such errors will be recorded in the audit trail. However, it may not be obvious where, within the original XML file, an error has occurred — particularly if the XML file is of any size. To help diagnose such errors, a transaction definition option is offered to create separate error XML files.

Each error file is a copy of the original XML one, with the word error, a sequence number, and an explanation comprising an error, a brief reason, and what was found if appropriate. These match the errors printed in the XML audit trail. For example:

error-1="105,noRef,01499/0001"
error-2="110,noRef,01499"
error-3="104,noPrime"

The first example refers to a missing line reference; the second to a missing order reference, and the third to there being no prime index for the file concerned. See Appendix 3 below for a list of the error codes. Use the Diagnostic XML File Print to create a report of the error file, or use Notepad or some other text processor on the file itself and look for occurrences of the word "error”.
Custom Fields
  • Release ID: Standard
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
EAN/Product Table Update
Viewed 1247 times since Thu, Jul 5, 2012
Template Attributes
Viewed 1277 times since Mon, Jul 9, 2012
Sales Ledger Transactions (SLT)
Viewed 1650 times since Tue, Jul 10, 2012
Constants File - Other XML Associated Files
Viewed 1285 times since Tue, Jul 10, 2012
General Lookup File - Appendix 6
Viewed 1318 times since Tue, Jul 10, 2012
Sales Ledger Accounts (SLA)
Viewed 3426 times since Tue, Jul 10, 2012
Purchase Order Detail (POD)
Viewed 2631 times since Tue, Jul 10, 2012
clear
Viewed 1286 times since Mon, Jul 9, 2012
Template Configuration Notes
Viewed 3678 times since Mon, Jul 9, 2012
Output XML File Questions
Viewed 1420 times since Mon, Jul 9, 2012