View Issue Details

IDProjectCategoryView StatusLast Update
0007649CTT UA Test Case4 - Test Case Definitionpublic2022-08-29 18:23
ReporterMark Clemens Assigned ToPaul Hunkar  
PrioritynormalSeveritymajorReproducibilityN/A
Status closedResolutionno change required 
Summary0007649: IndexRange for scalar string in attribute read / monitored item services for server test
Description

Part 7 describes support for the use of IndexRange when the Attribute value is an array. For a string array, a client can access the nth element of the array and the server would return only the nth element of the array in a read response or publish response.

Test case 024.js in "Monitored Item Services\Monitor Value Change" is one example where IndexRange is used for a scalar string, in order to attempt to access a substring of a scalar string.

Part 3 defines the string data type as a unicode character string, not as an array of characters

Following Part 7 and Part 3 of the specification, it cannot be expected that an OPC UA server returns a substring of a scalar (non-array) string when the IndexRange is used. (The same that it cannot be expected to return a bit at a certain position within a byte, when the IndexRange is used with a byte type). Also there is no mechanism to use the IndexRange to access a substring of a string element of a string array.

TagsNo tags attached.
Files Affected

Activities

Paul Hunkar

2022-03-30 02:12

administrator   ~0016479

Last edited: 2022-03-30 02:14

This is a non- issue - Part 4 defines how to access subscribe (or part of byte strings)
In part 6 a string is encoded as a series of UTF-8 characters - which are what is processed as a sub-string
in Part 4
"The NumericRange can also be used to specify substrings for ByteString and String values. Arrays of ByteString and String values are treated as two dimensional arrays where the final index specifies the substring range within the ByteString or String value. "

Paul Hunkar

2022-03-30 02:18

administrator   ~0016480

The specification (part 4) describes that string can be sub-stringed using the numeric range (and that an single dimensional array of string is treated as a two dimensional array). Several parts (including part 6) describe that an array of byte and a byte string can not be differentiated on many system - thus they are treated as equivalent - bytestring = Array of Bytes

No changes are required

Paul Hunkar

2022-08-29 18:23

administrator   ~0017458

Agreed to no change

Issue History

Date Modified Username Field Change
2022-01-25 16:09 Mark Clemens New Issue
2022-02-25 16:30 Paul Hunkar Assigned To => Paul Hunkar
2022-02-25 16:30 Paul Hunkar Status new => assigned
2022-03-30 02:12 Paul Hunkar Status assigned => feedback
2022-03-30 02:12 Paul Hunkar Note Added: 0016479
2022-03-30 02:14 Paul Hunkar Note Edited: 0016479
2022-03-30 02:18 Paul Hunkar Status feedback => resolved
2022-03-30 02:18 Paul Hunkar Resolution open => no change required
2022-03-30 02:18 Paul Hunkar Note Added: 0016480
2022-08-02 20:06 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Test Case
2022-08-29 18:23 Paul Hunkar Status resolved => closed
2022-08-29 18:23 Paul Hunkar Note Added: 0017458