Difference: UnicodeSETStmt (1 vs. 17)

Revision 172011-06-02 - JeanNeron

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

SET Statement

Line: 65 to 65
 
  1. SETing a token field into a National Field does not work, just get reverse image diamonds * FIXED ** April 17 engine
  2. SETing a National field back into a Token does not work, just get ??????? ** Not a bug FAD**
  3. SETing a Unicode field back into a Token does not work, just get ??????? ** Not a bug FAD**
Changed:
<
<
  1. Does not throw transcode error when moving raw to National when raw contains non national data
>
>
  1. Does not throw transcode error when moving raw to National when raw contains non national data ** Not a bug FAD**
 
  1. A Raw alpha containing \u#### or \U######## does not get transcoded to Unicode. ** Not a bug, functions as designed **
Changed:
<
<
  1. SETing a unicode character into a raw alpha generates a 'Value Does Not Fit In Mask' runtime error. It should be transcode error. * FIXED * April 19 engine
>
>
  1. SETing a unicode character into a raw alpha generates a 'Value Does Not Fit In Mask' runtime error. It should be transcode error. * FIXED * April 19 engine
 
  1. SETing a national character into a raw alpha generates a 'Value Does Not Fit In Mask' runtime error. Should not be an error at all, should it? Raw should accept any 8 bit value, right? * Not a bug, FAD *. It's possible a National character will not exist in the 8859-15 (raw) character set.
Changed:
<
<
  1. SETing a Unicode Character into a National field, where the Unicode character is not part of the National set does not create a transcode error.
>
>
  1. SETing a Unicode Character into a National field, where the Unicode character is not part of the National set does not create a transcode error. ** Not a bug FAD**
 
  1. SET statement gives runtime error 'Value Does Not Fit in Mask' when attempting to move unicode field containing \u00A4 into it. I thought any 8 bit character was valid for Raw fields? * Not a bug * Raw fields use the 8859-15 character set, and \u00A4 (spiky ball) is not part of it.
Changed:
<
<
  1. Allows me to SET \u00A4 into a National field when SYSPARM has US-ASCII as National Character set. This character (spiky ball) does not exist in US-ASCII, only in 8859-1. Should be a transcode error.
>
>
  1. Allows me to SET \u00A4 into a National field when SYSPARM has US-ASCII as National Character set. This character (spiky ball) does not exist in US-ASCII, only in 8859-1. Should be a transcode error. ** Not a bug FAD**
  -- SteveFrizzell - 2011-03-07 \ No newline at end of file

Revision 162011-04-20 - JeanNeron

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

SET Statement

Line: 60 to 60
 

Bugs

  1. Bug: Setting a Unicode alpha field equal to a Token field does not work. It appears to do a byte by byte set, not a character set of the Token string. (Note CNV TEXT does work) * FIXED * March 28 engine
Changed:
<
<
  1. When SETting a logic field into Unicode or National fields, does not remove old data in receiving field, ie, receiving field contains 20110412, after SET contains Y0110412. * FIXED * April 17 engine
>
>
  1. When SETting a logic field into Unicode or National fields, does not remove old data in receiving field, ie, receiving field contains 20110412, after SET contains Y0110412. * FIXED * April 17 engine
 
  1. When SETting a numeric field into Unicode or National fields, does not remove old data in receiving field, ie, receiving field contains 2011041200000000, after SETting numeric field value 12345, contains 1234541200000000.** FIXED ** April 17 engine
  2. SETing a token field into a National Field does not work, just get reverse image diamonds * FIXED ** April 17 engine
  3. SETing a National field back into a Token does not work, just get ??????? ** Not a bug FAD**
  4. SETing a Unicode field back into a Token does not work, just get ??????? ** Not a bug FAD**
  5. Does not throw transcode error when moving raw to National when raw contains non national data
  6. A Raw alpha containing \u#### or \U######## does not get transcoded to Unicode. ** Not a bug, functions as designed **
Changed:
<
<
  1. SETing a unicode character into a raw alpha generates a 'Value Does Not Fit In Mask' runtime error. It should be transcode error.
  2. SETing a national character into a raw alpha generates a 'Value Does Not Fit In Mask' runtime error. Should not be an error at all, should it? Raw should accept any 8 bit value, right? * Not a bug, FAD *. It's possible a National character will not exist in the 8859-15 (raw) character set.
