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

Bug 349321

Summary: Spellcheck doesn't ignore enumerated values
Product: [WebTools] WTP Source Editing Reporter: Nick Sandonato <nsand.dev>
Component: wst.xmlAssignee: Nick Sandonato <nsand.dev>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 Flags: thatnitind: review+
Version: 3.2.4   
Target Milestone: 3.2.5   
Hardware: All   
OS: All   
Whiteboard: WI70554
Attachments:
Description Flags
patch none

Description Nick Sandonato CLA 2011-06-14 10:21:58 EDT
Currently, spellcheck only uses the available dictionary when checking text regions in an XML document. This is problematic for text nodes that contain an enumerated list of data that might not fall into the dictionary. For example, for a TLD, the <body-content> has an enumerated list of text. Words like 'scriptless' and 'tagdependent' are not in the dictionary, but for this case, we know that the value spelled correctly; otherwise, validation would alert us.

The spellcheck strategy for text content in XML documents should be corrected to account for these enumerated values.
Comment 1 Nick Sandonato CLA 2011-06-14 10:22:39 EDT
Created attachment 197955 [details]
patch
Comment 2 Nick Sandonato CLA 2011-06-14 17:55:36 EDT
Code released to 3_2_maintenance and checked in to HEAD.