Consultor Eletrônico



Kbase P10560: I18N. Unexpected exception with GET-ATTRIBUTE with XML and Russian characters
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/7/2008
Status: Verified

SYMPTOM(s):

I18N. Unexpected exception with GET-ATTRIBUTE with XML and Russian characters

X-NODEREF or X-DOCUMENT GET-ATTRIBUTE got an error: Unexpected exception. (9082)

FACT(s) (Environment):

Windows 2000
Progress 9.1D

CAUSE:

Which non-ASCII characters are used is not important. The error occurs if the length of string has the values that equate to:
2 5 7 8 10 13 15 16 18 21 ...
i.e. value increments by sinusoid:
3 1 2 3 2 1 2 3

Average incrementation is 2 that matches the length of single Russian character in UTF-8. We use xDoc:ENCODING = "UTF-8".

The mix of non-asci characters with asci ones only shifts the "critical" sizes that produce the error but the pattern stays the same.

The error happens only if cpinternal is 1251 i.e. Windows codepage. There are NO errors if cpinternal equates any other codepage from Russian language
group i.e. ibm866, koi8-r or iso8859-1. Unfortunately GUI client should use Windows codepage.

To reproduce the situation it is not needed to have Russian environment or Russian fonts. Just start session with the following parameters:
-cpinternal 1251
-cpstream 1251
-cpcoll Russian
-cpcase Basic

CAUSE:

BUG# 20021004-001

FIX:

This issue has been fixed in OpenEdge 10.0A