Bug 274725 - [xpath2] implementation of base-uri function
Summary: [xpath2] implementation of base-uri function
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xpath (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: 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-02 10:15 EDT by Mukul Gandhi CLA
Modified: 2010-08-11 17:08 EDT (History)
1 user (show)

See Also:


Attachments
patch file for this bug (4.27 KB, patch)
2009-05-02 10:26 EDT, Mukul Gandhi CLA
no flags Details | Diff
test case patch file for the bug (5.45 KB, patch)
2009-05-02 10:27 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-02 10:15:05 EDT
Build ID: I20090313-0100

Steps To Reproduce:
The current Psychopath implementation doesn't provide correct implementation of fn:base-uri function. This patch provides this support. Both arity 0 and 1 are implemented, as specified in the XPath 2.0 F&O spec.

I'll be attaching the patch and the test case shortly.


More information:
Ref to F&O spec:
http://www.w3.org/TR/xpath-functions/#func-base-uri
Comment 1 Mukul Gandhi CLA 2009-05-02 10:26:16 EDT
Created attachment 134154 [details]
patch file for this bug
Comment 2 Mukul Gandhi CLA 2009-05-02 10:27:22 EDT
Created attachment 134155 [details]
test case patch file for the bug
Comment 3 David Carver CLA 2009-05-22 21:13:19 EDT
This is now in head, and all unit tests.  Please verify when you get a chance.  Thanks for the patch.