IPP Mail Archive: IPP> MOD - Syntax for number-up-supported ? [should be 1setOf (integer

IPP> MOD - Syntax for number-up-supported ? [should be 1setOf (integer

Hastings, Tom N (hastings@cp10.es.xerox.com)
Tue, 19 Oct 1999 22:43:04 -0700

When we go over typos with the RFC Editor, I'll change the syntax for
"number-up-supported" from:

(1setOf integer(1:MAX) | rangeOfInteger(1:MAX))

to:

1setOf (integer(1:MAX) | rangeOfInteger(1:MAX))

Tom

> -----Original Message-----
> From: Herriot, Robert
> Sent: Tuesday, October 19, 1999 18:10
> To: Johnson, Swen R; Herriot, Robert
> Cc: XAC.JavaPrintAPI.Core; Hastings, Tom
> Subject: RE: Syntax for number-up-supported ?
>
>
> Solution #1 is the correct answer. The idea is that a printer might
> support "1:4,8" which is equivalent to "1,2,3,4,8"
>
> Tom: you might want to fix this in the model document.
>
> Bob Herriot
>
> -----Original Message-----
> From: Johnson, Swen R
> Sent: Tuesday, October 19, 1999 5:11 PM
> To: Herriot, Robert
> Cc: XAC.JavaPrintAPI.Core
> Subject: Syntax for number-up-supported ?
>
> Bob,
>
> The IPP Model gives the syntax for number-up-supported as:
>
> (1setOf integer(1:MAX) | rangeOfInteger(1:MAX))
>
> This seems ambiguous (the outer parentheses don't help). Should this
> be interpreted as:
>
> 1setOf (integer(1:MAX) | rangeOfInteger(1:MAX))
>
> or as:
>
> (1setOf integer(1:MAX)) | rangeOfInteger(1:MAX)
>
>
> Thanks,
>
> -- Swen
>
>