On 08/06/2017 03:14 PM, Leif Halvard Silli wrote:
I expected XXE to support the xml:lang
<https://www.w3.org/TR/2008/REC-xml-20081126/#sec-lang-tag> in any
document - even in documents of which XXE have no clue.
However, when working on one of the informal <messages> document (for
localization, e.g. of the ditac files), I noticed that the spell checker
treated the text as if English. Thus, for unknown documents, the spell
checker works, but it ignores the xml:lang attribute.
Can this be fixed?
We'll *try* to fix this if this is not too much work.
Please note that decent support of ``informal documents'' is really not
a priority for us.
Moreover an `informal document'' may be turned very easily into a
first-class document for XXE by writing a simple configuration file for it.
See XMLmind XML Editor - Configuration and Deployment, 2. Writing a
configuration file for XXE,
See 6. Configuration elements, 27. spellCheckOptions,
Here is how I expect the spellcheker to work: For unknown files, XXE
only have two views: unstyled view and source view. For known files, the
spell checker (I use the HunSpell checker) is operating both in unstyled
view as well in styled views. But in source view, it does not work.
Thus, for unknown documents, I expected the spell checker to function in
unstyled view - but not in source view.
The source view is not a ``real view'' like the tree view or the styled
view are. It's just a convenient feature.
Now speaking about the tree view and the styled view, the language used
by default for all the documents for which the document language cannot
be determined may be specified using the "Check Spelling" dialog box:
This setting is specified once for all and is honored by both the
on-the-fly spell checker and the on-demand spell checker.
XMLmind XML Editor Support List