Indeed the internal store API has not been updated to reflect the latest JSONiq spec; it still has methods for dealing with pairs and still has a "pair" Item. The public Zorba API reflects some of the same issues. According to Markos it is not intended that the internal store API will be corrected anytime soon.
On the conf call on 4/18/2012, we decided that for 2.5, I will simply remove the public API methods that reference pairs, leaving the API incomplete but at least not incorrect. Based on that, I have removed the methods getObjectPairs(), getObjectValue(), getPairName(), and getPairValue(). However, include/zorba/store_consts.h has an enum JSONItemKind which is used both internally and externally. One of the values in this enum is "jsonPair". This cannot be removed without fixing the internal store API. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/918164 Title: C++ API for JSONiq Status in Zorba - The XQuery Processor: Confirmed Bug description: To at least include punching new store::Item methods through the zorba::Item API. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/918164/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : firstname.lastname@example.org Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp