ietf-mta-filters
[Top] [All Lists]

Re: Poll: consensus to change the encoded-character extension

2007-04-12 12:43:06

Alexey Melnikov wrote:

From my reading of the mailing list it sounds like there is consensus to do the following change:

OLD:
  encoded-arb-octets   = "${hex:" hex-pair-seq "}"
  hex-pair-seq         = hex-pair *(WSP hex-pair)
                                    ^^^
NEW:
  encoded-arb-octets   = "${hex:" hex-pair-seq "}"
  hex-pair-seq         = hex-pair *(LWSP hex-pair)
                                    ^^^^

OLD:
  encoded-unicode-char = "${unicode:" unicode-hex-seq "}"
  unicode-hex-seq      = unicode-hex *(WSP unicode-hex)
                                       ^^^
NEW:
  encoded-unicode-char = "${unicode:" unicode-hex-seq "}"
  unicode-hex-seq      = unicode-hex *(LWSP unicode-hex)
                                       ^^^
  unicode-hex          = 1*6HEXDIG


And this needs to be updated if people want to allow for trailing LSWP (before the closing "}")

The update proposal is like this:

OLD:
 encoded-arb-octets   = "${hex:" hex-pair-seq "}"
 hex-pair-seq         = hex-pair *(WSP hex-pair)
                                   ^^^
NEW:
 blank                = WSP / CRLF
 encoded-arb-octets   = "${hex:" hex-pair-seq "}"
 hex-pair-seq         = *blank hex-pair *(1*blank hex-pair) *blank
                        ^^^^^^            ^^^^^^^           ^^^^^^

OLD:
 encoded-unicode-char = "${unicode:" unicode-hex-seq "}"
 unicode-hex-seq      = unicode-hex *(WSP unicode-hex)
                                      ^^^
NEW:
 encoded-unicode-char = "${unicode:" unicode-hex-seq "}"
 unicode-hex-seq      = *blank unicode-hex *(1*blank unicode-hex) *blank
                        ^^^^^^               ^^^^^^^              ^^^^^^
 unicode-hex          = 1*6HEXDIG


Does this look right?

Note that people have suggested some other editorial changes in the same section, e.g. extra examples. I will post a message on them separately. For now I want to get closure on the proposed syntax.


<Prev in Thread] Current Thread [Next in Thread>