Bug 279406 - [xpath2] improvements to negative zero values for xs:double and xs:float
Summary: [xpath2] improvements to negative zero values for xs:double and xs:float
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: 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-06-08 02:18 EDT by Mukul Gandhi CLA
Modified: 2010-08-11 17:08 EDT (History)
1 user (show)

See Also:


Attachments
patch file for the bug (3.65 KB, patch)
2009-06-08 02:25 EDT, Mukul Gandhi CLA
no flags Details | Diff
updated test case patch (6.96 KB, patch)
2009-06-08 02:26 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-06-08 02:18:24 EDT
Build ID: I20090430-2300

Steps To Reproduce:
PsychoPath displays incorrectly negative zero values for xs:double and xs:float.

xs:double -> -0.0 should be displayed as -0
xs:float -> -0.0 should be displayed as -0

This patch provides this enhancement. 


More information:
Comment 1 Mukul Gandhi CLA 2009-06-08 02:25:34 EDT
Created attachment 138544 [details]
patch file for the bug

Attaching the patch file for the bug. This improves few numeric test cases.

Regards,
Mukul
Comment 2 Mukul Gandhi CLA 2009-06-08 02:26:15 EDT
Created attachment 138545 [details]
updated test case patch
Comment 3 David Carver CLA 2009-06-09 10:54:51 EDT
Patch applied to Head.  An additional 19 W3C unit tests now pass.  Thanks Mukul.