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
  • 1.  Problem with sorting instruction

    Posted Tue July 23, 2002 08:31 AM

    Hi Folks,

    I’ve got a strange problem with sorting operations.
    Have a look…
    When I make this query : pvText[@pvLanguage=‘FR’ and @type=‘STANDARD’ and @work=‘true’] sortby(@symbolicName)
    The result is not correctly sorted.

    But, when I change the pvLanguage parameter of my query with another value, let say IT, the result is good.

    symbolicName has type xs:string, storage type native and index standard

    Any suggestion ?


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: Problem with sorting instruction

    Posted Tue July 23, 2002 01:05 PM

    Hi,
    Could you check your Schema def. so if your query try’ing to sort on a element have more than one occurance then if your xpath is a node has these occurances , sort is not logical.

    for example


    1
    9




    2


    xpath /a and sort by c then at the first a ; c has 1 and 9 firt businessdocument is the biggest and lowest value for c.

    brgs


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: Problem with sorting instruction

    Posted Tue July 23, 2002 02:46 PM

    But I don’t understand your answer


    #webMethods
    #Tamino
    #API-Management


  • 4.  RE: Problem with sorting instruction

    Posted Tue July 23, 2002 03:25 PM

    Could you sent your tsd and xml data to test it
    brgs


    #webMethods
    #Tamino
    #API-Management


  • 5.  RE: Problem with sorting instruction

    Posted Tue July 23, 2002 03:46 PM

    Hi,

    I can’t send you data you requested.

    In fact, we need to sort a selection (based on an attribute) on an other attribute and following the parameter, the order is different.


    #webMethods
    #API-Management
    #Tamino