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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1710 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 1710.


Report 1710 Actions


    Problem Report Number 1710
    Submitter's Classification Specification problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0493
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Window System Application Interface V2
    Certification Program The Open Brand certification program
    Test Suite VSW version 5.0.0
    Test Identification Xt11/tcstttbl 4
    Problem Summary PG4W.00091 This IR claims that a bad from string may be passed to the function.
    Problem Text
    The X Toolket Intrinsics does not specify what
    return value XtCvtStringToTranslationTable should return
    in case the String is not found.
    The sample implementation X11 R6.3 (see TMparse.c)
    only returns False if if (str == NULL) or
    if (to->size < sizeof(XtTranslations))
    Test Output
    SECTION: Xt11

    TEST CASE: XtCvtStringToTranslationTable

    TEST PURPOSE #4
    Assertion XtCvtStringToTranslationTable-4.(A)
    If the implementation is X11R5 or later: A call to Boolean
    XtCvtStringToTranslationTable(display, args, num_args, from,
    to, converter_data) when the conversion is not performed due
    to an improper value specified in from shall issue a warning
    message and return False.
    PREP: Initialize toolkit, Open display and Create topLevel root widget
    PREP: Set Warning Message Handler
    PREP: Create windows for widgets and map them
    PREP: Get display
    PREP: Set up required conversion args
    TEST: Conversion fails
    ERROR: Expected XtCvtStringToTranslationTable return value of 0, Received 1
    TEST: Warning message was generated
    FAIL

    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.

    We believe the test is correct. The spec states in the X Toolkit
    Intrinsics standard on page 164,

    The converter must return True if the conversion was successful
    and False otherwise. If the converstion cannot be performed
    because of an improper source value, a warning message should
    be issued with XtAppWarningMsg.

    A bad string is being specified, and should not result in a successful
    call.

    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