>
>
  1. SETing a unicode character into a raw alpha generates a 'Value Does Not Fit In Mask' runtime error. It should be transcode error. * FIXED * April 19 engine
  2. SETing a national character into a raw alpha generates a 'Value Does Not Fit In Mask' runtime error. Should not be an error at all, should it? Raw should accept any 8 bit value, right? * Not a bug, FAD *. It's possible a National character will not exist in the 8859-15 (raw) character set.
 
  1. SETing a Unicode Character into a National field, where the Unicode character is not part of the National set does not create a transcode error.
Changed:
<
<
  1. SET statement gives runtime error 'Value Does Not Fit in Mask' when attempting to move unicode field containing \u00A4 into it. I thought any 8 bit character was valid for Raw fields? * Not a bug * Raw fields use the 8859-15 character set, and \u00A4 (spiky ball) is not part of it.
>
>
  1. SET statement gives runtime error 'Value Does Not Fit in Mask' when attempting to move unicode field containing \u00A4 into it. I thought any 8 bit character was valid for Raw fields? * Not a bug * Raw fields use the 8859-15 character set, and \u00A4 (spiky ball) is not part of it.
 
  1. Allows me to SET \u00A4 into a National field when SYSPARM has US-ASCII as National Character set. This character (spiky ball) does not exist in US-ASCII, only in 8859-1. Should be a transcode error.

-- SteveFrizzell - 2011-03-07 \ No newline at end of file

Revision 152011-04-19 - JeanNeron

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

SET Statement

Line: 60 to 60
 

Bugs

  1. Bug: Setting a Unicode alpha field equal to a Token field does not work. It appears to do a byte by byte set, not a character set of the Token string. (Note CNV TEXT does work) * FIXED * March 28 engine
Changed:
<
<
  1. When SETting a logic field into Unicode or National fields, does not remove old data in receiving field, ie, receiving field contains 20110412, after SET contains Y0110412.
  2. When SETting a numeric field into Unicode or National fields, does not remove old data in receiving field, ie, receiving field contains 2011041200000000, after SETting numeric field value 12345, contains 1234541200000000.
  3. SETing a token field into a National Field does not work, just get reverse image diamonds
  4. SETing a National field back into a Token does not work, just get ???????
  5. SETing a Unicode field back into a Token does not work, just get ???????
>
>
  1. When SETting a logic field into Unicode or National fields, does not remove old data in receiving field, ie, receiving field contains 20110412, after SET contains Y0110412. * FIXED * April 17 engine
  2. When SETting a numeric field into Unicode or National fields, does not remove old data in receiving field, ie, receiving field contains 2011041200000000, after SETting numeric field value 12345, contains 1234541200000000.** FIXED ** April 17 engine
  3. SETing a token field into a National Field does not work, just get reverse image diamonds * FIXED ** April 17 engine
  4. SETing a National field back into a Token does not work, just get ??????? ** Not a bug FAD**
  5. SETing a Unicode field back into a Token does not work, just get ??????? ** Not a bug FAD**
 
  1. Does not throw transcode error when moving raw to National when raw contains non national data
Changed:
<
<
  1. A Raw alpha containing \u#### or \U######## does not get transcoded to Unicode.
>
>
  1. A Raw alpha containing \u#### or \U######## does not get transcoded to Unicode. ** Not a bug, functions as designed **
 
  1. SETing a unicode character into a raw alpha generates a 'Value Does Not Fit In Mask' runtime error. It should be transcode error.
Changed:
<
<
  1. SETing a national character into a raw alpha generates a 'Value Does Not Fit In Mask' runtime error. Should not be an error at all, should it? Raw should accept any 8 bit value, right?
>
>
  1. SETing a national character into a raw alpha generates a 'Value Does Not Fit In Mask' runtime error. Should not be an error at all, should it? Raw should accept any 8 bit value, right? * Not a bug, FAD *. It's possible a National character will not exist in the 8859-15 (raw) character set.
 
  1. SETing a Unicode Character into a National field, where the Unicode character is not part of the National set does not create a transcode error.
Changed:
<
<
  1. SET statement gives runtime error 'Value Does Not Fit in Mask' when attempting to move unicode field containing \u00A4 into it. I thought any 8 bit character was valid for Raw fields?
>
>
  1. SET statement gives runtime error 'Value Does Not Fit in Mask' when attempting to move unicode field containing \u00A4 into it. I thought any 8 bit character was valid for Raw fields? * Not a bug * Raw fields use the 8859-15 character set, and \u00A4 (spiky ball) is not part of it.
 
  1. Allows me to SET \u00A4 into a National field when SYSPARM has US-ASCII as National Character set. This character (spiky ball) does not exist in US-ASCII, only in 8859-1. Should be a transcode error.

