Difference: UnicodeIFStmt (1 vs. 17)

Revision 172011-05-16 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

IF / AND / OR Statements

Line: 59 to 59
 
  1. Compiler does not flag Group field to National comparison as an error * FIXED * April 5 engine
  2. Executing an IF .. RS/RI with Unicode or National fields causes process to abort. 2nd attempt causes session to crash. *FIXED * April 5 engine
  3. Not sure if this is a bug or not: If I compare 2 raw alphas, then 'a' is GT 'A', as per the ASCII table. If I compare raw 'a' to Unicode 'A', then the opposite is true. It this because the raw was transcoded to unicode, and then the Unicode collating sequence was used, which puts the lower case before the upper case?
Changed:
<
<
  1. IF .. RS/RI .. always returns False. Example, IF Testing RI ING returns T under 4.2.a, F under unicode. Tested with Unicode and Raw fields, same result.
>
>
  1. IF .. RS/RI .. always returns False. Example, IF Testing RI ING returns T under 4.2.a, F under unicode. Tested with Unicode and Raw fields, same result. * FIXED * Tested ok with April 24 engine.
 
  1. Does not give transcode error as expected. The specs say National/Unicode fields should be transcoded down to 8859-1 first. Or does this mean Regular Expressions will work with Unicode, and don't have to be transcoded? ** Correct, RS/RI should work with Unicode fields (but don't, see #7 above).
\ No newline at end of file

Revision 162011-04-23 - KorryD

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

IF / AND / OR Statements

Line: 9 to 9
  The GE/GT/LE/LT operators should use the Unicode collation API when UTF-32 operands are involved. This is because the 32-bit values that represent UTF-32 characters may not necessarily correspond to the expected collating sequence.
Changed:
<
<
The RI/RS operators expect that the operands will be 8-bit RAW Alpha characters. If UTF-32 operands are specified in conjunction with these operators, they will need to be transcoded to the 8859-1 encoding used by a RAW Alpha field before the statement can be executed. If any character values are encountered that cannot be represented by an 8859-1 encoding, a data exception should occur.
>
>
The RI/RS operators expect that the operands will be 8-bit RAW Alpha characters. If UTF-32 operands are specified in conjunction with these operators, they will need to be transcoded to the 8859-1 encoding used by a RAW Alpha field before the statement can be executed. If any character values are encountered that cannot be represented by an 8859-1 encoding, a data exception should occur.

NOTE: The RI and RS operators do not function as described in the previous paragraph. Instead, the pattern and the search string are both converted to UTF-32 (if necessary) and the regular expression is evaluated in Unicode form (KAD).

  The following applies to all operators other than RS/RI:
  • RAW alpha or Group compared with RAW Alpha, Group, or Literal:

Revision 152011-04-19 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

IF / AND / OR Statements

Line: 58 to 58
 
  1. Executing an IF .. RS/RI with Unicode or National fields causes process to abort. 2nd attempt causes session to crash. *FIXED * April 5 engine
  2. Not sure if this is a bug or not: If I compare 2 raw alphas, then 'a' is GT 'A', as per the ASCII table. If I compare raw 'a' to Unicode 'A', then the opposite is true. It this because the raw was transcoded to unicode, and then the Unicode collating sequence was used, which puts the lower case before the upper case?
  3. IF .. RS/RI .. always returns False. Example, IF Testing RI ING returns T under 4.2.a, F under unicode. Tested with Unicode and Raw fields, same result.
Changed:
<
<
  1. Does not give transcode error as expected. The specs say National/Unicode fields should be transcoded down to 8859-1 first. Or does this mean Regular Expressions will work with Unicode, and don't have to be transcoded?

>
>
  1. Does not give transcode error as expected. The specs say National/Unicode fields should be transcoded down to 8859-1 first. Or does this mean Regular Expressions will work with Unicode, and don't have to be transcoded? ** Correct, RS/RI should work with Unicode fields (but don't, see #7 above).
 \ No newline at end of file

Revision 142011-04-07 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

IF / AND / OR Statements

Line: 51 to 51
 
  1. Test Unicode to Literal (\uxxx, \UXXXXXXXX, normal)

Bugs

Changed:
<
<
  1. The EX operator gives the same result as IN, ie, IF ... IN ... and IF ... EX .... both return true when used with Unicode fields. Use 'testing' for LHS and 'ing' for RHS. Seems to work ok with single character operands.
  2. The EX operator gives the same result as IN, ie, IF ... IN ... and IF ... EX .... both return true when used with National fields. Use 'testing' for LHS and 'ing' for RHS. Seems to work ok with single character operands.
  3. Compiler does not flag Group field to Unicode comparison as an error
  4. Compiler does not flag Group field to National comparison as an error
  5. Executing an IF .. RS/RI with Unicode or National fields causes process to abort. 2nd attempt causes session to crash.
>
>
  1. The EX operator gives the same result as IN, ie, IF ... IN ... and IF ... EX .... both return true when used with Unicode fields. Use 'testing' for LHS and 'ing' for RHS. Seems to work ok with single character operands.* FIXED * April 5 engine
  2. The EX operator gives the same result as IN, ie, IF ... IN ... and IF ... EX .... both return true when used with National fields. Use 'testing' for LHS and 'ing' for RHS. Seems to work ok with single character operands.* FIXED * April 5 engine
  3. Compiler does not flag Group field to Unicode comparison as an error * FIXED * April 5 engine
  4. Compiler does not flag Group field to National comparison as an error * FIXED * April 5 engine
  5. Executing an IF .. RS/RI with Unicode or National fields causes process to abort. 2nd attempt causes session to crash. *FIXED * April 5 engine
 
  1. Not sure if this is a bug or not: If I compare 2 raw alphas, then 'a' is GT 'A', as per the ASCII table. If I compare raw 'a' to Unicode 'A', then the opposite is true. It this because the raw was transcoded to unicode, and then the Unicode collating sequence was used, which puts the lower case before the upper case?
Added:
>
>
  1. IF .. RS/RI .. always returns False. Example, IF Testing RI ING returns T under 4.2.a, F under unicode. Tested with Unicode and Raw fields, same result.
  2. Does not give transcode error as expected. The specs say National/Unicode fields should be transcoded down to 8859-1 first. Or does this mean Regular Expressions will work with Unicode, and don't have to be transcoded?

Revision 132011-04-01 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

IF / AND / OR Statements

Line: 52 to 52
 

Bugs

  1. The EX operator gives the same result as IN, ie, IF ... IN ... and IF ... EX .... both return true when used with Unicode fields. Use 'testing' for LHS and 'ing' for RHS. Seems to work ok with single character operands.
\ No newline at end of file
Added:
>
>
  1. The EX operator gives the same result as IN, ie, IF ... IN ... and IF ... EX .... both return true when used with National fields. Use 'testing' for LHS and 'ing' for RHS. Seems to work ok with single character operands.
  2. Compiler does not flag Group field to Unicode comparison as an error
  3. Compiler does not flag Group field to National comparison as an error
  4. Executing an IF .. RS/RI with Unicode or National fields causes process to abort. 2nd attempt causes session to crash.
  5. Not sure if this is a bug or not: If I compare 2 raw alphas, then 'a' is GT 'A', as per the ASCII table. If I compare raw 'a' to Unicode 'A', then the opposite is true. It this because the raw was transcoded to unicode, and then the Unicode collating sequence was used, which puts the lower case before the upper case?

Revision 122011-04-01 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

IF / AND / OR Statements

Line: 51 to 51
 
  1. Test Unicode to Literal (\uxxx, \UXXXXXXXX, normal)

Bugs

Deleted:
<
<
  1. The EX operator gives the same result as IN, ie, IF ... IN ... and IF ... EX .... both return true when used with Unicode fields. Use 'testing' for LHS and 'ing' for RHS. Seems to work ok with single character operands.
  2. The EX operator gives the same result as IN, ie, IF ... IN ... and IF ... EX .... both return true when used with National fields. Use 'testing' for LHS and 'ing' for RHS. Seems to work ok with single character operands.
  3. Compiler does not flag Group field to Unicode comparison as an error
  4. Compiler does not flag Group field to National comparison as an error
  5. Executing an IF .. RS/RI with Unicode or National fields causes process to abort. 2nd attempt causes session to crash.
  6. Not sure if this is a bug or not: If I compare 2 raw alphas, then 'a' is GT 'A', as per the ASCII table. If I compare raw 'a' to Unicode 'A', then the opposite is true. It this because the raw was transcoded to unicode, and then the Unicode collating sequence was used, which puts the lower case before the upper case?
 \ No newline at end of file
Added:
>
>
  1. The EX operator gives the same result as IN, ie, IF ... IN ... and IF ... EX .... both return true when used with Unicode fields. Use 'testing' for LHS and 'ing' for RHS. Seems to work ok with single character operands.
 \ No newline at end of file

Revision 112011-04-01 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

IF / AND / OR Statements

Line: 56 to 56
 
  1. Compiler does not flag Group field to Unicode comparison as an error
  2. Compiler does not flag Group field to National comparison as an error
  3. Executing an IF .. RS/RI with Unicode or National fields causes process to abort. 2nd attempt causes session to crash.
Deleted:
<
<
  1. When comparing Unicode character 'Ó' (U+04E7) to National string 'ing', GE returns True.
 
  1. Not sure if this is a bug or not: If I compare 2 raw alphas, then 'a' is GT 'A', as per the ASCII table. If I compare raw 'a' to Unicode 'A', then the opposite is true. It this because the raw was transcoded to unicode, and then the Unicode collating sequence was used, which puts the lower case before the upper case?
Deleted:
<
<
  1. Unicode 'B' is GE raw 'A'. Wrong, it's GT, but not GE. Same problem if you reverse Unicode & Raw operands.
  2. Unicode 'A' is LE raw 'B'. Wrong, it's LT, but not LE. Same problem if you reverse Unicode & Raw operands.
  3. National Fields have the same problems as 8 & 9, report LE/GE as true when it's only LT/GT.
  4. Unicode to Literal, same as 8,9,10, reports LE/GE when should just be GT/LT. Comparing literal \u03A3 to U+0385, or comparing U+03a3 to 'Testing'.
  5. National to Literal, same as 8,9,10, reports LE/GE when should be just GT/LT. Comparing National "A" to \u0024 ($), reports "A" is GE "$".
  6. Comparing Raw alpha fields, says 1 is LE 2. 1 is LT 2, not LE 2.

 \ No newline at end of file

Revision 102011-03-28 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

IF / AND / OR Statements

Line: 63 to 63
 
  1. National Fields have the same problems as 8 & 9, report LE/GE as true when it's only LT/GT.
  2. Unicode to Literal, same as 8,9,10, reports LE/GE when should just be GT/LT. Comparing literal \u03A3 to U+0385, or comparing U+03a3 to 'Testing'.
  3. National to Literal, same as 8,9,10, reports LE/GE when should be just GT/LT. Comparing National "A" to \u0024 ($), reports "A" is GE "$".
Deleted:
<
<

 \ No newline at end of file
Added:
>
>
  1. Comparing Raw alpha fields, says 1 is LE 2. 1 is LT 2, not LE 2.

 \ No newline at end of file

Revision 92011-03-24 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

IF / AND / OR Statements

Line: 61 to 61
 
  1. Unicode 'B' is GE raw 'A'. Wrong, it's GT, but not GE. Same problem if you reverse Unicode & Raw operands.
  2. Unicode 'A' is LE raw 'B'. Wrong, it's LT, but not LE. Same problem if you reverse Unicode & Raw operands.
  3. National Fields have the same problems as 8 & 9, report LE/GE as true when it's only LT/GT.
Deleted:
<
<
  1. Unicode to Literal, same as 8,9,10, reports LE/GE when should just be GT/LT. Comparing literal \u03A3 to U+0385, or comparing U+03a3 to 'Testing'.

 \ No newline at end of file
Added:
>
>
  1. Unicode to Literal, same as 8,9,10, reports LE/GE when should just be GT/LT. Comparing literal \u03A3 to U+0385, or comparing U+03a3 to 'Testing'.
  2. National to Literal, same as 8,9,10, reports LE/GE when should be just GT/LT. Comparing National "A" to \u0024 ($), reports "A" is GE "$".

 \ No newline at end of file

Revision 82011-03-24 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

IF / AND / OR Statements

Line: 40 to 40
 
  1. Test RI/RS if they give transcode error when transcoding UTF-8 to RAW
  2. Test Raw to Raw comparisons to ensure they aren't affected
  3. Test Unicode/National to Group and vice versa for compile errors
Changed:
<
<
  1. Test Unicode/National to Unicode/National
  2. Test Unicode/National to Raw
  3. Test Unicode/National to Literals
>
>
  1. Test Unicode to Unicode comparisons
  2. Test National to National comparisons
  3. Test Unicode to National comparisons
  4. Test National to Unicode comparisons
  5. Test Unicode to Raw
  6. Test Raw to Unicode
  7. Test National to Raw
  8. Test Raw to National
  9. Test Unicode to Literal (\uxxx, \UXXXXXXXX, normal)
 

Bugs

  1. The EX operator gives the same result as IN, ie, IF ... IN ... and IF ... EX .... both return true when used with Unicode fields. Use 'testing' for LHS and 'ing' for RHS. Seems to work ok with single character operands.
Line: 55 to 61
 
  1. Unicode 'B' is GE raw 'A'. Wrong, it's GT, but not GE. Same problem if you reverse Unicode & Raw operands.
  2. Unicode 'A' is LE raw 'B'. Wrong, it's LT, but not LE. Same problem if you reverse Unicode & Raw operands.
  3. National Fields have the same problems as 8 & 9, report LE/GE as true when it's only LT/GT.
Changed:
<
<
  1. Unicode to Literal, same as 8,9,10, reports LE/GE when should just be GT/LT. Comparing literal \u03A3 to U+0385

>
>
  1. Unicode to Literal, same as 8,9,10, reports LE/GE when should just be GT/LT. Comparing literal \u03A3 to U+0385, or comparing U+03a3 to 'Testing'.

 \ No newline at end of file

Revision 72011-03-23 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

IF / AND / OR Statements

Line: 45 to 45
 
  1. Test Unicode/National to Literals

Bugs

Changed:
<
<
  1. The EX operator gives the same result as IN, ie, IF ... IN ... and IF ... EX .... both return true when used with Unicode fields.
  2. The EX operator gives the same result as IN, ie, IF ... IN ... and IF ... EX .... both return true when used with National fields.
>
>
  1. The EX operator gives the same result as IN, ie, IF ... IN ... and IF ... EX .... both return true when used with Unicode fields. Use 'testing' for LHS and 'ing' for RHS. Seems to work ok with single character operands.
  2. The EX operator gives the same result as IN, ie, IF ... IN ... and IF ... EX .... both return true when used with National fields. Use 'testing' for LHS and 'ing' for RHS. Seems to work ok with single character operands.
 
  1. Compiler does not flag Group field to Unicode comparison as an error
  2. Compiler does not flag Group field to National comparison as an error
Deleted:
<
<
  1. IF .. RS/RI causes process to abort. 2nd run causes session to crash
  2. When comparing Unicode character 'Ó§' (U+04E7) to National string 'ing', GE returns True. Is that correct??
 \ No newline at end of file
Added:
>
>
  1. Executing an IF .. RS/RI with Unicode or National fields causes process to abort. 2nd attempt causes session to crash.
  2. When comparing Unicode character 'Ó' (U+04E7) to National string 'ing', GE returns True.
  3. Not sure if this is a bug or not: If I compare 2 raw alphas, then 'a' is GT 'A', as per the ASCII table. If I compare raw 'a' to Unicode 'A', then the opposite is true. It this because the raw was transcoded to unicode, and then the Unicode collating sequence was used, which puts the lower case before the upper case?
  4. Unicode 'B' is GE raw 'A'. Wrong, it's GT, but not GE. Same problem if you reverse Unicode & Raw operands.
  5. Unicode 'A' is LE raw 'B'. Wrong, it's LT, but not LE. Same problem if you reverse Unicode & Raw operands.
  6. National Fields have the same problems as 8 & 9, report LE/GE as true when it's only LT/GT.
  7. Unicode to Literal, same as 8,9,10, reports LE/GE when should just be GT/LT. Comparing literal \u03A3 to U+0385

Revision 62011-03-23 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

IF / AND / OR Statements

Line: 9 to 9
  The GE/GT/LE/LT operators should use the Unicode collation API when UTF-32 operands are involved. This is because the 32-bit values that represent UTF-32 characters may not necessarily correspond to the expected collating sequence.
