View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008022 | 10000-005: Information Model | Spec | public | 2022-06-01 14:32 | 2022-07-05 16:27 |
Reporter | Jeff Harding | Assigned To | Jeff Harding | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Summary | 0008022: Regular Expression Property for DataTypes | ||||
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 | 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 7397 to address future feature to define Regular Expression DataType |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-06-01 14:32 | Jeff Harding | New Issue | |
2022-06-01 14:32 | Jeff Harding | Status | new => assigned |
2022-06-01 14:32 | Jeff Harding | Assigned To | => Jeff Harding |
2022-06-01 14:32 | Jeff Harding | Issue generated from: 0007397 | |
2022-06-01 14:32 | Jeff Harding | Note Added: 0016777 | |
2022-06-01 14:32 | Jeff Harding | Note Added: 0016778 | |
2022-06-01 14:32 | Jeff Harding | Note Added: 0016779 | |
2022-06-01 14:32 | Jeff Harding | Note Added: 0016780 | |
2022-06-01 14:32 | Jeff Harding | Note Added: 0016781 | |
2022-06-01 14:32 | Jeff Harding | Relationship added | related to 0007397 |
2022-06-01 14:34 | Jeff Harding | Status | assigned => new |
2022-06-01 14:34 | Jeff Harding | Note Added: 0016782 | |
2022-07-05 16:27 | Jim Luth | Status | new => assigned |