Difference: UnicodeIFStmt (7 vs. 8)

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
 
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