|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0165 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 0165.
Report 0165 Actions
Problem Report Number 0165 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0165 Raised 1994-06-13 08:00 Updated 2003-03-13 08:00 Published 1994-06-20 08:00 Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.3.4 Test Identification ANSI.os/charhandle/isspace 1 Linked Problem Reports err.4.3.3.055, (in, old, system) Problem Summary TSD4.165 This was reported to vsx_support during the beta testing of VSX 4.3.3 and accepted as a test suite deficiency. The fix was not expected to make VSX 4.3.4. Below is the supportive information included ... Problem Text
This was reported to vsx_support during the beta testing of VSX 4.3.3 and
accepted as a test suite deficiency. The fix was not expected to make
VSX 4.3.4. Below is the supportive information included with the
original error report.
The locales defined by VSX4 do not include all the space characters
in the portable character set as defined by POSIX.2 and XPG4. From POSIX.2
Shell and Utilities Specification Volume 1, page 40. These characters include
but may not be limited to <alert>, <backspace>, <tab>, <newline>,
<vertical-tab>, <form-feed> and <carriage-return>. The relevant
text is "Each supported locale shall include the portable
character set specified in Table 2-4."
Also on page 50 of POSIX.2 under character classification the following
characters must be classified as space characters: <tab>, <newline>,
<vertical-tab>, <form-feed> and <carriage-return>. The relevant text
is "The characters <space>, <form-feed>, <newline>, <carriage-return>,
<tab>, and <vertical-tab>, as defined in Table 2-4 and any of the
characters included in the class blank, are automatically included in
this class."
System Interface Definitions, Issue 4, page 45 has the following
statement: " The character classes digit, xdigit, lower, upper and
space have a set of automatically included characters. ... It is not
possible to define a locale without these automatically included
characters..."
Our localedef automatically includes all the above space characters
when the VSX4 locales are generated. The above testcases fail to
recognize these as valid space characters.
vsx_support reply
This is accepted as an error in the psudolanguage definitions for
VSXL1 and VSXL2. We will change SRC/INC/nlsclass.h and the installation
guide appropriately, although this change is now likely to be postponed
until after the next release.Test Output
NOTE: this request also pertains to the following testcases
tset/ANSI.os/charhandle/iswspace 2
tset/XPG4.os/wcharhandle/iswctype 2
************************************************************************
/tset/ANSI.os/charhandle/isspace/T.isspace 1 Failed
Test Description:
isspace() returns non-zero if and only if the character is a spacing
character in the character classification table associated with the
current locale specified in LC_CTYPE.
Posix Ref: Component ISSPACE Assertion 8.1-04(A)
Test Strategy:
CREATE child process
(child) FOR locales VSX4L1 and VSX4L2 :
FOR categories LC_ALL and LC_CTYPE :
FOR all ASCII values :
VERIFY value returned by isspace() against expected value
Test Information:
isspace(0x9) failed
isspace returns non-zero for "white space" characters
Current language is VSX4L1
Current category is LC_ALL
Expected return value: 0
Actual return value: 512
isspace(0xa) failed
isspace returns non-zero for "white space" characters
Current language is VSX4L1
Current category is LC_ALL
Expected return value: 0
Actual return value: 512
isspace(0xb) failed
isspace returns non-zero for "white space" characters
Current language is VSX4L1
Current category is LC_ALL
Expected return value: 0
Actual return value: 512
isspace(0xd) failed
isspace returns non-zero for "white space" characters
Current language is VSX4L1
Current category is LC_ALL
Expected return value: 0
Actual return value: 512
isspace(0x9) failed
isspace returns non-zero for "white space" characters
Current language is VSX4L2
Current category is LC_ALL
Expected return value: 0
Actual return value: 512
isspace(0xa) failed
isspace returns non-zero for "white space" characters
Current language is VSX4L2
Current category is LC_ALL
Expected return value: 0
Actual return value: 512
isspace(0xb) failed
isspace returns non-zero for "white space" characters
Current language is VSX4L2
Current category is LC_ALL
Expected return value: 0
Actual return value: 512
isspace(0xd) failed
isspace returns non-zero for "white space" characters
Current language is VSX4L2
Current category is LC_ALL
Expected return value: 0
Actual return value: 512
isspace(0x9) failed
isspace returns non-zero for "white space" characters
Current language is VSX4L1
Current category is LC_CTYPE
Expected return value: 0
Actual return value: 512
isspace(0xa) failed
isspace returns non-zero for "white space" characters
Current language is VSX4L1
Current category is LC_CTYPE
Expected return value: 0
Actual return value: 512
isspace(0xb) failed
isspace returns non-zero for "white space" characters
Current language is VSX4L1
Current category is LC_CTYPE
Expected return value: 0
Actual return value: 512
isspace(0xd) failed
isspace returns non-zero for "white space" characters
Current language is VSX4L1
Current category is LC_CTYPE
Expected return value: 0
Actual return value: 512
isspace(0x9) failed
isspace returns non-zero for "white space" characters
Current language is VSX4L2
Current category is LC_CTYPE
Expected return value: 0
Actual return value: 512
isspace(0xa) failed
isspace returns non-zero for "white space" characters
language is VSX4L2
Current category is LC_CTYPE
Expected return value: 0
Actual return value: 512
isspace(0xb) failed
isspace returns non-zero for "white space" characters
Current language is VSX4L2
Current category is LC_CTYPE
Expected return value: 0
Actual return value: 512
isspace(0xd) failed
isspace returns non-zero for "white space" characters
Current language is VSX4L2
Current category is LC_CTYPE
Expected return value: 0
Actual return value: 512
************************************************************************
************************************************************************
/tset/XPG4.os/wcharhandle/iswspace/T.iswspace 2 Failed
Test Description:
Test Agency: RISC System/6000 - IBM Austin System Tested: AIX V4, RISC/6000 Powe
rServers and PowerStations
Test Date: Jun 09, 1994 Page 530 of 627
X/OPEN Verification Suite Release 4.3.4
Test-Set Summary Test-Set Summary
When the character is not a whitespace wide character in the character
classification table associated with the current locale specified in
LC_CTYPE, then a call to iswspace() returns zero.
Test Strategy:
CREATE child process
(child) FOR locales VSX4L1 and VSX4L2 :
FOR categories LC_ALL and LC_CTYPE :
FOR all non-whitespace ASCII values :
VERIFY value returned by iswspace() is zero
FOR both wide-character locales :
FOR category LC_CTYPE :
FOR non-whitespace wide-character values :
VERIFY value returned by iswspace() is zero
Test Information:
iswspace(0x9) failed
iswspace returns zero for non-whitespace wide-characters
Current language is VSX4L1
Current category is LC_ALL
Expected return value: 0
Actual return value: 512
iswspace(0xa) failed
iswspace returns zero for non-whitespace wide-characters
Current language is VSX4L1
Current category is LC_ALL
Expected return value: 0
Actual return value: 512
iswspace(0xb) failed
iswspace returns zero for non-whitespace wide-characters
Current language is VSX4L1
Current category is LC_ALL
Expected return value: 0
Actual return value: 512
iswspace(0xd) failed
iswspace returns zero for non-whitespace wide-characters
Current language is VSX4L1
Current category is LC_ALL
Expected return value: 0
Actual return value: 512
iswspace(0x9) failed
iswspace returns zero for non-whitespace wide-characters
Current language is VSX4L2
Current category is LC_ALL
Expected return value: 0
Actual return value: 512
iswspace(0xa) failed
iswspace returns zero for non-whitespace wide-characters
Current language is VSX4L2
Current category is LC_ALL
Expected return value: 0
Actual return value: 512
iswspace(0xb) failed
iswspace returns zero for non-whitespace wide-characters
Current language is VSX4L2
Current category is LC_ALL
Expected return value: 0
Actual return value: 512
iswspace(0xd) failed
iswspace returns zero for non-whitespace wide-characters
Current language is VSX4L2
Current category is LC_ALL
Expected return value: 0
Actual return value: 512
iswspace(0x9) failed
iswspace returns zero for non-whitespace wide-characters
Current language is VSX4L1
Current category is LC_CTYPE
Expected return value: 0
Actual return value: 512
iswspace(0xa) failed
iswspace returns zero for non-whitespace wide-characters
Current language is VSX4L1
Current category is LC_CTYPE
Expected return value: 0
Actual return value: 512
iswspace(0xb) failed
iswspace returns zero for non-whitespace wide-characters
Current language is VSX4L1
Current category is LC_CTYPE
Expected return value: 0
Actual return value: 512
iswspace(0xd) failed
iswspace returns zero for non-whitespace wide-characters
Current language is VSX4L1
Current category is LC_CTYPE
Expected return value: 0
Actual return value: 512
iswspace(0x9) failed
iswspace returns zero for non-whitespace wide-characters
Current language is VSX4L2
Current category is LC_CTYPE
Expected return value: 0
Actual return value: 512
iswspace(0xa) failed
iswspace returns zero for non-whitespace wide-characters
Current language is VSX4L2
Current category is LC_CTYPE
Expected return value: 0
Actual return value: 512
iswspace(0xb) failed
iswspace returns zero for non-whitespace wide-characters
Current language is VSX4L2
Current category is LC_CTYPE
Expected return value: 0
Actual return value: 512
iswspace(0xd) failed
iswspace returns zero for non-whitespace wide-characters
Current language is VSX4L2
Current category is LC_CTYPE
Expected return value: 0
Actual return value: 512
************************************************************************
************************************************************************
/tset/XPG4.os/wcharhandle/iswctype/T.iswctype 2 Failed
Test Description:
When the wide character c is defined to not have property property in
the wide character classification table associated with the current
locale specified in LC_CTYPE, then a call to iswctype() returns zero.
Test Strategy:
OBTAIN multibyte strings using wcharcfg()
CHILD process:
CHANGE to test locale using setlocale()
FOR each valid property name, call wctype()
VERIFY that return value from wctype() when used as the second
argument to iswctype(), with character argument not with that
property returns zero.
Test Information:
With locale set to VSX4L1
iswctype(\t, wctype(space)) returned 512, expected zero
With locale set to VSX4L1
iswctype(\n, wctype(space)) returned 512, expected zero
With locale set to VSX4L1
iswctype(\v, wctype(space)) returned 512, expected zero
With locale set to VSX4L1
iswctype(\r, wctype(space)) returned 512, expected zero
With locale set to VSX4L1
iswctype(\t, wctype(space)) returned 512, expected zero
With locale set to VSX4L2
iswctype(\n, wctype(space)) returned 512, expected zero
With locale set to VSX4L2
iswctype(\v, wctype(space)) returned 512, expected zero
With locale set to VSX4L2
iswctype(\r, wctype(space)) returned 512, expected zero
With locale set to VSX4L2
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is accepted as a test suite fault and it is recommended that this
be treated as a test suite deficiency.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 0165
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority