XMLSpy's spellchecker with built-in language dictionaries (see note below) is enabled in Text View, Grid View, and Authentic View. If you wish to spellcheck a document that you have been editing in another view, you can switch to Text View or Grid View and run a spelling check. For example, if you have been editing an XML Schema document in Schema View, switch to Text View or Grid View for the spelling check.
|Note:||The selection of built-in dictionaries that ship with Altova software does not constitute any language preferences by Altova, but is largely based on the availability of dictionaries that permit redistribution with commercial software, such as the MPL, LGPL, or BSD licenses. Many other open-source dictionaries exist, but are distributed under more restrictive licenses, such as the GPL license. Many of these dictionaries are available as part of a separate installer located at http://www.altova.com/dictionaries. It is your choice as to whether you can agree to the terms of the license applicable to the dictionary and whether the dictionary is appropriate for your use with the software on your computer.|
This section describes how to use the spellchecker. It is organized into the following sub-sections:
The spellchecker language can be set as follows:
|1.||Click the Tools | Spelling Options menu command.|
|2.||In the XML Spelling Options dialog that pops up, click the MoreSpelling Options button.|
|3.||In the Spelling Options dialog that now pops up (screenshot below), select one of the installed dictionaries from the dropdown list of the Dictionary Language combo box.|
|4.||Click OK to finish.|
The dictionary language you selected will be used by the spellchecker for spelling checks. If the language you want is not already installed, you can download additional language dictionaries. How to do this is described in the section, Adding dictionaries for the spellchecker.
When the spellchecker is run in Text View or Grid View, the scope of the check can be defined immediately before starting the check. Do this by selecting the command Tools | Spelling Options and by defining the required scope in the XML Spelling Options dialog that pops up (see screenshot below).
You can select which elements and attributes are to be checked and whether CDATA sections and comments should be checked. Also see the description of the Spelling Options command for related information.
The Tools | Spelling (Shift+F7) command automatically starts checking the currently active XML document according to the defined scope. If an unknown word is encountered, the Spelling: Not in Dictionary dialog pops up (screenshot below). Otherwise the spelling check runs through to completion.
The various parts of the Spelling: Not in Dictionary dialog and the available options are described below:
Not in Dictionary
This text box contains the word that cannot be found in either the selected language dictionary or user dictionary. The following options are available:
|•||You can edit the word in the text box manually or select a suggestion from the Suggestions pane. Then click Change to replace the word in the XML document with the edited word. (Double-clicking a suggestion inserts it directly in the XML document.) When a word is shown in the Not in Dictionary text box, it is also highlighted in the XML document, so you can edit the word directly in the document if you like. Clicking Change All will replace all occurrences of the word in the XML document with the edited word.|
|•||You can choose to not make any change and to ignore the spellchecker warning—either just for the current occurrence of the word or for every occurrence of it.|
|•||You can add the word to the user dictionary and so allow the word to be considered correct for all checks from the current check onwards.|
This list box displays words resembling the unknown word (supplied from the language and user dictionaries). Double-clicking a word in this list automatically inserts it in the document and continues the spellchecking process.
This command allows you to continue checking the document while ignoring the first occurrence of the unknown word. The same word will be flagged again if it appears in the document.
This command ignores all instances of the unknown word in the whole document.
Add to dictionary
This command adds the unknown word to the user dictionary. You can access the user dictionary (in order to edit it) via the Spelling Options dialog.
This command replaces the currently highlighted word in the XML document with the (edited) word in the Not in Dictionary text box.
This command replaces all occurrences of the currently highlighted word in the XML document with the (edited) word in the Not in Dictionary text box.
The Recheck Document button restarts the check from the beginning of the document.
Clicking the Options button opens a dialog box depending on the current view.
|•||If the current view is Authentic View, the Spelling Options dialog box is opened.|
|•||If the current view is Text View or Grid View, then the XML Spelling Options dialog box is opened.|
For more information about these dialog boxes, see the section Spelling Options.
This command closes the Spelling dialog box.
© 2019 Altova GmbH