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

Bug 342195

Summary: Local attributes and element declarations do not update their target namespace when changing attribute/elementFormDefault
Product: [WebTools] WTP Source Editing Reporter: Paul Fullbright <paul.fullbright>
Component: wst.xsdAssignee: wst.xsd <wst.xsd-inbox>
Status: NEW --- QA Contact: Keith Chong <keith.chong.ca>
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
test schema none

Description Paul Fullbright CLA 2011-04-07 12:49:27 EDT
Created attachment 192763 [details]
test schema

See attached schema.

The attribute declaration "local-attribute" correctly has the target namespace of null.

Add attributeFormDefault="qualified" to schema declaration.  The attribute declaration should now have a target namespace of "http://www.example.org/test".

The schema must be completely reloaded (restart eclipse, for example) for this change to take place.
Comment 1 Paul Fullbright CLA 2011-04-07 12:49:54 EDT
Note that I am talking about the XSD model.