XPath Builder and tokenize

Having trouble installing Oxygen? Got a bug to report? Post it all here.
DAndres109
Posts: 4
Joined: Mon Dec 15, 2008 7:28 pm

XPath Builder and tokenize

Post by DAndres109 »

I'm using Oxygen 10 build 2008120916 in Windows XP 32-bit SP3 and either the XPath 2.0 or XPath 2.0 SA engine.

Given the following XPath pattern:

Code: Select all

tokenize("My name is Dave.  Your name is something else", "\W+")
The Hierarchical results view will differ from the Flat results view. In the Hierarchical results view, the returned sequence is

Code: Select all

("My", "name", "is", "Dave", "Your", "something", "else")
In the Flat results view this sequence is

Code: Select all

("My", "name", "is", "Dave", "Your", "name", "is", "something", "else")
I believe the Flat view is correct (tokenize does not remove duplicates on its own).
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Re: XPath Builder and tokenize

Post by george »

Hi,

I recorded the issue on our issue tracking system. It looks like an issue with the tree representation that does not presents the duplicates. We will investigate that and let you know.

Best Regards,
George
George Cristian Bina
iulian_velea
Posts: 63
Joined: Fri Dec 12, 2003 6:34 pm
Contact:

Re: XPath Builder and tokenize

Post by iulian_velea »

Hello,

We have resolved the problem with the tree representation of the XPath results. The fix will be available in the next Oxygen version.
Thank you for your feedback.

Regards,
Iulian
Post Reply