Closed stoffi92 closed 4 years ago
My understanding is that we had this as "MUST" and moved it back to "SHOULD" due to existing implementations - since it was unclear in RFC5575.
Is that your recollection.
My understanding is that we had this as "MUST" and moved it back to "SHOULD" due to existing implementations - since it was unclear in RFC5575.
Is that your recollection.
This is correct.
//doc The SHOULD here is because the value could also be encoded as multiple octets as of Section 4.2.1.1. it is less efficient but still possible. RFC5575 did not give any advice on the encoding length of the values. The -bis does, but using MUST did not find consensus because of the deployed implementations making some "non-compliant".
Section 4.2.2.3
This component uses the Numeric Operator (numeric_op) described in Section 4.2.1.1. Type 3 component values SHOULD be encoded as single octet (numeric_op len=00).
Is it well-defined how I would encode the value if I ignored the SHOULD? I, for one, am not sure what I would do...