Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325262

Summary: [xpath2] providing ability to store an XPath2 sequence into an user-defined variable
Product: [WebTools] WTP Source Editing Reporter: Mukul Gandhi <mukul.gandhi>
Component: wst.xpathAssignee: Mukul Gandhi <mukul.gandhi>
Status: RESOLVED FIXED QA Contact: Jesper Moller <jesper>
Severity: enhancement    
Priority: P3 CC: d_a_carver
Version: unspecified   
Target Milestone: 3.2.3   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch file for this bug report
none
test case patch file none

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.