[IPP] Question concerning the "presentonoff" key for "printer-finisher"
Michael Sweet
msweet at msweet.org
Fri Dec 18 21:26:42 UTC 2020
Smith,
> On Dec 18, 2020, at 4:16 PM, Kennedy, Smith (Wireless & IPP Standards) via ipp <ipp at pwg.org> wrote:
> ...
> I think this ABNF definition should be fixed to be more like this to limit the set of values:
> finisher-presentonoff = "presentonoff" "=" "other" / "on" / "off" / "notPresent"
> ; string value as an alpha string mapped directly from ; PresentOnOff in [RFC3805]
That would be fine with me - these mappings often get pretty obtuse and including the list of values in the ABNF would be a welcome improvement for me...
> Perhaps we need to do it with two rules:
>
> finisher-presentonoff = "presentonoff" "=" 1*presentonoffvalue
> finisher-presentonoff-value = "other" / "on" / "off" / "notPresent"
> ; string value as an alpha string mapped directly from ; PresentOnOff in [RFC3805]
Doesn't 1*SOMETHING allow one or more values? If you really want to split the values out (not necessary IMHO) you just need "finisher-presentonoff-value".
________________________
Michael Sweet
More information about the ipp
mailing list