-- SteveFrizzell - 2011-03-07 \ No newline at end of file

Revision 142011-04-15 - JeanNeron

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

SET Statement

Line: 71 to 71
 
  1. SETing a national character into a raw alpha generates a 'Value Does Not Fit In Mask' runtime error. Should not be an error at all, should it? Raw should accept any 8 bit value, right?
  2. SETing a Unicode Character into a National field, where the Unicode character is not part of the National set does not create a transcode error.
  3. SET statement gives runtime error 'Value Does Not Fit in Mask' when attempting to move unicode field containing \u00A4 into it. I thought any 8 bit character was valid for Raw fields?
Added:
>
>
  1. Allows me to SET \u00A4 into a National field when SYSPARM has US-ASCII as National Character set. This character (spiky ball) does not exist in US-ASCII, only in 8859-1. Should be a transcode error.
  -- SteveFrizzell - 2011-03-07 \ No newline at end of file

Revision 132011-04-15 - JeanNeron

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

SET Statement

Line: 68 to 68
 
  1. Does not throw transcode error when moving raw to National when raw contains non national data
  2. A Raw alpha containing \u#### or \U######## does not get transcoded to Unicode.
  3. SETing a unicode character into a raw alpha generates a 'Value Does Not Fit In Mask' runtime error. It should be transcode error.
Changed:
<
<
  1. SETing a national character into a raw alpha generates a 'Value Does Not Fit In Mask' runtime error. It should be transcode error.
>
>
  1. SETing a national character into a raw alpha generates a 'Value Does Not Fit In Mask' runtime error. Should not be an error at all, should it? Raw should accept any 8 bit value, right?
 
  1. SETing a Unicode Character into a National field, where the Unicode character is not part of the National set does not create a transcode error.
Changed:
<
<
>
>
  1. SET statement gives runtime error 'Value Does Not Fit in Mask' when attempting to move unicode field containing \u00A4 into it. I thought any 8 bit character was valid for Raw fields?
  -- SteveFrizzell - 2011-03-07 \ No newline at end of file

Revision 122011-04-14 - JeanNeron

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

SET Statement

Line: 56 to 56
 
  1. Test Unicode to Unicode
  2. Test National to National
  3. Test Unicode to National and back (with/without transcode error)
Deleted:
<
<
  1. Test National to Unicode and back (with/without transcode error)
 
  1. Test Truncation & padding

Bugs

Revision 112011-04-14 - JeanNeron

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

SET Statement

Line: 51 to 51
 
  1. Test invalid combinations (Group -> Unicode/National, Unicode/National -> Group), is error message understandable?
  2. For each of the types (Date, Format, Logic, Numeric, Text, Token), perform 4 tests: move from type into Unicode, move from type into National, move from Unicode into type, move from National into type.
Changed:
<
<
  1. Test Raw to National (with/without transcode error)
  2. Test Raw to Unicode
  3. Test National to Raw (with/without transcode error)
  4. Test Unicode to Raw (with/without transcode error)
>
>
  1. Test Raw to National and back (with/without transcode error)
  2. Test Raw to Unicode and back (with/without transcode error)
 
  1. Test Unicode to Unicode
  2. Test National to National
Changed:
<
<
  1. Test Unicode to National
  2. Test National to Unicode
>
>
  1. Test Unicode to National and back (with/without transcode error)
  2. Test National to Unicode and back (with/without transcode error)
 
  1. Test Truncation & padding

Bugs

Line: 69 to 67
 
  1. SETing a National field back into a Token does not work, just get ???????
  2. SETing a Unicode field back into a Token does not work, just get ???????
  3. Does not throw transcode error when moving raw to National when raw contains non national data
Added:
>
>
  1. A Raw alpha containing \u#### or \U######## does not get transcoded to Unicode.
  2. SETing a unicode character into a raw alpha generates a 'Value Does Not Fit In Mask' runtime error. It should be transcode error.
  3. SETing a national character into a raw alpha generates a 'Value Does Not Fit In Mask' runtime error. It should be transcode error.
  4. SETing a Unicode Character into a National field, where the Unicode character is not part of the National set does not create a transcode error.
 

-- SteveFrizzell - 2011-03-07 \ No newline at end of file

Revision 102011-04-13 - JeanNeron

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

SET Statement

Line: 68 to 68
 
  1. SETing a token field into a National Field does not work, just get reverse image diamonds
  2. SETing a National field back into a Token does not work, just get ???????
  3. SETing a Unicode field back into a Token does not work, just get ???????
Added:
>
>
  1. Does not throw transcode error when moving raw to National when raw contains non national data
 

-- SteveFrizzell - 2011-03-07

Revision 92011-04-13 - JeanNeron

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

SET Statement

Line: 65 to 65
 
  1. Bug: Setting a Unicode alpha field equal to a Token field does not work. It appears to do a byte by byte set, not a character set of the Token string. (Note CNV TEXT does work) * FIXED * March 28 engine
  2. When SETting a logic field into Unicode or National fields, does not remove old data in receiving field, ie, receiving field contains 20110412, after SET contains Y0110412.
  3. When SETting a numeric field into Unicode or National fields, does not remove old data in receiving field, ie, receiving field contains 2011041200000000, after SETting numeric field value 12345, contains 1234541200000000.
Added:
>
>
  1. SETing a token field into a National Field does not work, just get reverse image diamonds
  2. SETing a National field back into a Token does not work, just get ???????
  3. SETing a Unicode field back into a Token does not work, just get ???????
  -- SteveFrizzell - 2011-03-07 \ No newline at end of file

Revision 82011-04-12 - JeanNeron

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

SET Statement

Line: 63 to 63
 

Bugs

  1. Bug: Setting a Unicode alpha field equal to a Token field does not work. It appears to do a byte by byte set, not a character set of the Token string. (Note CNV TEXT does work) * FIXED * March 28 engine
Added:
>
>
  1. When SETting a logic field into Unicode or National fields, does not remove old data in receiving field, ie, receiving field contains 20110412, after SET contains Y0110412.
  2. When SETting a numeric field into Unicode or National fields, does not remove old data in receiving field, ie, receiving field contains 2011041200000000, after SETting numeric field value 12345, contains 1234541200000000.
  -- SteveFrizzell - 2011-03-07 \ No newline at end of file

Revision 72011-04-12 - JeanNeron

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

SET Statement

Line: 48 to 48
 
    • Unicode characters can be embedded in literals using unicode escape sequences. \u#### or \U########
    • Truncation and UTF-32 or Space padding will take place.

Test Plan

Deleted:
<
<

ILF Editor: (untested)

 
Changed:
<
<
Test Requirements:
>
>
  1. Test invalid combinations (Group -> Unicode/National, Unicode/National -> Group), is error message understandable?
  2. For each of the types (Date, Format, Logic, Numeric, Text, Token), perform 4 tests: move from type into Unicode, move from type into National, move from Unicode into type, move from National into type.
  3. Test Raw to National (with/without transcode error)
  4. Test Raw to Unicode
  5. Test National to Raw (with/without transcode error)
  6. Test Unicode to Raw (with/without transcode error)
  7. Test Unicode to Unicode
  8. Test National to National
  9. Test Unicode to National
  10. Test National to Unicode
  11. Test Truncation & padding
 
Changed:
<
<
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

>
>

Bugs

 
  1. Bug: Setting a Unicode alpha field equal to a Token field does not work. It appears to do a byte by byte set, not a character set of the Token string. (Note CNV TEXT does work) * FIXED * March 28 engine

-- SteveFrizzell - 2011-03-07

Revision 62011-03-28 - JeanNeron

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

SET Statement

Line: 71 to 71
  Untested

Bugs

Changed:
<
<
  1. Bug: Setting a Unicode alpha field equal to a Token field does not work. It appears to do a byte by byte set, not a character set of the Token string. (Note CNV TEXT does work)
>
>
  1. Bug: Setting a Unicode alpha field equal to a Token field does not work. It appears to do a byte by byte set, not a character set of the Token string. (Note CNV TEXT does work) * FIXED * March 28 engine
  -- SteveFrizzell - 2011-03-07

Revision 52011-03-17 - PeteBrower

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

SET Statement

Line: 47 to 47
 
    • Each character is transcoded from 8859-15 to UTF-32.
    • Unicode characters can be embedded in literals using unicode escape sequences. \u#### or \U########
    • Truncation and UTF-32 or Space padding will take place.
Added:
>
>

Test Plan

ILF Editor: (untested)

 
Added:
>
>
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. Bug: Setting a Unicode alpha field equal to a Token field does not work. It appears to do a byte by byte set, not a character set of the Token string. (Note CNV TEXT does work)

Revision 42011-03-15 - PeteBrower

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

