View Issue Details

IDProjectCategoryView StatusLast Update
00003231003.1(2008)/Issue 7Base Definitions and Headerspublic2010-10-07 16:16
Reporterbonzinip Assigned Toajosey  
PrioritynormalSeverityCommentTypeClarification Requested
Status ClosedResolutionRejected 
NamePaolo Bonzini
Organization
User Reference
Section9.3.5
Page Number185,3473-3474
Line Number5967-5972,116749-116821
Interp Status---
Final Accepted Text
Summary0000323: interpretation of the undefinedness of range expressions
DescriptionTo what extent can implementors rely on unspecified behavior of range expressions outside the POSIX locale?

In particular, all of native order, CEO, collation sequence which are mentioned in the rationale document guarantee that there is an order relation between characters. If [C1-C3] matches C2, you can assume that [C1-C2] match C2 as well. This is not guaranteed, however, by the standard itself.

Should the standard be enhanced to require this?
Desired ActionClarification included in the base definitions document.
TagsNo tags attached.

Activities

msbrown

2010-10-07 16:16

manager   bugnote:0000564

The Working Group believes that the standard is clear; outside of the POSIX locale the behavior is unspecified and cannot be relied upon (Page 185, Lines 5968-5970).

Should you wish to propose a specification for what the behavior should be outside of the POSIX locale, you may re-open this issue with a detailed proposal. The WG cautions that such a proposal would have many technical and portability issues to successfully address before it would be acceptable.

Issue History

Date Modified Username Field Change
2010-09-21 14:44 bonzinip New Issue
2010-09-21 14:44 bonzinip Status New => Under Review
2010-09-21 14:44 bonzinip Assigned To => ajosey
2010-09-21 14:44 bonzinip Name => Paolo Bonzini
2010-09-21 14:44 bonzinip Section => 9.3.5
2010-09-21 14:44 bonzinip Page Number => (page or range of pages)
2010-09-21 14:44 bonzinip Line Number => (Line or range of lines)
2010-09-21 17:31 Don Cragun Page Number (page or range of pages) => 185,3473-3474
2010-09-21 17:31 Don Cragun Line Number (Line or range of lines) => 5967-5972,116749-116821
2010-09-21 17:31 Don Cragun Interp Status => ---
2010-10-07 16:16 msbrown Note Added: 0000564
2010-10-07 16:16 msbrown Status Under Review => Closed
2010-10-07 16:16 msbrown Resolution Open => Rejected