Consultor Eletrônico



Kbase 19772: XML Parser Error Unable to Find Unicode Conversion Files
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/8/2008
Status: Verified

FACT(s) (Environment):

Progress 9.1A
Progress 9.1B

SYMPTOM(s):

Using XML

Parser Error Unable to Find Unicode Conversion Files

Cannot create widget of type <type>. (3181)

X-NODEREF or X-DOCUMENT <method-name> got an error: <xml-exception>. (9082)

CAUSE:

When you run XML related code in Progress Version 9.1x, the avove errors may be encountered. The parser requires an environment variable named ICU_DATA to be set to point to the Unicode conversion files.

FIX:

The Unicode conversion files can be found in $DLC/lib/icu/data on UNIX. The scripts shipped with Progress (pro, etc.) set this variable. If confronted with an error referencing Unicode, either Progress scripts are not being used or there exists an installation problem.

Sample code:

DEFINE VARIABLE hDoc AS HANDLE.
CREATE X-DOCUMENT hDoc.

Typical error display:

X-NODEREF or X-DOCUMENT Initialize Parser got an error: Unable to find
Unicode conversion files. (9082)
Cannot create widget of type X-DOCUMENT. (3181)
Press space bar to continue.