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

Bug 365774

Summary: No self closing XML Tag when the tag is empty
Product: z_Archived Reporter: Etienne Beaumont <etienne4eclipse>
Component: SapphireAssignee: Konstantin Komissarchik <konstantin>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: etienne4eclipse, konstantin
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 365935    
Bug Blocks:    

Description Etienne Beaumont CLA 2011-12-06 12:23:24 EST
Build Identifier: 20110916-0149

When an element has just attributes, the XML should look like : 

<mytag attr="abc" />

instead of :

<mytag attr="abc"></mytag>


Reproducible: Always

Steps to Reproduce:
1. In EzBug, take IBugReport.java, delete all fields but one
2. Mark the last field as an attribute
3. Launch
4. Enjoy
Comment 1 Konstantin Komissarchik CLA 2011-12-07 12:32:19 EST
The issue appears to be in WTP XML editor that Sapphire uses to provide bi-directional Form/XML editor. 

I have opened a bug on WTP XML editor. I do not believe there is anything we can do in Sapphire to resolve this.

Bug 365935