Replies: 1 comment 1 reply
-
|
The documentation says values of true, false, 1 and 0 are allowed. In practice, from memory, I think I probably permitted case-insensitive variants of true and false when I wrote it, and flagged other values as errors. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Does anyone know if the OVAL Boolean datatype is specifically lowercase 'true' and 'false' or if data that comes back from say an xpath test that returns "True" or "False" should be considered Boolean, or should that always be treated with a string operation of equals?
Here is an example from NIST's macOS content
If the object xpath returns back "True" should this test pass or fail? Or should the application say that "True" is not a boolean "true" or "false" and error?
Is the following true and false literals of 'true' and 'false', or just conceptually, where True is binary true?
I should have brought this up in today's call. @solind and @robertgendler any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions