-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not All Properties Contain Types #487
Comments
11 tasks
ajnelson-nist
added a commit
to kchason/UCO
that referenced
this issue
Nov 7, 2022
The previous patch noted `observable:byteStringValue` had no associated range on the property definition, and assigned `xsd:string`. Likewise, `observable:destinationFlags` received a range of `xsd:string`. This patch makes two overriding assignments. First, `xsd:base64Binary` is now ranged `observable:byteStringValue`, due to another associated property in the class using this property (`ExtractedString`). `observable:stringValue` already uses `xsd:string`. It did not seem appropriate to also use `xsd:string` on a property for representing byte strings. Note that base64binary's lexical space is defined in XML Schema Datatypes to use the alphabet in Section 3 of RFC 3548. In other words, the alternative "URL and Filename Safe Alphabet" is not supported by XML Schema Datatypes, hence neither by OWL, hence neither by UCO. Second, `destinationFlags` is used on `TCPConnectionFacet`, alongside a property `sourceFlags` that has a datatype cstraint of `xsd:hexBinary`. To maintain symmetry with the "nearby" property, `destinationFlags` will use `xsd:hexBinary`. It is fair to raise a concern of introducing both OWL "Binary" datatypes in this patch. However, the user-experience estimation is that the flag fields will often be short data payloads, while the extracted string fields could carry more heft than would be appropriate to bear with `xsd:hexBinary`. No effects were observed on Make-managed files. References: * https://datatracker.ietf.org/doc/html/rfc3548#section-3 * https://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/#base64Binary * https://www.w3.org/TR/owl2-syntax/#Binary_Data * ucoProject#487 Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nist
added a commit
to casework/CASE-Archive
that referenced
this issue
Nov 7, 2022
No effects were observed on Make-managed files. References: * ucoProject/UCO#487 Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nist
added a commit
to casework/CASE-Examples
that referenced
this issue
Nov 7, 2022
No effects were observed in Make-managed files. References: * ucoProject/UCO#487 Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nist
added a commit
to casework/casework.github.io
that referenced
this issue
Nov 7, 2022
A follow-on patch will regenerate Make-managed files. References: * ucoProject/UCO#487 Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nist
added a commit
to casework/casework.github.io
that referenced
this issue
Nov 7, 2022
References: * ucoProject/UCO#487 Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
We will treat this as a fast-track vote, rather than a bugfix. What nudged it just over the line for me was:
So, we should have a chance to discuss this before voting in the fix for the missing-constraints bug. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Untyped Properties in UCO
During the generation of automated CASE Bindings, it was discovered that 2 properties do not contain types and per discussion with @ajnelson-nist, default to an unrestricted range.
These properties are:
uco-observable:destinationFlags
uco-observable:byteStringValue
Coordination
develop
The text was updated successfully, but these errors were encountered: