Mapper throws the error, "Invalid conversion from document to item" when tib:evaluate-xpath is used with local-name() xpath function.

Mapper throws the error, "Invalid conversion from document to item" when tib:evaluate-xpath is used with local-name() xpath function.

book

Article ID: KB0094420

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
Mapper throws " Invalid conversion from document to item " when tib:evaluate-xpath is sued with local-name() xpath function
Symptoms:
Problem markers will be seen in the mapper input tab with the error, "Invalid conversion from document to item" as shown in the attached screenshot (Filename: err.png).
Cause:
Incompatible XSLT version

Issue/Introduction

Mapper throws the error, "Invalid conversion from document to item" when tib:evaluate-xpath is used with local-name() xpath function.

Resolution

Change the XSLT version to 1.0 as shown in the attached screenshot (Filename: resol.png) , parse, and save the resource. The Edit window can be loaded on an element's mapping with right click -> Show Edit Tab -> XSLT Source

Attachments

Mapper throws the error, "Invalid conversion from document to item" when tib:evaluate-xpath is used with local-name() xpath function. get_app
Mapper throws the error, "Invalid conversion from document to item" when tib:evaluate-xpath is used with local-name() xpath function. get_app