View Issue Details

IDProjectCategoryView StatusLast Update
000379710000-003: Address SpaceSpecpublic2017-06-20 16:04
Reporterrandyarmstrong Assigned Tojeffhardingabb  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0003797: MaxStringLength - Clarify whether this is a hard limit.
Description

Some systems manage their strings in non-UTF8 code units so when converting to and from UTF8 the maximum allowed length is data dependent.

The specification should clarify what to do in this case.

i.e.

1) Don't use MaxStringLength;
2) Set that absolute max for any possible string;
3) Set the length limit based on the code unit of the native encoding.

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0003851 closedjeffhardingabb 10000-005: Information Model MaxStringLength - Clarify whether this is a hard limit. 

Activities

Jim Luth

2017-05-16 15:08

administrator   ~0008048

Agreed to changes edited in Raleigh meeting.

randyarmstrong

2017-05-22 17:07

administrator   ~0008155

This is impossible to implement in many systems that limit the code units rather than the character.

Propose adding MaxCodeUnitCount Property in addition to MaxStringLength.
This would be implementable and unambiguous.

jeffhardingabb

2017-05-30 14:51

developer   ~0008166

Added text to DataVariable description of MaxStringLength as follows:

The Property MaxStringLength indicates the maximum number of Unicode characters of a string value, however the number may be further limited by the way the server represents the characters.

jeffhardingabb

2017-06-01 12:48

developer   ~0008196

After further review with Randy we concluded that a Server should only include these optional properties if it can provide a client with a maximum value.
the rational for this decision is as follows:
1) These properties are intended to provide a Client with server limitation information.
2) If a client can not depend on the values of these properties then they are of little or no use to the client.

Servers should only use these maximum properties if they have a maximum and can correctly define this maximum.

jeffhardingabb

2017-06-01 12:50

developer   ~0008197

Part 5 also contains text describing these Properties which must be modified to the same description applied to Part 3

jeffhardingabb

2017-06-01 13:50

developer   ~0008205

Update the text in 5.6.4 DataVariable to indicate that if present the MaxStringLength and maxByteStringLength properties provide the maximum.

Jim Luth

2017-06-20 16:02

administrator   ~0008231

Added a 3rd property, MaxCharacters, to make it clear when the limit is on characters rather than on bytes.

Jim Luth

2017-06-20 16:04

administrator   ~0008232

Agreed to changes edited in telecon.

Issue History

Date Modified Username Field Change
2017-05-01 14:37 randyarmstrong New Issue
2017-05-16 15:07 Jim Luth Assigned To => jeffhardingabb
2017-05-16 15:07 Jim Luth Status new => assigned
2017-05-16 15:08 jeffhardingabb Status assigned => resolved
2017-05-16 15:08 jeffhardingabb Fixed in Version => 1.04
2017-05-16 15:08 jeffhardingabb Resolution open => fixed
2017-05-16 15:08 Jim Luth Note Added: 0008048
2017-05-16 15:08 Jim Luth Status resolved => closed
2017-05-22 17:07 randyarmstrong Note Added: 0008155
2017-05-22 17:07 randyarmstrong Status closed => feedback
2017-05-22 17:07 randyarmstrong Resolution fixed => reopened
2017-05-24 17:00 Jim Luth Status feedback => assigned
2017-05-30 14:51 jeffhardingabb Note Added: 0008166
2017-05-30 14:51 jeffhardingabb Status assigned => resolved
2017-05-30 14:51 jeffhardingabb Resolution reopened => fixed
2017-06-01 12:48 jeffhardingabb Note Added: 0008196
2017-06-01 12:48 jeffhardingabb Status resolved => feedback
2017-06-01 12:48 jeffhardingabb Resolution fixed => reopened
2017-06-01 12:50 jeffhardingabb Note Added: 0008197
2017-06-01 13:05 jeffhardingabb Issue cloned: 0003851
2017-06-01 13:05 jeffhardingabb Relationship added related to 0003851
2017-06-01 13:50 jeffhardingabb Note Added: 0008205
2017-06-01 13:50 jeffhardingabb Status feedback => resolved
2017-06-01 13:50 jeffhardingabb Resolution reopened => fixed
2017-06-20 16:02 Jim Luth Note Added: 0008231
2017-06-20 16:04 Jim Luth Note Added: 0008232
2017-06-20 16:04 Jim Luth Status resolved => closed