My Oracle Support Banner

Error Xpath : Javax.xml.transform.TransformerException: Could Not Find Function: If (Doc ID 2952095.1)

Last updated on JUNE 16, 2023

Applies to:

Oracle Communications Unified Inventory Management - Version and later
Information in this document applies to any platform.


In UIM 7502, When running the CalculationTechnicalAction request XML, Getting the response "Could not find function: if"

calculateTechnicalActionsResponse -

 <com:warnings>Error in XPath expression: if(number(substring-before(substring-after(/root/after/Telephone_Number/Assignment[@State='PENDING_ASSIGN' or @State='ASSIGNED']/description,'[D'),']')) > 3) then (if(number(substring-before(substring-after(/root/after/Telephone_Number/Assignment[@State='PENDING_ASSIGN' or @State='ASSIGNED']/description,'[D'),']')) = 5) then concat(substring-after(/root/after/Telephone_Number/Assignment[@State='PENDING_ASSIGN' or @State='ASSIGNED']/areaCode,'0'), '0') else string ('')) else concat(substring-after(/root/after/Telephone_Number/Assignment[@State='PENDING_ASSIGN' or @State='ASSIGNED']/areaCode,'0'), '0') with exception: javax.xml.xpath.XPathExpressionException: javax.xml.transform.TransformerException: Could not find function: if</com:warnings>



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

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