Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349321 - Spellcheck doesn't ignore enumerated values
Summary: Spellcheck doesn't ignore enumerated values
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: 3.2.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.2.5   Edit
Assignee: Nick Sandonato CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard: WI70554
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-14 10:21 EDT by Nick Sandonato CLA
Modified: 2011-06-14 17:55 EDT (History)
0 users

See Also:
thatnitind: review+


Attachments
patch (2.76 KB, patch)
2011-06-14 10:22 EDT, Nick Sandonato CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.