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

Bug 359303

Summary: Extract Schema from wsdl under Linux produces erroneous artefacts
Product: z_Archived Reporter: Dimitar Donchev <dimitar.donchev>
Component: WTP IncubatorAssignee: Dimitar Tenev <dimitar.tenev>
Status: NEW --- QA Contact: Dimitar Tenev <dimitar.tenev>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Use to reproduce
none
Use to reproduce
none
Result of bug none

Description Dimitar Donchev CLA 2011-09-28 16:35:16 EDT
This issue is relevant only on unix platroms - the problem is code portability.
It consists in errors in the produced artefacts after extracting schemas from a wsdl file.
To reproduce :
1 Execute Refactor>Extract Namespace on http://namespace1 in wisdl NamespaceImportsWSDL.wsdl 
(You can find it in the test project :/data/pub/extract/ExtractRootXMLSchemaTest to attached to the bug)
2 Notice that in one of the three produced .xsd files there is an error :
    an import element has "../../../../../platform:/resource/org.eclipse.wst.sse.sieditor.test/data/pub/extract/ExtractRootXMLSchemmaTest" for it's location attribute's value instead of "DependentSchema1.xsd".
    
When run unter linux there are failing tests regarding this issue.
Comment 1 Dimitar Donchev CLA 2011-09-28 16:36:07 EDT
Created attachment 204223 [details]
Use to reproduce
Comment 2 Dimitar Donchev CLA 2011-09-28 16:36:59 EDT
Created attachment 204224 [details]
Use to reproduce
Comment 3 Dimitar Donchev CLA 2011-09-28 16:37:44 EDT
Created attachment 204225 [details]
Result of bug