Re: [IPP] IPP Everywhere ipp-tests.sh printer-alert

Michael Sweet via ipp <ipp@pwg.org> Sun, 22 March 2020 17:01 UTC

Return-Path: <ipp-bounces@pwg.org>
X-Original-To: ietfarch-ipp-archive@ietfa.amsl.com
Delivered-To: ietfarch-ipp-archive@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 761773A08CF for <ietfarch-ipp-archive@ietfa.amsl.com>; Sun, 22 Mar 2020 10:01:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.899
X-Spam-Level:
X-Spam-Status: No, score=-2.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ooww4tCgH5uU for <ietfarch-ipp-archive@ietfa.amsl.com>; Sun, 22 Mar 2020 10:01:30 -0700 (PDT)
Received: from mail.pwg.org (mail.pwg.org [50.116.7.199]) by ietfa.amsl.com (Postfix) with ESMTP id E51463A08C8 for <ipp-archive2@ietf.org>; Sun, 22 Mar 2020 10:01:29 -0700 (PDT)
Received: by mail.pwg.org (Postfix, from userid 1002) id 7FA0E3AC0; Sun, 22 Mar 2020 17:01:29 +0000 (UTC)
Received: from mail.pwg.org (localhost [IPv6:::1]) by mail.pwg.org (Postfix) with ESMTP id 1E2E223C9; Sun, 22 Mar 2020 17:01:27 +0000 (UTC)
X-Original-To: ipp@pwg.org
Delivered-To: ipp@pwg.org
Received: by mail.pwg.org (Postfix, from userid 1002) id B9798259F; Sun, 22 Mar 2020 17:01:25 +0000 (UTC)
Received: from mail.msweet.org (mail.msweet.org [173.255.209.91]) by mail.pwg.org (Postfix) with ESMTP id 6675B1C7B for <ipp@pwg.org>; Sun, 22 Mar 2020 17:01:25 +0000 (UTC)
Received: from imacpro.lan (host-148-170-144-200.public.eastlink.ca [148.170.144.200]) by mail.msweet.org (Postfix) with ESMTPSA id 6AFE0808BA; Sun, 22 Mar 2020 17:01:24 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\))
In-Reply-To: <431DDD04-655F-4685-9172-F4232164784B@xerox.com>
Date: Sun, 22 Mar 2020 13:01:22 -0400
Message-Id: <EEFFDFDE-5111-4067-B2FD-69B89F90A859@msweet.org>
References: <431DDD04-655F-4685-9172-F4232164784B@xerox.com>
To: "Rizzo, Christopher" <Christopher.Rizzo@xerox.com>
X-Mailer: Apple Mail (2.3608.60.0.2.5)
Cc: PWG IPP Workgroup <ipp@pwg.org>
Subject: Re: [IPP] IPP Everywhere ipp-tests.sh printer-alert
X-BeenThere: ipp@pwg.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: ISTO-PWG Internet Printing Protocol workgroup discussion forum <ipp.pwg.org>
List-Unsubscribe: <https://www.pwg.org/mailman/options/ipp>, <mailto:ipp-request@pwg.org?subject=unsubscribe>
List-Archive: <http://www.pwg.org/pipermail/ipp/>
List-Post: <mailto:ipp@pwg.org>
List-Help: <mailto:ipp-request@pwg.org?subject=help>
List-Subscribe: <https://www.pwg.org/mailman/listinfo/ipp>, <mailto:ipp-request@pwg.org?subject=subscribe>
From: Michael Sweet via ipp <ipp@pwg.org>
Reply-To: Michael Sweet <msweet@msweet.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ipp-bounces@pwg.org
Sender: ipp <ipp-bounces@pwg.org>

Chris,

Generally you omit an attribute when it has no values, but for "printer-alert" I have also seen "code=other" being returned when there are no issues to report.  The Printer MIB is similarly silent on the best practice here, so I think we should probably clarify this in an errata update.

Please bring this up on the IPP mailing list so we can discuss it at the next concall.  


> On Mar 21, 2020, at 11:37 PM, Rizzo, Christopher <Christopher.Rizzo@xerox.com> wrote:
> 
> Mike,
>  
> I get a failure for printer-alert when running ipp-tests.sh because there are no alerts present in the printer and IPP printer-alert attribute is blank.  Is it not supposed to be blank?  I can't find in specs an explicit statement of what the value of printer-alert should be when there are no alerts present.
>  
> Thanks,
> Chris
>  
> Christopher Rizzo
> Xerox Corporation
> GDG/Discovery/Advance Technology
> 26600 SW Parkway Ave.
> Wilsonville, OR 97070-9251
> Phone: (585) 314-6936
> Email: Christopher.Rizzo@xerox.com
>  
> "The realization came over me with full force that a good part of the remainder of my life was going to be spent in finding errors in my own programs."
> -Maurice Wilkes, Memoirs of a Computer Pioneer

________________________
Michael Sweet



_______________________________________________
ipp mailing list
ipp@pwg.org
https://www.pwg.org/mailman/listinfo/ipp