Revise the component representation "Boolean": it doesn't allow for intentionally missing value
During the work of this ticket, Boolean was defined as "numeric" representation, so that it should support NaN as a valid value.
According to this https://www.w3.org/TR/xmlschema11-2/#boolean, boolean should be non-numeric and doesn't allow for "NaN", which represents an intentionally missing value:
- The boolean datatype has the following values for its ·fundamental facets·:
- ordered = false
- bounded = false
- cardinality = finite
- numeric = false
- Lexical representation
- booleanRep ::= 'true' | 'false' | '1' | '0'
Therefore, it should be categorized as non-numeric, and should not support NaN as a valid value. Users can specify intentionally missing values for this type by using XML or CSV "#N/A".
Edited by Pedro Carranza