Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325262 - [xpath2] providing ability to store an XPath2 sequence into an user-defined variable
Summary: [xpath2] providing ability to store an XPath2 sequence into an user-defined v...
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xpath (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.2.3   Edit
Assignee: Mukul Gandhi CLA
QA Contact: Jesper Moller CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-14 10:29 EDT by Mukul Gandhi CLA
Modified: 2010-09-27 09:07 EDT (History)
1 user (show)

See Also:


Attachments
patch file for this bug report (8.06 KB, patch)
2010-09-14 11:08 EDT, Mukul Gandhi CLA
no flags Details | Diff
test case patch file (8.76 KB, patch)
2010-09-14 11:11 EDT, Mukul Gandhi CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mukul Gandhi CLA 2010-09-14 10:29:09 EDT
Build Identifier: I20090313-0100

PsychoPath XPath 2.0 engine presently only allows a singleton value of kind AnyType to be assigned to a user-defined variable. XML Schema 1.1 assertions (and Xerces XML Schema 1.1 implementation) require an XPath 2.0 dynamic context variable $value to have a value of kind xs:anyAtomicType*. This patch provides this support.

Reproducible: Always
Comment 1 Mukul Gandhi CLA 2010-09-14 11:08:26 EDT
Created attachment 178842 [details]
patch file for this bug report
Comment 2 Mukul Gandhi CLA 2010-09-14 11:11:09 EDT
Created attachment 178843 [details]
test case patch file

providing few test cases for this patch. we could commit the patch as well as the test cases, during WTP 3.2.3 time frame.
Comment 3 Mukul Gandhi CLA 2010-09-27 08:48:47 EDT
Since WTP 3.2.2 was released few days ago, I thought I might make commit of changes for this bug report.

I've now completed commit of changes for this bug (both for code-base and test cases) report both to PsychoPath XPath2 HEAD location and service branch.

I'm now marking this defect as resolved.