E-FLO: XML Import Fails on Unexpected Tags instead of Ignoring them on PeopleTools 8.53.15-8.53.19 and 8.54.01-8.54.07 (Doc ID 2006436.1)

Last updated on NOVEMBER 23, 2015

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.53 to 8.54 [Release 8.4]
Information in this document applies to any platform.

*** Latest revision / check for currency: 23-Nov-2015 ***

Symptoms

On PeopleTools release 8.53 or 8.54 File Layout based reading of XML files containing extra tags or comments fails with errors, sometimes crashes the process.

By extra tags here are meant those that are not defined in the correspondent File Layout definition, and such unknown tags are supposed to be simply ignored.
Here is how the delivered product documentation puts it:

"- If the XML input file contains extra fields that are not specified in the file layout definition, then the ReadRowset method ignores the extra fields." 

And so they are in 8.52 or earlier releases, but not on 8.53 or 8.54 early maintenance releases, which show in PeopleCode traces errors like the following:

... CFileXML::SearchingForSegStartTagSuffix (error): tag, "tagname", within found start-tag, "<tagname>", is invalid and unexpected.
... CFileXML::SearchingForSegStartTagSuffix: since a serious error occurred parsing the current XML data input file, the remaining contents of this file will be ignored. 

Or like the following (real-life sample with a delivered AE program and an XML containing comments):

... CFileXML::SearchingForSegStartTagSuffix (error):  tag, "!--X--", within found start-tag, "<!--X-->", is invalid and unexpected.
... CFileXML::SearchingForSegStartTagSuffix:  since a serious error occurred parsing the current XML data input file, the remaining contents of this file will be ignored.
... ..............
... 109:             throw CreateException(158, 15216, "Unable to read the file data", PSIB_INFILE_AET.IB_FILE_INBOUND);
... Fetch Field: PSIB_INFILE_AET.IB_FILE_INBOUND Value=/u02/app/psoft/local/reports3/gatx_vessel/input/Ad
... ErrorReturn-> 15216 - Unable to process file {...path/name...}  Check if the file matches with the File Layout Definition. (158,15216) ... 

The same XML file after removing the extra tags is read by the same code successfully, this can be used as workaround sometimes, not always.

Changes

Usually discovered after a PeopleTools upgrade from release 8.52 or earlier, on which the same or similar XML files import(ed) successfully, to 8.53 or 8.54 without applying the latest maintenance.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms