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.


#TechXchangePresenter
 View Only
  • 1.  max(..) returns NaN

    Posted Tue June 10, 2003 05:40 PM

    Hello,

    I’ve got the following problem: the max() function returns a NaN value.

    An example of the query:
    max(message_dictionary[message_type=1]/message_key)

    I’ve checked and doublechecked:
    * the message_dictionary exists and has the fields message_type and message_key
    * message_type and message_key are needed: minOccurs & maxOccurs is 1 in the schema
    * message_type and message_key are both of type xs:integer

    Any idea what i should check? For example a query with message=type=0 works, so i guess it’s a problem with some values. What do i have to change in my schema so only values are allowed which work with the max function?

    Thanks in advance,
    Dries


    #API-Management
    #Tamino
    #webMethods


  • 2.  RE: max(..) returns NaN

    Posted Wed June 11, 2003 06:33 PM

    Sorry if it’s an obvious question, but what does

    count(message_dictionary[message_type=1]/message_key)

    return?

    Michael Kay


    #webMethods
    #Tamino
    #API-Management