zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #16197
Re: [Merge] lp:~zorba-coders/zorba/xml-in-json-indices into lp:zorba
In XmlTree, there are now 2 pointers to the root node of the tree: theRootNode and theTreeInfo->theRoot.
Also, theTreeInfo should be an embeded instance of CollectionTreeInfo, instead of being allocated every time an XmlTree is constructed.
There is already an Item::isInSubtreeOf() method at the store API. Currently, this method applies to AnyURI items only. I think it should be extended to apply to structured items as well, and then the StructuredItem::isInSubtree() should be removed. This will make things consistent with the isAncestor, isChild, etc. methods, which apply to both AnyURI items and nodes.
--
https://code.launchpad.net/~zorba-coders/zorba/xml-in-json-indices/+merge/122548
Your team Zorba Coders is subscribed to branch lp:zorba.
Follow ups
References