Page 1 of 1

XPath Builder and tokenize

Posted: Mon Dec 15, 2008 7:50 pm
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).

Re: XPath Builder and tokenize

Posted: Tue Dec 16, 2008 12:31 am
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

Re: XPath Builder and tokenize

Posted: Wed Jan 14, 2009 4:02 pm
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