anweiss/cddl

Upper-bound-exclusive ranges erroneously exclude the lower bound

Opened this issue · 0 comments

Citing the spec,

A range can be inclusive of both bounds given (denoted by joining two values by ".."), or it can include the lower bound and exclude the upper bound (denoted by instead using "...").

However, it seems that this library treats "..." ranges as exclusive-exclusive rather than inclusive-exclusive.