Changed:
<
<
The RI/SI operators expect that the operands will be 8-bit RAW Alpha characters. If UTF-32 operands are specified in conjunction with these operators, they will need to be transcoded to the 8859-1 encoding used by a RAW Alpha field before the statement can be executed. If any character values are encountered that cannot be represented by an 8859-1 encoding, a data exception should occur.
>
>
The RI/RS operators expect that the operands will be 8-bit RAW Alpha characters. If UTF-32 operands are specified in conjunction with these operators, they will need to be transcoded to the 8859-1 encoding used by a RAW Alpha field before the statement can be executed. If any character values are encountered that cannot be represented by an 8859-1 encoding, a data exception should occur.
  The following applies to all operators other than RS/RI:
  • RAW alpha or Group compared with RAW Alpha, Group, or Literal:

Revision 52011-03-22 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

IF / AND / OR Statements

Line: 50 to 50
 
  1. Compiler does not flag Group field to Unicode comparison as an error
  2. Compiler does not flag Group field to National comparison as an error
  3. IF .. RS/RI causes process to abort. 2nd run causes session to crash
Changed:
<
<
>
>
  1. When comparing Unicode character 'Ó§' (U+04E7) to National string 'ing', GE returns True. Is that correct??
 \ No newline at end of file

Revision 42011-03-22 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

IF / AND / OR Statements

Line: 37 to 37
 
  1. Test if the ILF Editor give a meaningful error when entering invalid combinations
  2. Test if the Process Compiler allows all valid combinates from the above list
  3. Test if the Process Compiler give a meaningful error when encountering invalid combinations.
Added:
>
>
  1. Test RI/RS if they give transcode error when transcoding UTF-8 to RAW
 
  1. Test Raw to Raw comparisons to ensure they aren't affected
  2. Test Unicode/National to Group and vice versa for compile errors
  3. Test Unicode/National to Unicode/National
Line: 45 to 46
 

Bugs

  1. The EX operator gives the same result as IN, ie, IF ... IN ... and IF ... EX .... both return true when used with Unicode fields.
Added:
>
>
  1. The EX operator gives the same result as IN, ie, IF ... IN ... and IF ... EX .... both return true when used with National fields.
 
  1. Compiler does not flag Group field to Unicode comparison as an error
  2. Compiler does not flag Group field to National comparison as an error
Added:
>
>
  1. IF .. RS/RI causes process to abort. 2nd run causes session to crash

Revision 32011-03-21 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

IF / AND / OR Statements

Line: 32 to 32
 
    • The process compiler should report this as an error.
    • Since many --- Alphafields are redefined to be UNICODE this will likely break some applications.

Test Plan

Deleted:
<
<

ILF Editor: (untested)

 
Changed:
<
<
Test Requirements:

Does the ILF Editor allow all valid combinates from the above list?

Does the ILF Editor give a meaningful error when entering invalid combinations?

Test Results and Notes:

Untested

Process Compiler: (untested)

Test Requirements:

Does the Process Compiler allow all valid combinates from the above list?

Does the Process Compiler give a meaningful error when encountering invalid combinations? (can use Opt-88 to force saving or errors)

Test Results and Notes:

Untested

Bugs

>
>
  1. Test if the ILF Editor allows all valid combinates from the above list
  2. Test if the ILF Editor give a meaningful error when entering invalid combinations
  3. Test if the Process Compiler allows all valid combinates from the above list
  4. Test if the Process Compiler give a meaningful error when encountering invalid combinations.
  5. Test Raw to Raw comparisons to ensure they aren't affected
  6. Test Unicode/National to Group and vice versa for compile errors
  7. Test Unicode/National to Unicode/National
  8. Test Unicode/National to Raw
  9. Test Unicode/National to Literals

Bugs

  1. The EX operator gives the same result as IN, ie, IF ... IN ... and IF ... EX .... both return true when used with Unicode fields.
  2. Compiler does not flag Group field to Unicode comparison as an error
  3. Compiler does not flag Group field to National comparison as an error

Revision 22011-03-21 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"
Changed:
<
<

SET TEMP Statement

>
>

IF / AND / OR Statements

 

Overview

Line: 16 to 16
 
    • This is the existing condition and no charges have been made.
  • UNICODE or NATIONAL alpha compared with UNICODE or NATIONAL alpha:
    • If there is a mismatch in field lengths then the shorter is padded with UTF-32 space to match the length of the longer field.
Changed:
<
<
    • The poeration is performed by comparing 4-byte UTF-32 characters.
