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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

XQuery on "Any" element not working

  • 1.  XQuery on "Any" element not working

    Posted Thu August 21, 2003 07:52 PM

    Hello,

    We’ve just upgraded to Tamino 4.1.4.1 from 4.1.1.2. An unfortunate byproduct seems to be that most of our XQueries no longer work. It appears that if the “for $b in input() /Level1/Level2/Level3” will only return results if “Level1”, “Level2”, and “Level3” are explicitly defined elements in the schema. No results would be returned if only “Level1” and “Level2” were explicitly defined and an element type of “Any” was defined for “Level3”. This appears to have changed with the 4.1.4.1.

    If you load the attached schema and then the attached document, one of the attached XQueries works nicely in 4.1.1.2 but doesn’t work in 4.1.4.1.

    The other XQuery will work in 4.1.4.1 as long if the Xpaths do not extend into the “Any” portion of the schema.

    Is this intentional or is this a bug?

    Thanks in advance,
    Jim McDowall
    xquery.txt (385 Bytes)


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: XQuery on "Any" element not working

    Posted Thu August 21, 2003 07:53 PM

    Sorry, here is the schema…
    BusinessObjectSchema.TSD (18.7 KB)


    #Tamino
    #webMethods
    #API-Management


  • 3.  RE: XQuery on "Any" element not working

    Posted Thu August 21, 2003 07:55 PM

    And here is the test document. Sorry again, I’m having trouble figuring out how to attach multiple files.
    taminobug.xml (659 Bytes)


    #Tamino
    #API-Management
    #webMethods