IBM Support

UP0001 error during XML Data Transformation.

Troubleshooting


Problem

"UP0001 A fatal error occurred" while parsing an XML document.

Symptom

The following error message is issued to the PRTFILE during DT processing of XML input:

UP0001 Severity: 08
A fatal error occurred during parsing of XML document XMLinput at line 1, column 7005. Message text from parser is Expected comment or processing instruction .**** File: EDI.TE51INT.CPP(EDIUPXML) Line: 665 Func: SAXDIHandlers::fatalError(const SAXParse

Cause

The input file is missing an XML prolog prior to each message, e.g. <?xml version="1.0"?>. The first message contains the prolog, but it's missing from subsequent documents within the same input file.

Resolving The Problem

Add the needed XML prolog ahead of each document.

[{"Product":{"code":"SSFKTZ","label":"WebSphere Data Interchange"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"WDI 3.2 for z\/OS","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF025","label":"Platform Independent"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"3.2;3.2.1;3.3","Edition":"All Editions","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
01 August 2018

UID

swg21385006