Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338999 - [xpath2] improving compliance of function 'fn:subsequence'. implementing full arity support.
Summary: [xpath2] improving compliance of function 'fn:subsequence'. implementing full...
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xpath (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jesper Moller CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-05 03:05 EST by Mukul Gandhi CLA
Modified: 2011-03-06 01:45 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mukul Gandhi CLA 2011-03-05 03:05:12 EST
Build Identifier: I20090313-0100

The present implementation of XPath 2.0 function 'fn:subsequence' doesn't implement arity 2. I'm submitting an improvement of 'fn:subsequence' function implementation with full arity support, along with few test cases.

Ref: http://www.w3.org/TR/xpath-functions/#func-subsequence

Reproducible: Always
Comment 1 Mukul Gandhi CLA 2011-03-05 04:03:10 EST
I've committed the changes for this bug report to HEAD and service branch. Also committed few test cases for this change.

I'm noticing that the test project is updated to use new APIs. It now seems that the test project cannot test service branch at the moment (we should be able to test the service branch too). What should we do regarding this?

I'm still not resolving/closing this bug, until the remaining issues are solved.

Thanks.
Comment 2 David Carver CLA 2011-03-05 19:28:32 EST
(In reply to comment #1)
> I've committed the changes for this bug report to HEAD and service branch. Also
> committed few test cases for this change.
> 
> I'm noticing that the test project is updated to use new APIs. It now seems
> that the test project cannot test service branch at the moment (we should be
> able to test the service branch too). What should we do regarding this?

You'll need to check out the code for the Service branch as well.  The service branch should have a version of the test files available.

So any test case changes you'll need to make in the service branch as well.
Comment 3 Mukul Gandhi CLA 2011-03-06 01:45:56 EST
Thnaks, Dave for comments.

Since the functional problems mentioned in this bug report are solved, i'm marking this issue resolved.

We'll work overtime to solve the portability issues of test project between HEAD location and service branch.

Thanks.