SET Statement

Line: 14 to 13
 
  • To RAW Alpha or Group
    • The current behavior has not been changed.
  • To UNICODE or NATIONAL Alpha
Changed:
<
<
    • Each byte of data in the RAW alpha source field is transcoded from an 8859-15 character to the equivalent UTF-32 character in the range U+0000 thru U+00FF and is then set into the corresponding character position in the UTF-32 encoded destination field.
>
>
    • Each byte of data in the RAW alpha source field is transcoded from an 8859-15 character for RAW or the defined NATION encoding to the equivalent UTF-32 character in the range U+0000 thru U+00FF and is then set into the corresponding character position in the UTF-32 encoded destination field.
    • The destination is truncated if the number of source bytes is greater than the number of destination characters.
    • UTF-32 padding takes place if the number of source bytes is less than the number of destination characters.

Set from Group:

  • To RAW Alpha or Group
    • he current behavior has not been changed.
  • To UNICODE or NATIONAL Alpha
    • This combination will not be allowed.
    • The process compiler should report this as an error.
    • Since many PDF fields and TEMP fields are redefined as UNICODE this will likely break some applications.

Set from UNICODE or NATIONAL Alpha:

  • To RAW or NATIONAL Alpha
    • Each UTF-32 character in the source field is transcoded into 8859-15 characters for RAW or the defined NATIONAL encoding in the range 0x00 to 0xFF and is then set into the corresponding byte postiion in the destination field.
    • The destination is truncated if the number of source characters is greater than the number of destination bytes.
    • 8-bit space padding takes place if the number of source characters is less than the number of destination bytes.
  • To Group:
    • This combination will not be allowed.
    • The process compiler should report this as an error.
    • Since many PDF fields and TEMP fields are redefined as UNICODE this will like break some applications.
  • To UNICODE Alpha:
    • Straight copy with no transcoding.
    • Expected truncation and UTF-32 padding will take place on length mismatch.

Set from Unicode Literal:

  • To RAW Alpha or Group
    • Normal literals unchanged
    • Unicode Literals are not interpreted as unicode escape sequences.
  • To UNICODE or NATIONAL Alpha
    • Character literals are limited to the defined 8859-15 characters.
    • Each character is transcoded from 8859-15 to UTF-32.
    • Unicode characters can be embedded in literals using unicode escape sequences. \u#### or \U########
    • Truncation and UTF-32 or Space padding will take place.
 

Bugs

  1. Bug: Setting a Unicode alpha field equal to a Token field does not work. It appears to do a byte by byte set, not a character set of the Token string. (Note CNV TEXT does work)

Revision 32011-03-09 - PeteBrower

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

SET Statement

Added:
>
>

Overview

The SET statement has been extended to take the Encoding Type attribute of an alpha field into consideration. All Alpha fields in existing applications developed prior to the implementation of Unicode support have an Encoding Type of “Raw”. Group fields also have an implied Encoding Type of “Raw”. To ensure compatibility of existing applications, the behavior of the SET statement should be the same as it always has been when the statement involves Raw or Group fields and the other field types.

The following outlines specifies the behavior of the SET statement when one or both of the operands have an Encoding Type value of “NATIONAL” or “UNICODE”.

SET from RAW Alpha:

  • To RAW Alpha or Group
    • The current behavior has not been changed.
  • To UNICODE or NATIONAL Alpha
    • Each byte of data in the RAW alpha source field is transcoded from an 8859-15 character to the equivalent UTF-32 character in the range U+0000 thru U+00FF and is then set into the corresponding character position in the UTF-32 encoded destination field.
 

Bugs

  1. Bug: Setting a Unicode alpha field equal to a Token field does not work. It appears to do a byte by byte set, not a character set of the Token string. (Note CNV TEXT does work)

Revision 22011-03-08 - SteveFrizzell

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

SET Statement

Bugs

Changed:
<
<
  1. Bug: Setting a Unicode alpha field equal to a Token field does not work. (Note CNV TEXT does work)
>
>
  1. Bug: Setting a Unicode alpha field equal to a Token field does not work. It appears to do a byte by byte set, not a character set of the Token string. (Note CNV TEXT does work)
  -- SteveFrizzell - 2011-03-07 \ No newline at end of file

Revision 12011-03-07 - SteveFrizzell

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

SET Statement

Bugs

  1. Bug: Setting a Unicode alpha field equal to a Token field does not work. (Note CNV TEXT does work)

-- SteveFrizzell - 2011-03-07

 
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