From: Manuel L. <ml...@li...> - 2004-06-02 14:23:38
|
does this also solve the fuzzy-search problem ? http://article.gmane.org/gmane.text.xml.exist/2169 ? manuel "Wolfgang Meier" <wol...@ex...> schrieb im Newsbeitrag news:200...@ex...... > Hi, > > I fixed the bug in today's CVS. > > Wolfgang > > > On Friday 21 May 2004 14:51, Jaksch Stefan wrote: > > Hi, > > > > I think there is a bug when using the ancestor axis in Xpath (eXist from > > CVS, 04-05-19): > > > > This is my document: > > <branch id="10"> > > <branch id="11"> > > <branch id="12"> > > <branch id="13" link="1"> > > <child id="13"/> > > </branch> > > <branch id="14" link="2"> > > <child id="14"/> > > </branch> > > <branch id="15" link="3"> > > <child id="15"/> > > </branch> > > <child id="12"/> > > </branch> > > <child id="11"/> > > </branch> > > <child id="10"/> > > </branch> > > > > The query is: //branch[@id="13"]/ancestor::branch/child > > Result is: <child id="12"/> > > > > When I change the query to: > > //branch[@id="13"]/ancestor::*/child > > > > I get the expected result: > > <child id="12"/> > > <child id="11"/> > > <child id="10"/> > > > > Is this a known issue, and are there other workarounds than using the > > wildcard? > > Regards, > > Stefan > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 |