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

Bug 361659

Summary: ElemntType typed value in case of nil=’true’
Product: [WebTools] WTP Source Editing Reporter: Lukasz Wycisk <lukasz>
Component: wst.xpathAssignee: Jesper Moller <jesper>
Status: RESOLVED FIXED QA Contact: Jesper Moller <jesper>
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: 3.4.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
patch none

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.