IPP Mail Archive: IPP> RE: Model document editorial error

IPP> RE: Model document editorial error

From: Hastings, Tom N (hastings@cp10.es.xerox.com)
Date: Mon Nov 06 2000 - 19:24:04 EST

  • Next message: Hastings, Tom N: "RE: IPP> Proposed Resolution to BO Issue 4: requesting unsupporte d attributes in query operations"

    Harry,

    This sentence is rather contorted!

    Here is the full paragraph from which it came:

    Since a client MAY request specific attributes or named groups, there is a
    potential that there is some overlap. For example, if a client requests,
    'printer-name' and 'all', the client is actually requesting the
    "printer-name" attribute twice: once by naming it explicitly, and once by
    inclusion in the 'all' group. In such cases, the Printer object NEED NOT
    return each attribute only once in the response even if it is requested
    multiple times. The client SHOULD NOT request the same attribute in
    multiple ways.

    The idea is that the Printer doesn't have to remove multiple occurrences of
    an attribute in its Get-Printer-Attributes response. Though some
    implementations might remove multiple occurrences, because, say, they just
    set a bit for each attribute that the client supplies in the
    "requested-attributes" operation attribute and then go and get each
    attribute value based on the bits that are set. Such an implementation
    would naturally return only one occurrence of each attribute.

    So a better sentence would have been:

    In such cases, the Printer object NEED NOT remove multiple occurrences of an
    attribute in the response.

    instead of:

    In such cases, the Printer object NEED NOT return each attribute only once
    in the response even if it is requested multiple times.

    I'll flag this for the future for the next publication of the IPP Model and
    Semantics document.

    Tom

    -----Original Message-----
    From: Harry Lewis/Boulder/IBM [mailto:harryl@us.ibm.com]
    Sent: Friday, November 03, 2000 12:08
    To: Hastings, Tom N
    Cc: ipp@pwg.org
    Subject: Model document editorial error

    In "researching" the Bakeoff discussion about unsupported attributes... I
    came across an editorial blip in section... 3.2.5 Get-Printer-Attributes
    Operation where we are asserting that the client should not request the same
    attribute in multiple ways.

    "...In such cases, the Printer object NEED NOT return each attribute only
    once in the response even if it is requested multiple times."

    I think we mean to say

    "...the client NEED return each attribute only once..."
    or
    "...NEED NOT return an attribute multiple times..."

    Right?
    ----------------------------------------------
    Harry Lewis
    IBM Printing Systems
    ----------------------------------------------



    This archive was generated by hypermail 2b29 : Mon Nov 06 2000 - 19:34:24 EST