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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0331 Actions


    Problem Report Number 0331
    Submitter's Classification Specification problem
    State Resolved
    Resolution Permanent Interpretation (PIN)
    Problem Resolution ID PIN.X.0047
    Raised 1995-06-22 08:00
    Updated 2003-03-13 08:00
    Published 1995-07-07 08:00
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.5
    Test Identification XPG4.os/genuts/regex 34,38
    Specification System Interfaces and Headers Issue 4
    Location in Spec See Problem Text
    Problem Summary PIN4.047 Our current regular expression library routines do not support null (empty) subexpressions. In P1003.2b/D11, null subexpressions have been removed from the standard as there definition was unspecified...
    Problem Text
    Our current regular expression library routines do not support null
    (empty) subexpressions. In P1003.2b/D11, null subexpressions have been
    removed from the standard as there definition was unspecified (or least
    ambiguous). This is a result of IEEE interpretation 1003.2-1992 #43.
    We believe the test suite should not require this behavior and should
    instead issue warnings if the implementation doesn't support null
    subexpressions.
    Test Output
    ************************************************************************
    /tset/XPG4.os/genuts/regex/T.regex 34 Failed

    Test Description:
    A basic empty subexpression matches an empty string.
    Posix.2 Ref: Component B.R.E. Assertion 2.8.3.3-80

    Test Strategy:
    CALL regcomp() with expression to compile
    VERIFY regcomp() returned 0
    CALL regexec() with string to match
    VERIFY regexec() returned 0
    VERIFY regexec() matched the expected start and end

    Test Information:
    Regular Expression : "a\(\)b"
    Flags used: none
    regcomp() returned 14, expected 0

    Regular Expression : "a\(\)c"
    Flags used: none
    regcomp() returned 14, expected 0

    ************************************************************************

    ************************************************************************
    /tset/XPG4.os/genuts/regex/T.regex 38 Failed

    Test Description:
    A backreference BRE matches an empty expression when the corresponding
    subexpression was empty.
    Posix.2 Ref: Component B.R.E. Assertion 2.8.3.2-84

    Test Strategy:
    CALL regcomp() with expression to compile
    VERIFY regcomp() returned 0
    CALL regexec() with string to match
    VERIFY regexec() returned 0
    VERIFY regexec() matched the expected start and end

    Test Information:
    Regular Expression : "\(\)"
    Flags used: none
    regcomp() returned 14, expected 0

    Regular Expression : "a\(\)b\1c"
    Flags used: none
    regcomp() returned 14, expected 0

    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    It is recommended that a permanent interpretation is granted in line with
    IEEE interpretation 1003.2-1992 number 43.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Permanent Interpretation (PIN)
    Review Conclusion
    A Permanent Interpretation is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority