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.  incorrect result of a query

    Posted Tue March 19, 2002 03:00 PM

    I have a query like this:
    …?_xql(1,10)=/nodeA/nodeB[nodeC~=“(”]
    I expect to get the nodeB’s for which nodeC contains a ‘(’. But I also receive nodeC’s without ‘(’. Is this some reserved character in Tamino (3.1)?

    Pieter


    #Tamino
    #API-Management
    #webMethods


  • 2.  RE: incorrect result of a query

    Posted Tue March 19, 2002 03:14 PM

    That’s correct, as long as your XML data looks like this:


    no paranthesis
    no paranthesis
    paranthesis ( more text

    because you selected all nodeB that have a (read: at least one) child of name nodeC with content “(” .

    If you wanted nodeCs in the first place, change your query to nodeA/nodeB/nodeC[.~=“(”] .

    Helped?

    Best regards, Andreas


    #webMethods
    #Tamino
    #API-Management


  • 3.  RE: incorrect result of a query

    Posted Tue March 19, 2002 04:48 PM

    There are no multiple nodeC’s in the document, thus Tamino mustn’t return nodeC in this case.

    Pieter


    #Tamino
    #API-Management
    #webMethods


  • 4.  RE: incorrect result of a query

    Posted Thu March 21, 2002 02:52 PM

    Please post your schema and a sample XML file Tamino returns with your query and you think is in error.

    Best regards, Andreas


    #API-Management
    #webMethods
    #Tamino


  • 5.  RE: incorrect result of a query

    Posted Thu March 21, 2002 03:53 PM

    here’s a sample query and result:

    ]http://172.16.64.101/tamino/LABO/testResults?_xql=/testResult[appearance~=‘(’]

    code:

    <?xml version="1.0" encoding="windows-1252" ?>
    - <ino:response xmlns:ino=“http://namespaces.softwareag.com/tamino/response2” xmlns:xql=“XQL FAQ (XML Query Language - Frequently Asked Questions)”>
    xql:query/testResult[appearance~=‘(’]</xql:query>
    - <ino:message ino:returnvalue=“0”>
    ino:messagelineXQL Request processing</ino:messageline>
    </ino:message>
    - xql:result
    -
    test D18
    semi turbid
    -
    6.3
    pH

    -
    23
    mS

    -
    21.3

    testResult.tsd (1.93 KB)


    #API-Management
    #webMethods
    #Tamino


  • 6.  RE: incorrect result of a query

    Posted Tue March 26, 2002 10:52 AM

    You’d better not search for “(” because full-text search (searching for a “word” in terms of Tamino) and content search (searching for a substring) are different things.


    #webMethods
    #Tamino
    #API-Management