Hi , We are getting following ISO8601 format issue from soa log. Please provide your valuable suggestion.
Error details from log:
<Aug 1, 2017 3:59:26 AM MDT> <Error> <oracle.tip.pc.services.functions.Xpath20> <BEA-000000> <String addDateTime(String isoDateTimeValue,String duration): isoDateTimeValue is not according to ISO8601 format>
<Aug 1, 2017 3:59:26 AM MDT> <Error> <oracle.tip.pc.services.functions.Xpath20> <BEA-000000> <yearFromDateTime(Object isoDateTimeValue): isoDateTimeValue is not according to ISO8601 format>
<Aug 1, 2017 3:59:26 AM MDT> <Error> <oracle.tip.pc.services.functions.Xpath20> <BEA-000000> <unknown error : formatDateTime(), detail:null>
Code snippet:
<xsl:variable name="timeZoneHour" select="number(substring(xp20:current-dateTime(),21.0,2.0)) - 2"/>
<xsl:variable name="timeZonePeriod" select="concat("PT",string($timeZoneHour),"H")"/>
<xsl:if test="inp1:registrationDate">
<inp1:registrationDate>
<xsl:value-of select="xp20:format-dateTime(xp20:add-dayTimeDuration-to-dateTime(inp1:registrationDate,string($timeZonePeriod)),"[Y0001]-[M01]-[D01]T[H01]:[m01]:[s01]Z")"/>
</inp1:registrationDate>
</xsl:if>