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 111948 - inline schema targetnamespace need to be referenced when defined after message creation
Summary: inline schema targetnamespace need to be referenced when defined after messag...
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Shivanand Kini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-03 19:57 UTC by pvarghese
Modified: 2016-07-07 09:56 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pvarghese 2007-08-03 19:57:50 UTC
WSDL editor allows to create an inline schema without defining the targetnamespace. Which essentially means that the
elements in the schema belong to the wsdl document namespace.
The user defines wsdl message on elements in this inline schema and then decides to add a targetnamespace for the inline
schema.
Validation after this complains that the elements referenced in the messages are not available and the user is forced to
fix each error manually

The wsdl editor should provide functionality to fix such errors automatically (maybe refactoring) by fixing the broken
references w.r.t to the new inline schema targetnamespace.
Comment 1 Shivanand Kini 2007-08-07 18:58:30 UTC
Sonali, does refactoring currently support targetnamespace attributes and renaming of prefix?
Comment 2 Martin Balin 2016-07-07 09:56:30 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss