Bindings are incorrectly accepting a string instead of a float in a union type because the pattern facet is not being applied. Cf. gml:doubleOrNilReasonType.
Fixed in [2018]. One catch: pattern facets only apply to simple type definitions that use a Python string (including unicode) as their base representation. Can't reconstruct the lexical representation for other things (like dateTime).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Fixed in [2018]. One catch: pattern facets only apply to simple type definitions that use a Python string (including unicode) as their base representation. Can't reconstruct the lexical representation for other things (like dateTime).