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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0461 Actions


    Problem Report Number 0461
    Submitter's Classification Specification problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0080
    Raised 1994-06-15 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.2
    Test Identification XPG4.os/time/strptime 3
    Linked Problem Reports PIN4.023, PIN4.024, PIN4.025, (in, old, syste
    Problem Summary PG4R.081 Open CAE Specification System Interfaces and Headers, Issue 4 1.3.4 Enhanced Internationalisation "An implementation that claims conformance to this Feature Group shall set {_XOPEN_ENH_I18N} to a valu...
    Problem Text
    Open CAE Specification
    System Interfaces and Headers, Issue 4
    1.3.4 Enhanced Internationalisation

    "An implementation that claims conformance to this Feature Group shall
    set {_XOPEN_ENH_I18N} to a value other than -1. An implementation
    that does not claim conformance to this Feature Group shall set
    {_XOPEN_ENH_I18N} to -1."

    An implementation can provide their own (nonconforming) version of
    enhanced internationalisation features, provided {_XOPEN_ENH_I18N}
    is set to -1.

    Although {_XOPEN_ENH_I18N} is set to -1, the above mentioned tests
    continue to call strptime or wcsftime. The tests expect the functions
    return ENOSYS (This function is not implemented). It is not always true
    that when an implementation that does not claim conformance to this
    Feature Group also do not implement the enhanced internationalization
    features.

    Test Output

    /tset/XPG4.os/time/strptime/T.strptime 3 Failed


    Test Information:
    time in %I:%M:%S %p format
    strptime("11'40'15 NM", "%r", &testbuf) failed.
    Current language is VSX4L1
    return value was NULL
    time in %I:%M:%S %p format
    strptime("11'49'45 am", "%r", &testbuf) failed.
    Current language is VSX4L2
    return value was NULL
    weekday , two digit year, and week number of the year, with leading
    zeroes
    strptime("0091@00@01", "%y %w %U", &testbuf) failed.
    return value was NULL
    weekday , two digit year, and week number of the year, without leading
    zeroes
    strptime("92@4@52", "%y %w %U", &testbuf) failed.
    return value was NULL
    weekday , two digit year, and week number of the year, with leading
    zeroes
    strptime("0091@00@01", "%y %w %W", &testbuf) failed.
    return value was NULL
    weekday , two digit year, and week number of the year, without leading
    zeroes
    strptime("92@4@52", "%y %w %W", &testbuf) failed.
    return value was NULL
    %% in format string is mapped to % in test string
    strptime("%@1991@%", "%% %Y %%", &testbuf) failed.
    return value was NULL

    /tset/XPG4.os/time/strptime/T.strptime 5 Failed

    Test Information:
    appropriate date and time as specified in D_T_FMT string
    strptime("6\05642\05621 NM 09\05705\05791", "%c", &testbuf) failed.
    Current language is VSX4L1
    return value was NULL
    AM string as specified in AM_STR

    strptime("6 VM", "%I %p", &testbuf) failed.
    Current language is VSX4L1
    return value was NULL
    appropriate time as specified in T_FMT string

    strptime("6\05642\05621 NM", "%X", &testbuf) failed.
    Current language is VSX4L1
    return value was NULL
    appropriate date and time as specified in D_T_FMT string

    strptime("5 9 1991 6'42'21", "%c", &testbuf) failed.
    Current language is VSX4L2
    return value was NULL
    PM string as specified in PM_STR

    strptime("6 pm", "%I %p", &testbuf) failed.
    Current language is VSX4L2
    return value was NULL
    appropriate date as specified in D_FMT string
    strptime("05 09 1991", "%x", &testbuf) failed.
    Current language is VSX4L2
    return value was NULL


    /tset/XPG4.os/wtime/wcsftime/T.wcsftime 2 Failed

    Test Information:

    wcsftime(str, size, %w@%a, &tmbuf) returned incorrectly formatted string
    the abbreviated day names for the language are used
    Current language is C
    Expected string: 0@\163\165\156
    Actual string: 0@S\165\156

    wcsftime(str, size, %w@%a, &tmbuf) returned incorrectly formatted string
    the abbreviated day names for the language are used
    Current language is C
    Expected string: 1@\155\157\156
    Actual string: 1@M\157\156

    wcsftime(str, size, %w@%a, &tmbuf) returned incorrectly formatted string
    the abbreviated day names for the language are used
    Current language is C
    Expected string: 2@\164\165e
    Actual string: 2@T\165e


    /tset/XPG4.os/wtime/wcsftime_X/T.wcsftime_X 3 Failed

    Test Information:

    wcsftime(str, size, %m@%h, &tmbuf) returned incorrectly formatted string
    Current language is C
    Expected string: 01@\152a\156
    Actual string: 01@Ja\156

    wcsftime(str, size, %m@%h, &tmbuf) returned incorrectly formatted string
    Current language is C
    Expected string: 02@feb
    Actual string: 02@Feb

    wcsftime(str, size, %m@%h, &tmbuf) returned incorrectly formatted string
    Current language is C
    Expected string: 03@\155a\162
    Actual string: 03@Ma\162

    wcsftime(str, size, %m@%h, &tmbuf) returned incorrectly formatted string
    Current language is C
    Expected string: 04@a\160\162
    Actual string: 04@A\160\162

    wcsftime(str, size, %m@%h, &tmbuf) returned incorrectly formatted string
    Current language is C
    Expected string: 05@\155a\171
    Actual string: 05@Ma\171

    wcsftime(str, size, %m@%h, &tmbuf) returned incorrectly formatted string
    Current language is C
    Expected string: 06@\152\165\156
    Actual string: 06@J\165\156

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    The referenced permanent interpretations already exist for these
    tests and should be referenced an branding applications.

    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