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 Quip

    Posted Wed May 19, 2004 05:54 PM

    Hi,

    I tried to execute an XQuery request with Quip on the following document stored in Tamino :

    test


    The query is :
    define function testQuip(){
    for $a in collection(“TestQuip”)/TestQuip/type
    return $a
    }

    Upon execution, this error rises :
    <quip:ExecutionError xmlns:quip=“http://namespaces.softwareag.com/tamino/quip/”>
    quip:queryFilecommand line query</quip:queryFile>
    quip:message

    </quip:message>
    </quip:ExecutionError>

    I think the “type” tag causes this error.


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: Problem with Quip

    Posted Tue May 25, 2004 04:08 PM

    Hi,

    yes your guess is correct. Though the current draft defines
    XQuery to have no reserved words, the draft that QuiP adheres
    to still defined those and among others ‘type’.
    XQuery (and QuiP) allows using the prefix token “:” on unprefixed
    QNames to distinguish tokens that are spelled the same as
    keywords, i.e. ‘collection(“TestQuip”)/TestQuip/:type’ would
    probably do.

    Regards,
    Juliane.


    #Tamino
    #API-Management
    #webMethods