BPEL count function does not work as expected (Doc ID 1666876.1)

Last updated on APRIL 28, 2014

Applies to:

Oracle SOA Suite - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

BPEL - Reading XML file with a list of numbers. The contents of the input file are like this:

  111111111
  222222222
  333333333
  444444444
  555555555


However, the number of items in the list gets zero count using

ora:countNodes('Input','body','ns3:sin')
  or
count($Input.body/ns3:sin)



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