Difference: UnicodeSET_TEMPStmt (1 vs. 8)

Revision 82011-06-15 - JeanNeron

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

SET TEMP Statement

Line: 51 to 51
 
  1. SET TEMP from a literal does not recognize \uxxxx or \UXXXXXXXX character sequences * FIXED * tested with May 23 engine
  2. Does not throw transcode errors when setting unicode characters into a national field. ** Not a bug FAD**
  3. Stops moving characters when it hits a unicode in the from field and the to field is a raw type. Just ignores remaining characters. * FIXED * tested with May 23 engine.
Changed:
<
<
  1. When SET TEMP from a literal containing \uxxxx or \UXXXXXXXX, if you use a start position or length other than 1, you get incorrect results in the destination field.

>
>
  1. When SET TEMP from a literal containing \uxxxx or \UXXXXXXXX, if you use a start position or length other than 1, you get incorrect results in the destination field.* FIXED * tested with June 9 engine.
  -- SteveFrizzell - 2011-03-08 \ No newline at end of file

Revision 72011-06-02 - JeanNeron

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

SET TEMP Statement

Line: 49 to 49
 
  1. SET TEMP into a Raw Alpha does not appear to set any characters. * FIXED * March 28 engine
  2. Process Compiler does not report errors when using Group fields. Executing the SET TEMP with group fields will cause input to crash or hang on exit. * FIXED * tested with May 23 engine
  3. SET TEMP from a literal does not recognize \uxxxx or \UXXXXXXXX character sequences * FIXED * tested with May 23 engine
Changed:
<
<
  1. Does not throw transcode errors when setting unicode characters into a national field.
  2. Stops moving characters when it hits a unicode in the from field and the to field is a raw type. Just ignores remaining characters. * FIXED * tested with May 23 engine.
>
>
  1. Does not throw transcode errors when setting unicode characters into a national field. ** Not a bug FAD**
  2. Stops moving characters when it hits a unicode in the from field and the to field is a raw type. Just ignores remaining characters. * FIXED * tested with May 23 engine.
 
  1. When SET TEMP from a literal containing \uxxxx or \UXXXXXXXX, if you use a start position or length other than 1, you get incorrect results in the destination field.

Revision 62011-05-30 - JeanNeron

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

SET TEMP Statement

Line: 47 to 47
 

Bugs

  1. SET TEMP into a Raw Alpha does not appear to set any characters. * FIXED * March 28 engine
Changed:
<
<
  1. Process Compiler does not report errors when using Group fields. Executing the SET TEMP with group fields will cause input to crash or hang on exit.
  2. SET TEMP from a literal does not recognize \uxxxx or \UXXXXXXXX character sequences
>
>
  1. Process Compiler does not report errors when using Group fields. Executing the SET TEMP with group fields will cause input to crash or hang on exit. * FIXED * tested with May 23 engine
  2. SET TEMP from a literal does not recognize \uxxxx or \UXXXXXXXX character sequences * FIXED * tested with May 23 engine
 
  1. Does not throw transcode errors when setting unicode characters into a national field.
Changed:
<
<
  1. Stops moving characters when it hits a unicode in the from field and the to field is a raw type. Just ignores remaining characters.
>
>
  1. Stops moving characters when it hits a unicode in the from field and the to field is a raw type. Just ignores remaining characters. * FIXED * tested with May 23 engine.
  2. When SET TEMP from a literal containing \uxxxx or \UXXXXXXXX, if you use a start position or length other than 1, you get incorrect results in the destination field.
 

-- SteveFrizzell - 2011-03-08

Revision 52011-04-28 - JeanNeron

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

SET TEMP Statement

Line: 48 to 48
 

Bugs

  1. SET TEMP into a Raw Alpha does not appear to set any characters. * FIXED * March 28 engine
  2. Process Compiler does not report errors when using Group fields. Executing the SET TEMP with group fields will cause input to crash or hang on exit.
