View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008057 | 10000-007: Profiles | Spec | public | 2022-06-20 12:14 | 2022-08-23 15:25 |
Reporter | Jim Luth | Assigned To | Karl Deiretsbacher | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Fixed in Version | 1.05.02 RC1 | ||||
Summary | 0008057: Add TrimmedString DataType | ||||
Description | In the Machinery spec we have defined a TrimmedString DataType 10.2 TrimmedString This seems to be rather general and could be defined in the base spec instead of. | ||||
Tags | No tags attached. | ||||
Commit Version | |||||
Fix Due Date | |||||
related to | 0007397 | closed | Jeff Harding | 10000-005: Information Model | Add TrimmedString DataType |
|
Discussed in telecon. We may want to provide a more generic mechanism using a pattern like a regular expression or XML pattern. And then define patterns for specific derived types like the existing URIString and this proposed TrimmedString. |
|
To define this in a more generic way would require the DataType to be a Structure consisting of the String and a manipulation defining string pattern or expression. One option would be to define a 'ManipulatedString' DataType which would indicate some processing is done by the Server. This type would then be subtyped to define specific manipulations such as TrimmedString. We could also use the ManipulatedString subType of String in a Structured DataType to create a regulate expression or pattern based Manipluated String type. The Structure would include the ManipulatedString and a second string which defines the expression or pattern. I suggest we start with the ManipulatedString DataType and maybe some other subtypes such as TrimmedString, LowerCaseString, UpperCaseString. We can then decide in a future step if we need the Structured DataType. |
|
The intended solution was not described very well in my note. The idea is to define a Property for DataTypes that contain a RegularExpression. Other DataTypes, potentially in any place of the DataType hierarchy, can have this property as well. Does not need a common supertype. BTW: The Property can be in a later version of the Spec, the TrimmedString is needed rather short term. |
|
Agreed to create a TrimmedString as a subtype of String DataType now. |
|
Added TrimmedString type |
|
Cloned to create a feature request for the future regular expression property |
|
Add Conformance Unit "Base Info TrimmedString Type" |
|
CU created in database (https://profiles.opcfoundation.org/conformanceunit/4052) and added to "Exposes Type System Server Facet (https://profiles.opcfoundation.org/profile/1219). |
|
Agreed to changes in the database. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-06-20 12:14 | Jim Luth | New Issue | |
2022-06-20 12:14 | Jim Luth | Status | new => assigned |
2022-06-20 12:14 | Jim Luth | Assigned To | => Jeff Harding |
2022-06-20 12:14 | Jim Luth | Issue generated from: 0007397 | |
2022-06-20 12:14 | Jim Luth | Note Added: 0016877 | |
2022-06-20 12:14 | Jim Luth | Note Added: 0016878 | |
2022-06-20 12:14 | Jim Luth | Note Added: 0016879 | |
2022-06-20 12:14 | Jim Luth | Note Added: 0016880 | |
2022-06-20 12:14 | Jim Luth | Note Added: 0016881 | |
2022-06-20 12:14 | Jim Luth | Note Added: 0016882 | |
2022-06-20 12:14 | Jim Luth | Relationship added | related to 0007397 |
2022-06-20 12:14 | Jim Luth | Project | 10000-005: Information Model => 10000-007: Profiles |
2022-06-20 12:15 | Jim Luth | Note Added: 0016883 | |
2022-06-20 12:15 | Jim Luth | Assigned To | Jeff Harding => Karl Deiretsbacher |
2022-06-20 13:05 | Karl Deiretsbacher | Status | assigned => resolved |
2022-06-20 13:05 | Karl Deiretsbacher | Resolution | open => fixed |
2022-06-20 13:05 | Karl Deiretsbacher | Note Added: 0016889 | |
2022-08-23 15:25 | Jim Luth | Status | resolved => closed |
2022-08-23 15:25 | Jim Luth | Fixed in Version | => 1.05.02 RC1 |
2022-08-23 15:25 | Jim Luth | Note Added: 0017363 |