XML: Outline view does not show namespace when add [message #906694] |
Sun, 02 September 2012 08:31  |
Eclipse User |
|
|
|
Hi,
I use the outline view to add new elements to my doc.
The elements displayed in the outline view have the namespace prefix.
However when you rightclick on an element, and select add before / after, the list of elements do NOT have he namespace.
In my case i have elements with the same name in different namespace. so its impossible to distinguish between them.
My doc looks like this in Outline view
<ns1:RootElement>
<ns1:name>
<ns2:name>
If i right click on ns2:name to add an element, my .xsd allows either <ns1:name> or <ns2:name> to be added. But the Outline view shows the allowable things as "name" and "name" so its impossible to distinguish.
Ive attached screenshot and sample .xml and .xsd files.
Im using Eclipse Indigo.
Thx
derek
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03693 seconds