Added:
>
>
  1. SET TEMP from a literal does not recognize \uxxxx or \UXXXXXXXX character sequences
  2. Does not throw transcode errors when setting unicode characters into a national field.
  3. Stops moving characters when it hits a unicode in the from field and the to field is a raw type. Just ignores remaining characters.
 

-- SteveFrizzell - 2011-03-08

Revision 42011-04-28 - JeanNeron

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

SET TEMP Statement

Line: 37 to 37
 
    • The process compiler should report this error.
    • This may break some existing 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. SET TEMP into a Raw Alpha does not appear to set any characters. * FIXED * March 28 engine

>
>
  1. Test SET TEMP with group fields, should produce compiler errors
  2. Test SET TEMP from National/Unicode
  3. Test SET TEMP from Raw
  4. Test SET TEMP from Literal
  5. Test SET TEMP into National/Unicode
  6. Test SET TEMP into Raw

Bugs

  1. SET TEMP into a Raw Alpha does not appear to set any characters. * FIXED * March 28 engine
  2. Process Compiler does not report errors when using Group fields. Executing the SET TEMP with group fields will cause input to crash or hang on exit.

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

Revision 32011-03-28 - JeanNeron

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

SET TEMP Statement

Line: 60 to 60
  Untested

Bugs

Changed:
<
<
  1. SET TEMP into a Raw Alpha does not appear to set any characters.

>
>
  1. SET TEMP into a Raw Alpha does not appear to set any characters. * FIXED * March 28 engine

  -- SteveFrizzell - 2011-03-08

Revision 22011-03-17 - PeteBrower

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

SET TEMP Statement

Added:
>
>

Overview

All TEMP fields in --- have been changed to have an encoding type of UNICODE.

Since all TEMP fields are now UNICODE fields, SET TEMP will always operate on Characters, not Byte of raw data.

SET TEMP "FROM"

  • UNICODE or NATIONAL alpha fields:
    • Characters are set into the respective locations as UTF-32 characters.
    • Any mismatch in lengths will result in normal trucation or UTF-32 space padding.
  • RAW alpha fields:
    • Each byte of the RAW data in the source field is transcoded from its 8859-15 character into the equivalent UTF-32 character and set into the TEMP field character location.
    • Any mismatch in lengths will result in normal trucation or UTF-32 space padding.
  • Literals:
    • A literal operand is considered to be a RAW alpha and must be transcoded from 8859-15 to UTF-32 before setting into the TEMP field character location.
    • A literal can include unicode scape sequences \u#### or \U######## for special unicode characters.
    • Any mismatch in lengths will result in normal trucation or UTF-32 space padding.
  • Group fields:
    • Group fields are not allowed with SET TEMP as they can have a mixture of data types.
    • The process compiler should report this error.
    • This may break some existing applications.

SET TEMP "INTO"

  • UNICODE and NATIONAL alpha fields:
    • The specifid characters in the UTF-32 TEMP field are set into the specified characters in the UTF-32 destination field.
    • Any mismatch in lengths will result in normal trucation or UTF-32 space padding.
  • RAW alpha fields:
    • The UTF-32 characters in the TEMP field are transcoded into the equivalent 8-bit 8859-15 singly byte characters in the range of 0x00 to 0xFF and then set into the specified location in the RAW alpha field.
    • If the UTF-32 charactrer can't be mapped using the 8859-15 character set then a data exception error will occur at runtime.
  • Group fields:
    • Group fields are not allowed with SET TEMP as they can have a mixture of data types.
    • The process compiler should report this error.
    • This may break some existing 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

  1. SET TEMP into a Raw Alpha does not appear to set any characters.

Revision 12011-03-08 - SteveFrizzell

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

SET TEMP Statement

Bugs

  1. SET TEMP into a Raw Alpha does not appear to set any characters.

-- SteveFrizzell - 2011-03-08

 
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