** Changed in: zorba
       Status: New => Fix Committed

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

Title:
  XPath expression has unexpected result

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  Consider the following query

  variable $x:=<y><a/></y>;
  insert node <b/> into $x/a;
  rename node $x/a/b as "a";
  (
  <ev>
  {
  $x
  }
  </ev>,
  <first>
  {
  $x//a
  }
  </first>,
  <correct>
  {
  $x//*
  }
  </correct>
  )

  All nodes seem to have the isRecursive flag set to false , thus this
  query returns:

  <ev>
    <y>
      <a>
        <a/>
      </a>
    </y>
  </ev>
  <first> <--only 1 a element since the first a is marked as nonRecursive
     <a>
       <a/>
     </a>
  </first>
  <correct> <--two a elements
     <a>
       <a/>
     </a>
     <a/>
  </correct>

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/872288/+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