Consultor Eletrônico



Kbase 18991: V9 Customer Word-break Table Problem and Workaround
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   21/01/2003
Status: Unverified

GOAL:

Word-break Table Problem and Workaround for V9

FACT(s) (Environment):

Progress 8.X
Progress 9.X

SYMPTOM(s):

Word-break Table

CAUSE:

Progress introduced a new format for the word-break table in Version 9, with the intention to support both the old (Version 8) and the new formats of these tables.

A mistake in the detection of the Version 8 word break tables led to a usage problem. That is, the information in the version 8 table is not interpreted correctly. This problem occurs only for those users who:
a) have created their own word break tables in version 8, AND
b) continue to use them with version 9 without converting to the version 9 format.

Two symptoms of the problem are:

1) An error is detected on connection and you cannot connect to the database.

or

2) You can connect, and updating the database can lead to a corrupt word-index.

FIX:

The solution is to convert the Version 8 word break table to a Version 9 word break table.

1)As opposed to simply adopting one of the existing tables provided in dlc/prolang/convmap, the version 8 wordbreak table must be edited to include the following information at the head of the file:

version = 9
codepage = <codepagename>
wordrules-name = basic
type = 2

(substitute your database codepage for "<codepagename>", typically "codepage=iso8859-1").

There are several examples of v9 format wordbreak tables in dlc/prolang/convmap/*.wbt.

2) Next, compile the word break table with "proutil -C wbreak-compiler command and assign it to the database with the "proutil -C word-rules" command.

We recommend running an index build to insure the index is now correct.