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!

String addDateTime(String isoDateTimeValue,String duration): isoDateTimeValue is not according to IS

Srinanda DasAug 2 2017 — edited Sep 21 2017

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(&quot;PT&quot;,string($timeZoneHour),&quot;H&quot;)"/>

                  <xsl:if test="inp1:registrationDate">

                     <inp1:registrationDate>

                        <xsl:value-of select="xp20:format-dateTime(xp20:add-dayTimeDuration-to-dateTime(inp1:registrationDate,string($timeZonePeriod)),&quot;[Y0001]-[M01]-[D01]T[H01]:[m01]:[s01]Z&quot;)"/>

                     </inp1:registrationDate>

                  </xsl:if>

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 19 2017
Added on Aug 2 2017
2 comments
861 views