My Oracle Support Banner

Data Is Truncated From The Beginning When Fixed Length Format Is Used (Doc ID 732669.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle(R) BPEL Process Manager - Version:
This problem can occur on any platform.


If mapping data into a fixed format schema and the data is larger than the target element length,
the data is truncated from the beginning. So for example, if I was mapping the word "apostrophe" into
an element that was defined as a fixed length 5 in the xsd, the data I would receive in the xml
would be "rophe", while "apost" is the expected result.

Use File adapter to reproduce this issue.
Input -

Schema used :-
<?xml version="1.0" encoding="UTF-8" ?>

<xsd:schema xmlns:xsd=""
attributeFormDefault="unqualified" nxsd:encoding="ASCII" nxsd:stream="chars"
<xsd:element name="test" nxsd:style="array" nxsd:cellSeparatedBy="${eol}">
<xsd:element name="C1" type="xsd:string" nxsd:style="fixedLength" nxsd:length="25">

Output -

The left 7 characters where truncated.



To view full details, sign in with your My Oracle Support account.

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

In this Document

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.