Spell check can crash Amaya

Amaya 8.1 on Win XP home or the Nov4 build of Amaya 8.2 on Win2k server

Spellchecking this page with a mis-spelt long word in works just fine

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
      "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <title>No title</title>
  <meta name="generator" content="amaya 8.2, see http://www.w3.org/Amaya/"
/>
</head>

<body xml:lang="en">
<p>this is about deoxyribonuculeic acid</p>
</body>
</html>

but scanning this typo causes Amaya to crash

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
       "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <title>No title</title>
  <meta name="generator" content="amaya 8.2, see http://www.w3.org/Amaya/"
/>
</head>

<body xml:lang="en">
<p>he went to visit the superintendant of police</p>
</body>
</html>

Also, when manually changed to the correct -ent ending, the spell check
completes cleanly.

Even if the spell-checker is an external module, some sort of exception safe
wrapper wouldn't be a bad idea.

Received on Thursday, 5 February 2004 03:16:33 UTC