E-IB: Document Technology -Truncating Data while parsing XML

(Doc ID 2238637.1)

Last updated on MARCH 20, 2017

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.55 and later
Information in this document applies to any platform.


On Peopletools 8.55

If the data is bigger than 433KB the document node is truncating the data

if the data is bigger than 433KB the document node is truncating the data. But it should not be truncated.

The issue can be reproduced at will with the following steps:

1. imported the document project, and use below test code and provided sample file, can replicate the issue

Local Document &Doc;

&Doc = CreateDocument("AD_ECM", "DCTMResponse", "V2");
&rc = &Doc.ParseXmlFromFile("d:\temp\input.xml");

&file1 = GetFile("d:\temp\out.xml", "w", %FilePath_Absolute);

the result out.xml file size is much smaller then the input xml file, check the resulted xml show the binaryContent field data got truncated.

NOTE: after above test, the PSAPPSRV instance memory got corrupted, user should reboot the psappsrv domain

2. replication can be simplified as below

#1. create a document with one text field, e.g. my.testdoc3.v1 with bin field, text type
#2. generate a test xml using document tester, then change the xml to put large amount of text for bin field, e.g. 1M of text data
#3. put below code to a button event, run it,

Local Document &Doc;

&Doc = CreateDocument("my", "testdoc3", "v1");
&rc = &Doc.ParseXmlFromFile("d:\temp\input.xml");

&file1 = GetFile("d:\temp\out.xml", "w", %FilePath_Absolute);

#4. check the size of the resulted out.xml, will be less then 1M, e.g. 500k around.
#5. compare the data result in xml, it show data got truncated for bin field.


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