This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 91152

Summary: Smart copy/paste is needed.
Product: xml Reporter: pcmreddy <pcmreddy>
Component: Schema ToolsAssignee: issues@xml <issues>
Status: NEW ---    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: StockQuotes WSDL file

Description pcmreddy 2006-12-16 19:22:28 UTC
Currently it is possible to copy and paste simple and complex elements from one
schema to other. But IDE is not resolving namespace problems automatically.

There should be a way of fixing unresolved namespace references automatically.

How to reproduce this problem :
Open WSDL file "StockQuotes.asmx.wsdl" ( See in attachments)
Open a new schema file call it as "myschema.xsd".
Select All nodes under elements and complex types in "StockQuotes.asmx.wsdl"
copy and paste to "myschema.xsd".
try to validate "myschema.xsd" file.
Observe there are several errors during validation.
If IDE is fixing this errors automatically, it saves lot of time.
Comment 1 pcmreddy 2006-12-16 19:23:27 UTC
Created attachment 36710 [details]
StockQuotes WSDL file