Wednesday 3 November 2010

ora:parseEscapedXML XPath expression failed in SOA 10.1.3.5.0

We were running on SOA 10.1.3.3.0 on Windows and recently we migrated into SOA 10.1.3.5.0 on Oracle Linux Enterprise server 5.5. After the migration we deployed all our BPEL processors in new architecture. During the first testing scenario BPEL process start to fail with error;

XPath expression failed to execute. Error while processing xpath expression, the expression is "ora:parseEscapedXML(bpws:getVariableData('getInternalMsg',
'InternalMsgOutputCollection','/ns95:InternalMsgOutputCollection/ns95:InternalMsgOutput/ns95:INTERNAL_MSG'))", the reason is Expected name instead of  .. Please verify the xpath query.

After analysis we found this is because of source xml having '&' character. Metalink note 567712.1 says ora:parseEscapedXML fail if you send '&' character. However our Windows environment with SOA 10.1.3.3.0 perfectly working with ora:parseEscapedXML and '&' character.

Solution:
If you are in or above 10.1.3.4.0, replace ora:parseEscapedXML() with ora:parseXML(). If you are in 10.1.3.3.0, apply 10.1.3.3.1 MLR#8 and then user ora:parseXML().

********************************************************************************************************************************************

1 comment:

  1. Hi, Is this issue there in 12c as well ? I am getting this same error in 12c.

    ReplyDelete