W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2004

Spell check can crash Amaya

From: Steven Gilham <steven.gilham@eu.citrix.com>
Date: Thu, 5 Feb 2004 08:16:16 -0000
Message-ID: <B5885AA769039C49BD9295955CB2E0E4010056D7@lonpexch501.ctxuk.citr ix.com>
To: www-amaya@w3.org


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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:43 UTC