View Issue Details

IDProjectCategoryView StatusLast Update
000385110000-005: Information ModelSpecpublic2017-06-20 16:04
Reporterjeffhardingabb Assigned Tojeffhardingabb  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0003851: 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 0003797 closedjeffhardingabb 10000-003: Address Space MaxStringLength - Clarify whether this is a hard limit. 

Activities

Jim Luth

2017-06-01 13:05

administrator   ~0008198

Agreed to changes edited in Raleigh meeting.

randyarmstrong

2017-06-01 13:05

administrator   ~0008199

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-06-01 13:05

developer   ~0008200

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 13:05

developer   ~0008201

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 13:05

developer   ~0008202

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:11

developer   ~0008203

Added clarification to ServerCapabilitiesType definition

Jim Luth

2017-06-20 16:04

administrator   ~0008233

Agreed to changes edited in telecon.

Issue History

Date Modified Username Field Change
2017-06-01 13:05 jeffhardingabb New Issue
2017-06-01 13:05 jeffhardingabb Status new => assigned
2017-06-01 13:05 jeffhardingabb Assigned To => jeffhardingabb
2017-06-01 13:05 jeffhardingabb Issue generated from: 0003797
2017-06-01 13:05 jeffhardingabb Relationship added related to 0003797
2017-06-01 13:09 jeffhardingabb Project 10000-003: Address Space => 10000-005: Information Model
2017-06-01 13:11 jeffhardingabb Note Added: 0008203
2017-06-01 13:11 jeffhardingabb Status assigned => resolved
2017-06-01 13:11 jeffhardingabb Fixed in Version => 1.04
2017-06-01 13:11 jeffhardingabb Resolution open => fixed
2017-06-20 16:04 Jim Luth Note Added: 0008233
2017-06-20 16:04 Jim Luth Status resolved => closed