HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1132 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 1132.


Report 1132 Actions


    Problem Report Number 1132
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0334
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.0.2
    Test Identification tset/CAPIxcurses/check_xloc 2
    Problem Summary PG4U.00138 This request addresses an unsupported element of VSU that is not relevant to branding.
    Problem Text

    The failure in test case 2 is due to a support function
    avsvirtual_output() defined in SRC/LIB/capi_xcurses/out.c.
    The code starting at line 1099 has a problem with the specific order
    of characters being delivered as part of the case that is failing.

    The condition that is failing is a spacing character followed by
    a non-spacing character. The VSU User's guide v5.0.2 on page 47
    within Figure 5 defines the width of spacing characters as 1 and
    non-spacing characters as 0. The code segment below will be used
    to explain the problem.

    Example: characters in order spacing"1" followed by non-spacing "1"
    with the initial col = 1. The first character spacing 1 has a width
    of 1 and for this case will not be concerned with being at end of the
    line or equal to COLUMNS. The character spacing "1" will be sent to the
    virtual display by function send_mb_char(col-1, arow-1, (char)ch, 1).
    The "-1" references to correctly offset the positions in the array
    display that is being referenced in the function. After the function
    call, the col is incremented which now is 2. The next character in
    the loop is a non-spacing character "1" with a width of 0. The problem
    is that the non-spacing character "1" should be written into the same
    exact position as the spacing character "1" to result in a screen
    character of "A". The condition of spacing character followed by non-spacing
    character without incrementing col is not taken care of in this code.

    if (fextended) {
    width = 1;
    if (ch == '9')
    width = 2;
    else if (ch > '3')
    width = 0;
    switch (width) {
    case 0:
    send_mb_char(col-1, arow-1, (char)ch, 0);
    break;
    case 1:
    if (col == COLUMNS+1) {
    if (wrap) {
    col = 1;
    do_linefeed();
    } else
    coCOLUMNSl = COLUMNS;
    }
    if (col == ) {
    send_mb_char(col-1, arow-1, (char)ch, 1);
    if (wrap)
    col++;
    } else {
    send_mb_char(col-1, arow-1, (char)ch, 1);
    col++;
    }
    set_cursor(col-1, arow-1);
    break;
    ....


    Test Output

    10|1 /tset/CAPIxcurses/check_xloc/check_xloc 12:00:19|TC Start, scena
    0-1
    15|1 1.10 2|TCM Start
    400|1 2 1 12:00:19|IC Start
    200|1 2 12:00:19|TP Start
    520|1 2 351 1 1|SPEC1170TESTSUITE CASE 2
    520|1 2 351 1 2|Use add_wch to send all the characters and required
    520|1 2 351 1 3|combinations of spacing and non-spacing characters to
    520|1 2 351 1 4|to the terminal.
    520|1 2 351 1 5|PREP: Set test locale: xcurses
    520|1 2 351 1 6|PREP: Set environment variables and open terminal con
    520|1 2 351 2 1|PREP: Call newterm
    520|1 2 351 2 2|PREP: Initialize color pairs
    520|1 2 351 2 3|TEST: Convert and add characters
    520|1 2 351 2 4|TEST: mbspacing1
    520|1 2 351 2 5|TEST: mbspacing1 with mbnonspacing1
    520|1 2 351 2 6|TEST: mbspacing1 with mbnonspacing1-2
    520|1 2 351 2 7|TEST: mbspacing1 with mbnonspacing1-3
    520|1 2 351 2 8|TEST: mbspacing1 with mbnonspacing1-4
    520|1 2 351 2 9|TEST: mbspacing1 with mbnonspacing1-5
    520|1 2 351 2 10|TEST: mbspacing2
    520|1 2 351 2 11|TEST: mbspacing2 with mbnonspacing1
    520|1 2 351 2 12|TEST: mbspacing2 with mbnonspacing1-2
    520|1 2 351 2 13|TEST: mbspacing2 with mbnonspacing1-3
    520|1 2 351 2 14|TEST: mbspacing2 with mbnonspacing1-4
    520|1 2 351 2 15|TEST: mbspacing2 with mbnonspacing1-5
    520|1 2 351 2 16|TEST: mbspacing3
    520|1 2 351 2 17|TEST: mbspacing3 with mbnonspacing1
    520|1 2 351 2 18|TEST: mbspacing3 with mbnonspacing1-2
    520|1 2 351 2 19|TEST: mbspacing3 with mbnonspacing1-3
    520|1 2 351 2 20|TEST: mbspacing3 with mbnonspacing1-4
    520|1 2 351 2 21|TEST: mbspacing3 with mbnonspacing1-5
    520|1 2 351 2 22|TEST: mbmulticolumn
    520|1 2 351 2 23|ERROR: Asked to add non-spacing char #1 to non-exten
    ' at (r=1, c=37)
    520|1 2 351 2 24|ERROR: Asked to add non-spacing char #1 to non-exten
    ' at (r=2, c=39)
    520|1 2 351 2 25|ERROR: Asked to add non-spacing char #2 to non-exten
    ' at (r=2, c=39)
    520|1 2 351 2 26|ERROR: Asked to add non-spacing char #1 to non-exten
    ' at (r=3, c=39)
    520|1 2 351 2 27|ERROR: Asked to add non-spacing char #2 to non-exten
    ' at (r=3, c=39)
    520|1 2 351 2 28|ERROR: Asked to add non-spacing char #3 to non-exten
    ' at (r=3, c=39)
    520|1 2 351 2 29|ERROR: Asked to add non-spacing char #1 to non-exten
    ' at (r=4, c=39)
    520|1 2 351 2 30|ERROR: Asked to add non-spacing char #2 to non-exten
    ' at (r=4, c=39)
    520|1 2 351 2 31|ERROR: Asked to add non-spacing char #3 to non-exten
    ' at (r=4, c=39)
    520|1 2 351 2 32|ERROR: Asked to add non-spacing char #4 to non-exten
    ' at (r=4, c=39)
    520|1 2 351 2 33|ERROR: Asked to add non-spacing char #1 to non-exten
    ' at (r=5, c=39)
    520|1 2 351 2 34|ERROR: Asked to add non-spacing char #2 to non-exten
    ' at (r=5, c=39)
    520|1 2 351 2 35|ERROR: Asked to add non-spacing char #3 to non-exten
    ' at (r=5, c=39)
    520|1 2 351 2 36|ERROR: Asked to add non-spacing char #4 to non-exten
    ' at (r=5, c=39)
    520|1 2 351 2 37|ERROR: Asked to add non-spacing char #5 to non-exten
    ' at (r=5, c=39)
    520|1 2 351 2 38|ERROR: Asked to add non-spacing char #1 to non-exten
    ' at (r=7, c=37)
    520|1 2 351 2 39|ERROR: Asked to add non-spacing char #1 to non-exten
    ' at (r=8, c=39)
    520|1 2 351 2 40|ERROR: Asked to add non-spacing char #2 to non-exten
    ' at (r=8, c=39)
    520|1 2 351 2 41|ERROR: Asked to add non-spacing char #1 to non-exten
    ' at (r=9, c=39)
    520|1 2 351 2 42|ERROR: Asked to add non-spacing char #2 to non-exten
    ' at (r=9, c=39)
    520|1 2 351 2 43|ERROR: Asked to add non-spacing char #3 to non-exten
    ' at (r=9, c=39)
    520|1 2 351 2 44|ERROR: Asked to add non-spacing char #1 to non-exten
    ' at (r=10, c=39)
    520|1 2 351 2 45|ERROR: Asked to add non-spacing char #2 to non-exten
    ' at (r=10, c=39)
    520|1 2 351 2 46|ERROR: Asked to add non-spacing char #3 to non-exten
    ' at (r=10, c=39)
    520|1 2 351 2 47|ERROR: Asked to add non-spacing char #4 to non-exten
    ' at (r=10, c=39)
    520|1 2 351 2 48|ERROR: Asked to add non-spacing char #1 to non-exten
    ' at (r=11, c=39)
    520|1 2 351 2 49|ERROR: Asked to add non-spacing char #2 to non-exten
    ' at (r=11, c=39)
    520|1 2 351 2 50|ERROR: Asked to add non-spacing char #3 to non-exten
    ' at (r=11, c=39)
    520|1 2 351 2 51|ERROR: Asked to add non-spacing char #4 to non-exten
    ' at (r=11, c=39)
    520|1 2 351 2 52|ERROR: Asked to add non-spacing char #5 to non-exten
    ' at (r=11, c=39)
    520|1 2 351 2 53|ERROR: Asked to add non-spacing char #1 to non-exten
    ' at (r=13, c=37)
    520|1 2 351 2 54|ERROR: Asked to add non-spacing char #1 to non-exten
    ' at (r=14, c=39)
    520|1 2 351 2 55|ERROR: Asked to add non-spacing char #2 to non-exten
    ' at (r=14, c=39)
    520|1 2 351 2 56|ERROR: Asked to add non-spacing char #1 to non-exten
    ' at (r=15, c=39)
    520|1 2 351 2 57|ERROR: Asked to add non-spacing char #2 to non-exten
    ' at (r=15, c=39)
    520|1 2 351 2 58|ERROR: Asked to add non-spacing char #3 to non-exten
    ' at (r=15, c=39)
    520|1 2 351 2 59|ERROR: Asked to add non-spacing char #1 to non-exten
    ' at (r=16, c=39)
    520|1 2 351 2 60|ERROR: Asked to add non-spacing char #2 to non-exten
    ' at (r=16, c=39)
    520|1 2 351 2 61|ERROR: Asked to add non-spacing char #3 to non-exten
    ' at (r=16, c=39)
    520|1 2 351 2 62|ERROR: Asked to add non-spacing char #4 to non-exten
    ' at (r=16, c=39)
    520|1 2 351 2 63|ERROR: Asked to add non-spacing char #1 to non-exten
    ' at (r=17, c=39)
    520|1 2 351 2 64|ERROR: Asked to add non-spacing char #2 to non-exten
    ' at (r=17, c=39)
    520|1 2 351 2 65|ERROR: Asked to add non-spacing char #3 to non-exten
    ' at (r=17, c=39)
    520|1 2 351 2 66|ERROR: Asked to add non-spacing char #4 to non-exten
    ' at (r=17, c=39)
    520|1 2 351 2 67|ERROR: Asked to add non-spacing char #5 to non-exten
    ' at (r=17, c=39)
    520|1 2 351 2 68|TEST: Data on terminal screen matches expected data
    520|1 2 351 2 69|ERROR: Lines 1 to 5 are not as expected. Expected li
    520|1 2 351 2 70|TEST: mbspacing1 with mbnonspacing1 A

    520|1 2 351 2 71|TEST: mbspacing1 with mbnonspacing1-2 B

    520|1 2 351 2 72|TEST: mbspacing1 with mbnonspacing1-3 C

    520|1 2 351 2 73|TEST: mbspacing1 with mbnonspacing1-4 D

    520|1 2 351 2 74|TEST: mbspacing1 with mbnonspacing1-5 E

    520|1 2 351 2 75|ERROR: Actual lines are:
    520|1 2 351 2 76|TEST: mbspacing1 with mbnonspacing1 1

    520|1 2 351 2 77|TEST: mbspacing1 with mbnonspacing1-2 1

    520|1 2 351 2 78|TEST: mbspacing1 with mbnonspacing1-3 1

    520|1 2 351 2 79|TEST: mbspacing1 with mbnonspacing1-4 1

    520|1 2 351 2 80|TEST: mbspacing1 with mbnonspacing1-5 1

    520|1 2 351 2 81|ERROR: Lines 7 to 11 are not as expected. Expected l
    520|1 2 351 2 82|TEST: mbspacing2 with mbnonspacing1 F

    520|1 2 351 2 83|TEST: mbspacing2 with mbnonspacing1-2 G

    520|1 2 351 2 84|TEST: mbspacing2 with mbnonspacing1-3 H

    520|1 2 351 2 85|TEST: mbspacing2 with mbnonspacing1-4 I

    520|1 2 351 2 86|TEST: mbspacing2 with mbnonspacing1-5 J

    520|1 2 351 2 87|ERROR: Actual lines are:
    520|1 2 351 2 88|TEST: mbspacing2 with mbnonspacing1 2

    520|1 2 351 2 89|TEST: mbspacing2 with mbnonspacing1-2 2

    520|1 2 351 2 90|TEST: mbspacing2 with mbnonspacing1-3 2

    520|1 2 351 2 91|TEST: mbspacing2 with mbnonspacing1-4 2

    520|1 2 351 2 92|TEST: mbspacing2 with mbnonspacing1-5 2

    520|1 2 351 2 93|ERROR: Lines 13 to 17 are not as expected. Expected
    520|1 2 351 2 94|TEST: mbspacing3 with mbnonspacing1 K

    520|1 2 351 2 95|TEST: mbspacing3 with mbnonspacing1-2 L

    520|1 2 351 2 96|TEST: mbspacing3 with mbnonspacing1-3 M

    520|1 2 351 2 97|TEST: mbspacing3 with mbnonspacing1-4 N

    520|1 2 351 2 98|TEST: mbspacing3 with mbnonspacing1-5 O

    520|1 2 351 2 99|ERROR: Actual lines are:
    520|1 2 351 2 100|TEST: mbspacing3 with mbnonspacing1 3

    520|1 2 351 2 101|TEST: mbspacing3 with mbnonspacing1-2 3

    520|1 2 351 2 102|TEST: mbspacing3 with mbnonspacing1-3 3

    520|1 2 351 2 103|TEST: mbspacing3 with mbnonspacing1-4 3

    520|1 2 351 2 104|TEST: mbspacing3 with mbnonspacing1-5 3

    520|1 2 351 2 105| Expected data: $TET_ROOT/CAPI/tset/CAPIxcurs
    CK_XLOC/data2.scrn.
    520|1 2 351 2 106| Actual data: $TET_ROOT/CAPI/tset/CAPIxcurses
    XLOC/data2.scrn
    220|1 2 1 12:00:22|FAIL
    410|1 2 1 12:00:22|IC End
    80|1 0 12:00:22|TC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We recommend this request be refused.

    Per the VSU User's Guide Section 8.3.5 check_xloc is "not a supported
    part of VSU and is not required for conformance". Thus a TSD is
    not appropriate as there are no branding implications here.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority