Issue With SOA11g Parsing Of Delimited Files Using TranslateFromNative Function (Doc ID 1587502.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle(R) BPEL Process Manager - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.1.4.0 version, XSD, XPath Issues (Runtime)

Problem translating data when the last field in a delimited record is null.
For example a record like this:

CVG|202428|2509|Dental|Dental|Associate Plus 2 or more||429|8.25|2012-04-27||N

This data works fine because the last piece of the record has a value (N). However, the below record will not work:
CVG|202428|2509|Dental|Dental|Associate Plus 2 or more||429|8.25|2012-04-27||

For some reason, SOA can’t parse this data and throws an exception.

ERROR
-----------------------

XPath expression failed to execute.
An error occurs while processing the XPath expression; the expression is ora:translateFromNative(bpws:getVariableData('indicativeCurrentData'),"oramds:/apps/SNIComponents/ApplicationObjectLibrary/B2B/V1/schemas/SendHRIndicativeABM.xsd","IndicativeData").
The XPath expression failed to execute; the reason was: Translation Failure.
[Line=89, Col=95] Translation from native failed. .
The incoming data does not conform to the NXSD schema. Please correct the problem.


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Run an example of using the translateFromNative XPath function where the data in the last row is null
2. Observe the error


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