Red Hat Bugzilla – Bug 118913
DHTML editor relies on a perl script for Spell Checking functionality
Last modified: 2007-04-18 13:04:31 EDT
Description of problem:
The new DHTML editor we integrated with Core / CMS uses a perl CGI
script to interfact to GNU ASpell. There are a couple of problems with
* It breaks our general rule of being pure java at runtime.
* The Perl version that comes with RHEL 2.1 doesn't support unicode
to a level sufficient for the Perl spell checker to work
* Both RHEL 2.1 & 3 ship with an old unmaintained ASpell that was
discontinued 2 years ago & has completely different C++ API.
* Installing the new ASpell RPMs causes RPM DB conflicts & clash in
the /usr/bin namespace
The solution is for us to write a drop in replacement for the CGI
script in Java instead of Perl. We could keep the exact same request
contract, so no further forking of changes to the HTML Editor would be
Our replacement could leverage the JTextCheck library which provides a
JNI wrapper to ASpell:
This library abstracts out the impl of the spell checker, so we could
subsitute in an alternative non-JNI solution if we discover one /
someone pays for a commercial one.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Closing old tickets