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

Bug 332116

Summary: XML Editor incorrectly interprets > in attributes
Product: [WebTools] WTP Source Editing Reporter: james
Component: wst.xmlAssignee: Nick Sandonato <nsand.dev>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: nsand.dev, thatnitind
Version: unspecified   
Target Milestone: 3.3 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch none

Description james CLA 2010-12-08 06:26:13 EST
Build Identifier: M20100909-0800

WST XML Core version 3.2.0.v201005241510-7C7OFXTF7RZHQHHxO4IuKe
Editor options have all of the Content Assist and Typing options enabled.

While typing xml, the editor treats a > within an attribute as the end of a tag, inserting incorrect code (resulting in <t a="></t>").

Reproducible: Always

Steps to Reproduce:
1. Open an xml file in the xml editor.
2. Move the cursor to a legal position for a new xml tag.
3. Type something like <t a=">
Comment 1 Nick Sandonato CLA 2010-12-09 14:48:40 EST
Created attachment 184895 [details]
patch
Comment 2 Nick Sandonato CLA 2010-12-14 15:15:53 EST
Code checked in.