| Summary: | The XML editor replaces too much XML when forward slash is used to overwrite some selected text | ||
|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Dan O'Connor <dan_oconnor> |
| Component: | wst.xml | Assignee: | wst.xml <wst.xml-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | Nitin Dahyabhai <thatnitind> |
| Severity: | normal | ||
| Priority: | P3 | CC: | dan_oconnor, nsand.dev |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
Hi, Dan. This was fixed in Helios. *** This bug has been marked as a duplicate of bug 277052 *** |
Build Identifier: 1.0.300.v200805140200 When part of an end tag is selected in an xml editor, the entire end tag is deleted when the forward slash key is pressed. Reproducible: Always Steps to Reproduce: In an Eclipse project create a new XML file. Open the file in the webtools XML editor Enter the following XML into the source: <?xml version="1.0" encoding="UTF-8"?> <doc> <div> <li></li> </div> </doc> In line 4 select ></li press forward slash as if to replace the selected text with a forward slash At this point I would expect my document to look like: <?xml version="1.0" encoding="UTF-8"?> <doc> <div> <li/> </div> </doc> Instead it looks like: <?xml version="1.0" encoding="UTF-8"?> <doc> <div> <li/div> </doc>