View Issue Details

IDProjectCategoryView StatusLast Update
000626910000-004: ServicesSpecpublic2021-03-02 15:09
ReporterChristoffer Lind Assigned ToMatthias Damm  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Summary0006269: Handle unsupported characters
Description

I orignally posted this question here: https://opcfoundation.org/forum/opc-ua-standard/handle-unsupported-unicode-characters/

To summarize:
Let's say I have an application which displays a String data type on some kind of GUI (the String value is tied to a OPC UA variable node). My GUI only supports displaying latin-1 characters, for this reason I want to limit the range of unicode characters that can be set to only include characters that can be encoded as latin-1.

The specification states:
"This Built-in DataType defines a Unicode character string that should exclude control characters that are not whitespaces"

Is it allowed to exclude (or rather reject) other unicode characters as well?

Would Bad_WriteNotSupported or perhaps Bad_OutOfRange be a valid error code if unsupported characters are received?

TagsNo tags attached.
Commit Version
Fix Due Date

Activities

Jim Luth

2021-02-02 17:55

administrator   ~0013662

Clarify that Bad_OutOfRange is the appropriate code to use when a client write or method call presents a Server with a string with unacceptable chracters.

Matthias Damm

2021-03-01 14:12

developer   ~0013838

Added clarification for Bad_OutOfRange:
This result code can be returned for any value that has the right DataType but does not comply with the restrictions defined by the Server implementation e.g. if a written String contains unsupported characters.

Updated in
OPC 10000-4 - UA Specification Part 4 - Services 1.05.0 Draft14.docx

Jim Luth

2021-03-02 15:09

administrator   ~0013883

Agreed to changes in Virtual F2F.

Issue History

Date Modified Username Field Change
2020-11-18 09:20 Christoffer Lind New Issue
2021-02-02 17:54 Jim Luth Project 10000-003: Address Space => 10000-004: Services
2021-02-02 17:55 Jim Luth Note Added: 0013662
2021-02-02 17:56 Jim Luth Assigned To => Matthias Damm
2021-02-02 17:56 Jim Luth Status new => assigned
2021-03-01 14:12 Matthias Damm Status assigned => resolved
2021-03-01 14:12 Matthias Damm Resolution open => fixed
2021-03-01 14:12 Matthias Damm Note Added: 0013838
2021-03-02 15:09 Jim Luth Status resolved => closed
2021-03-02 15:09 Jim Luth Fixed in Version => 1.05
2021-03-02 15:09 Jim Luth Note Added: 0013883