>
>
    • The operation is performed by comparing 4-byte UTF-32 characters.
 
  • UNICODE or NATIONAL alpha compared with RAW alpha (or RAW compared to UNICODE or NATIONAL):
    • The RAW operand is transcoded to UTF-32 characters.
    • If there is a mismatch in field lengths then the shorter is padded with UTF-32 space to match the length of the longer field.
Changed:
<
<
    • The poeration is performed by comparing 4-byte UTF-32 characters.
>
>
    • The operation is performed by comparing 4-byte UTF-32 characters.
 
  • UNICODE or NATIONAL alpha compared with a Literal
    • The literal operand is considered to be a RAW alpha so transcoding from 8859-15 to UTF-32 will take place before the comparison.
    • If the literal contains unicode escape sequences (\u#### or \U########) they will be honored.
    • The literal "_" will still be honored as a way to search for a trailing space.
    • If there is a mismatch in field lengths then the shorter is padded with UTF-32 space to match the length of the longer field.
Changed:
<
<
    • The poeration is performed by comparing 4-byte UTF-32 characters.
  • UNICODE or NATIONAL alpha compared with a Group field (or Group compared with UNMICODE or NATIONAL)
>
>
    • The operation is performed by comparing 4-byte UTF-32 characters.
  • UNICODE or NATIONAL alpha compared with a Group field (or Group compared with UNICODE or NATIONAL)
 
    • This combination is not supported.
    • The process compiler should report this as an error.
    • Since many --- Alphafields are redefined to be UNICODE this will likely break some applications.
Changed:
<
<
Test Plan
>
>

Test Plan

 

ILF Editor: (untested)

Test Requirements:

Revision 12011-03-17 - PeteBrower

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="UnicodeTestPlan"

SET TEMP Statement

Overview

<-- @page { margin: 0.79in } P { margin-bottom: 0.08in } -->

The GE/GT/LE/LT operators should use the Unicode collation API when UTF-32 operands are involved. This is because the 32-bit values that represent UTF-32 characters may not necessarily correspond to the expected collating sequence.

The RI/SI operators expect that the operands will be 8-bit RAW Alpha characters. If UTF-32 operands are specified in conjunction with these operators, they will need to be transcoded to the 8859-1 encoding used by a RAW Alpha field before the statement can be executed. If any character values are encountered that cannot be represented by an 8859-1 encoding, a data exception should occur.

The following applies to all operators other than RS/RI:

  • RAW alpha or Group compared with RAW Alpha, Group, or Literal:
    • This is the existing condition and no charges have been made.
  • UNICODE or NATIONAL alpha compared with UNICODE or NATIONAL alpha:
    • If there is a mismatch in field lengths then the shorter is padded with UTF-32 space to match the length of the longer field.
    • The poeration is performed by comparing 4-byte UTF-32 characters.
  • UNICODE or NATIONAL alpha compared with RAW alpha (or RAW compared to UNICODE or NATIONAL):
    • The RAW operand is transcoded to UTF-32 characters.
    • If there is a mismatch in field lengths then the shorter is padded with UTF-32 space to match the length of the longer field.
    • The poeration is performed by comparing 4-byte UTF-32 characters.
  • UNICODE or NATIONAL alpha compared with a Literal
    • The literal operand is considered to be a RAW alpha so transcoding from 8859-15 to UTF-32 will take place before the comparison.
    • If the literal contains unicode escape sequences (\u#### or \U########) they will be honored.
    • The literal "_" will still be honored as a way to search for a trailing space.
    • If there is a mismatch in field lengths then the shorter is padded with UTF-32 space to match the length of the longer field.
    • The poeration is performed by comparing 4-byte UTF-32 characters.
  • UNICODE or NATIONAL alpha compared with a Group field (or Group compared with UNMICODE or NATIONAL)
    • This combination is not supported.
    • The process compiler should report this as an error.
    • Since many --- Alphafields are redefined to be UNICODE this will likely break some applications.

Test Plan

ILF Editor: (untested)

Test Requirements:

Does the ILF Editor allow all valid combinates from the above list?

Does the ILF Editor give a meaningful error when entering invalid combinations?

Test Results and Notes:

Untested

Process Compiler: (untested)

Test Requirements:

Does the Process Compiler allow all valid combinates from the above list?

Does the Process Compiler give a meaningful error when encountering invalid combinations? (can use Opt-88 to force saving or errors)

Test Results and Notes:

Untested

Bugs

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback