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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  XQuery issue

    Posted 08/13/03 04:22 PM

    the following xquery

    let $v := (c1,c2,c3),
    $r:= (
    for $a in (for $a1 in $v return $a1)/b/c
    return $a)
    return {$r}

    returns

    c1


    c2


    c3


    while it should have returned

    c1
    c2
    c3


    as in

    let $v := (c1,c2,c3),
    $c := (for $a1 in $v return $a1),
    $r:= (
    for $a in $c/b/c
    return $a)
    return {$r}


    #API-Management
    #Tamino
    #webMethods


  • 2.  RE: XQuery issue

    Posted 08/14/03 08:53 PM

    I agree, the response looks wrong to me (and Saxon 7.6.5 gives the response you were expecting). You didn’t say which XQuery processor you were using, but it looks as if it has a bug.

    Michael Kay


    #webMethods
    #Tamino
    #API-Management


  • 3.  RE: XQuery issue

    Posted 08/18/03 11:14 PM

    Yes I guess I forgut to mention
    the xQuery processors are
    Tamino 4.1.4 and QuiP


    #Tamino
    #API-Management
    #webMethods