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

Quip 2.2.1.1 two bugs: -unwrappers_results and "/type" in pa

  • 1.  Quip 2.2.1.1 two bugs: -unwrappers_results and "/type" in pa

    Posted Fri February 14, 2003 12:19 PM

    I found two bugs from the otherwise excellect piece of software. I’m using the command line version of the quip 2.2.1.1 on Windows NT 4.0 SP6. For your information the bugs are:

    1) -unwrapper_results -option doesn’t produce full result set in all cases
    2) /type in path expression is not not parsed correctly


    Details of the bugs:

    Source XML (“iaa-test.xml”) (used in both cases):



    The Whale
    novel
    The story about Mody Dick


    Donald Duck
    comic
    Collection of Disney classics




    Case 1: -unwrapped_results

    XQuery (iaa-test.xql):

    for $book in document(“iaa-test.xml”)/bookList/book
    return

    {$book/name/text()}
    {$book/description/text()}


    Command line:

    quip -unwrapped_result iaa-test.xql

    Results:

    quip -unwrapped_result iaa-test.xql

    The Whale
    The story about Mody Dick



    Command line:

    quip iaa-test.xql

    Results:

    <?xml version="1.0" encoding="UTF-8" ?>

    <quip:result xmlns:quip = “http://namespaces.softwareag.com/tamino/quip/”>

    The Whale
    The story about Mody Dick


    Donald Duck
    Collection of Disney classics

    </quip:result>


    Case 2: /type parsing

    XQuery (iaa-test2.xql):

    for $book in document(“iaa-test.xml”)/bookList/book
    return

    {$book/name/text()}
    {$book/type/text()}
    {$book/description/text()}


    Command line:

    quip iaa-test2.xql

    Results:

    <?xml version="1.0" encoding="UTF-8" ?>

    <quip:ExecutionError
    xmlns:quip=“http://namespaces.softwareag.com/tamino/quip/”>

    quip:queryFileiaa-test2.xql
    </quip:queryFile>
    quip:message<![CDATA[Error (5,17): closing parenthesis missing
    actual token found: /
    ]]></quip:message>
    </quip:ExecutionError>


    Best regards,
    Ilari Aarnio
    www.codesys.fi


    #webMethods
    #Tamino
    #API-Management