Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » XML: Outline view does not show namespace when add
XML: Outline view does not show namespace when add [message #906694] Sun, 02 September 2012 08:31 Go to next message
Derek Wallace is currently offline Derek Wallace
Messages: 5
Registered: March 2012
Junior Member
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
Re: XML: Outline view does not show namespace when add [message #910629 is a reply to message #906694] Mon, 10 September 2012 06:00 Go to previous messageGo to next message
Nitin Dahyabhai is currently online Nitin Dahyabhai
Messages: 2268
Registered: July 2009
Senior Member
Please open a proper bug report: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=WTP%20Source%20Editing&component=wst.xml , with more detail about the steps that do work for you.

---
Nitin Dahyabhai
Eclipse WTP, IBM

[Updated on: Mon, 10 September 2012 06:01]

Report message to a moderator

Re: XML: Outline view does not show namespace when add [message #999352 is a reply to message #906694] Fri, 11 January 2013 22:17 Go to previous message
Salvador Zalapa is currently offline Salvador Zalapa
Messages: 1
Registered: May 2011
Junior Member
This issue was addressed by https://bugs.eclipse.org/bugs/show_bug.cgi?id=389434, it already was fixed, so it is going to be available in further offerings.
Previous Topic:does WTP (dynamic web project) have ModelManager and ModelBase APIs ?
Next Topic:Web Application wont deploy
Goto Forum:
  


Current Time: Thu Sep 18 05:55:53 GMT 2014

Powered by FUDForum. Page generated in 0.28060 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software