Email List: Xaustin-review-lX
[All Lists]

Defect in XCU tr

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XCU tr
From: yyy@xxxxxxxxxxx
Date: Wed, 30 Jun 2004 08:58:37 +0100 (BST)
        Defect report from : Tim Robbins , The FreeBSD Project

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 929 line 36042 section tr editorial {tjr4}

Problem:

Edition of Specification (Year): 2004

Defect code :  1. Error

XCU lines 36042-36043 state:

If the -c option is specified, the complement of the values specified by 
string1 shall be placed in the array in ascending order by binary value.

XCU lines 36051-36052 state:

When the -c option is specified with -d, all values except those specified by 
string1 shall be deleted. The contents of string2 shall be ignored, unless the 
-s option is also specified.


It is clear that "values" here is intended to refer to byte values when the 
current locale does contain multibyte characters, but the wording is ambiguous 
in the context of locales with multibyte characters.

Action:

Consider changing the wording @ 36051-36052 to:

If the -c option is specified:
- if the current locale does not contain multibyte characters, the complement 
of the byte values specified by string1 shall be placed in the array in 
ascending order by binary value
- otherwise, the -c option shall be equivalent to the -C option.

(I am still not entirely satisfied with this.)


<Prev in Thread] Current Thread [Next in Thread>