IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

xs:date and xs:duration problems with Tamino 4.4.1

  • 1.  xs:date and xs:duration problems with Tamino 4.4.1

    Posted Mon February 27, 2006 10:24 AM

    Hi to all,

    I have a problem using the following condition into a query:


    where (xs:date(‘2006-02-27’)) < (xs:date($trackAndTrace/ctxTT:date + xs:duration(xf:string-join((‘P’,‘10’,‘D’),“”))))

    The element “$trackAndTrace/ctxTT:date” is define as a xs:date

    I receive this response:
    INOXQE6361: Type exception: invalid operands for operator Operator: +; line 5, column 77: + xs:duration(xf:string-join((‘P’,‘10’,‘D’),“”)))) )…

    The problem is that I can use the same condition with a database version 4.2.1 and it works well.

    Can anyone helps me?

    Thanks.


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: xs:date and xs:duration problems with Tamino 4.4.1

    Posted Tue March 21, 2006 08:12 AM

    Hi,

    I guess your problem is related to the fact that the “+” operator can’t be applied on xs:duration instances. Due to this I’m a bit surprised that your condition works with Tamino 4.2.1.

    Best Regards,

    Thorsten


    #Tamino
    #webMethods
    #API-Management