Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem evaluating boolean in XSLT

Rd2-OracleNov 14 2006
Hi,

I am running into a wierd problem. I have a small BPEL process with input schema as shown below.

<element name="testIssuesProcessRequest">
<complexType>
<sequence>
<element name="boolValue" type="boolean"/>
<element name="dateValue" type="date"/>
<element name="timeValue" type="time"/>
</sequence>
</complexType>
</element>

In my BPEL process I have a switch statement which checks the value of boolValue and takes the appropriate path. The problem is this variable is always evaluating to true(I tried using true, false, 0, 1). The function I am using is

bpws:getVariableData('inputVariable','payload','/client:testIssuesProcessRequest/client:boolValue')

I tried the similar approach in XSLT and it is the problem

/ns1:testIssuesProcessRequest/ns1:boolValue = true()

I am not sure what I am missing. Is there a different way to treat boolean values
in xslt? Any pointers will be of great help.

Thanks
Raj
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 12 2006
Added on Nov 14 2006
0 comments
374 views