Public bug reported:

A->isInSubtreeOf(B) should return true if B is an ancestor of A.
However, it actually does the reverse: returns true if B is in a subtree
rooted at A. This is backwards. The method should be renamed, perhaps to
isAncestorOf().

** Affects: zorba
     Importance: Medium
     Assignee: Matthias Brantner (matthias-brantner)
         Status: New

** Changed in: zorba
   Importance: Undecided => Medium

** Changed in: zorba
     Assignee: (unassigned) => Matthias Brantner (matthias-brantner)

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/1019093

Title:
  isInSubtreeOf() method is misnamed

Status in Zorba - The XQuery Processor:
  New

Bug description:
  A->isInSubtreeOf(B) should return true if B is an ancestor of A.
  However, it actually does the reverse: returns true if B is in a
  subtree rooted at A. This is backwards. The method should be renamed,
  perhaps to isAncestorOf().

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1019093/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to