Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361659 - ElemntType typed value in case of nil=’true’
Summary: ElemntType typed value in case of nil=’true’
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xpath (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.4.2   Edit
Assignee: Jesper Moller CLA
QA Contact: Jesper Moller CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 10:14 EDT by Lukasz Wycisk CLA
Modified: 2012-12-05 20:00 EST (History)
0 users

See Also:


Attachments
patch (1.19 KB, text/plain)
2011-10-21 10:17 EDT, Lukasz Wycisk CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukasz Wycisk CLA 2011-10-21 10:14:07 EDT
7.ElemntType typed value in case of nil=’true’ and no type definition provided.
We think there is no reason why in this case it should behave different whether the type is known or not. However ElemntType.typed_value() old version make double check if type definition is provided so maybe it was done on purpose? Please review this one. Test:
TestBugs:testNumberAggregationWithNill2()
And new file: bugTestFiles/bugNilledWithoutXSD.xml
Comment 1 Lukasz Wycisk CLA 2011-10-21 10:17:53 EDT
Created attachment 205726 [details]
patch
Comment 2 Jesper Moller CLA 2011-10-30 20:04:55 EDT
Patch looks good ... Reviewing and testing against HEAD and maintenance branches!
Comment 3 Jesper Moller CLA 2012-04-25 20:50:16 EDT
Committed with a test case
Comment 4 Jesper Moller CLA 2012-09-21 19:39:02 EDT
Somehow I fouled this one, committed the test but not the fix. Reopening.
Comment 5 Jesper Moller CLA 2012-09-21 19:57:42 EDT
Now fixed in 'master' (not yet released)
Comment 6 Jesper Moller CLA 2012-12-05 20:00:48 EST
Released now into both master and R3_4_maintenance.