Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342195 - Local attributes and element declarations do not update their target namespace when changing attribute/elementFormDefault
Summary: Local attributes and element declarations do not update their target namespac...
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xsd (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: wst.xsd CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-07 12:49 EDT by Paul Fullbright CLA
Modified: 2011-04-07 12:49 EDT (History)
0 users

See Also:


Attachments
test schema (771 bytes, application/octet-stream)
2011-04-07 12:49 EDT, Paul Fullbright CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.