Bug 274792 - [xpath2] improvements to xs:date constructor function
Summary: [xpath2] improvements to xs:date constructor function
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xpath (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.2 M1   Edit
Assignee: David Carver CLA
QA Contact: David Carver CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 262765
  Show dependency tree
 
Reported: 2009-05-04 04:49 EDT by Mukul Gandhi CLA
Modified: 2010-08-11 17:08 EDT (History)
0 users

See Also:


Attachments
patch file for this bug (2.28 KB, patch)
2009-05-04 04:59 EDT, Mukul Gandhi CLA
no flags Details | Diff
test case patch file for the bug (8.12 KB, patch)
2009-05-04 04:59 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 2009-05-04 04:49:28 EDT
Build ID: I20090313-0100

Steps To Reproduce:
The current PsychoPath implementation doesn't accept expressions like:

xs:date(x)

where x is an expression other than xs:anyAtomicType.

The XPath 2.0 processor must apply function conversion rules, and cast x to the suitable atomicType.

This patch provides this support.


More information:
Comment 1 Mukul Gandhi CLA 2009-05-04 04:59:05 EDT
Created attachment 134208 [details]
patch file for this bug
Comment 2 Mukul Gandhi CLA 2009-05-04 04:59:50 EDT
Created attachment 134209 [details]
test case patch file for the bug
Comment 3 David Carver CLA 2009-05-22 21:38:47 EDT
Patch applied with minor changes to Test to only include the necessary test case from the patch.  Thanks Mukul.