[tap] More uncertainty about junk lines

Andrew Rodland <andrew@cleverdomain.org> Fri, 24 June 2011 13:08 UTC

Return-Path: <andrew@cleverdomain.org>
X-Original-To: tap@ietfa.amsl.com
Delivered-To: tap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9CDA321F84CE for <tap@ietfa.amsl.com>; Fri, 24 Jun 2011 06:08:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.976
X-Spam-Level:
X-Spam-Status: No, score=-1.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2WZrlYIFnSMq for <tap@ietfa.amsl.com>; Fri, 24 Jun 2011 06:08:14 -0700 (PDT)
Received: from smtp.pobox.com (b-pb-sasl-quonix.pobox.com [208.72.237.35]) by ietfa.amsl.com (Postfix) with ESMTP id 174E421F84C9 for <tap@ietf.org>; Fri, 24 Jun 2011 06:08:13 -0700 (PDT)
Received: from smtp.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id 94B4521BD for <tap@ietf.org>; Fri, 24 Jun 2011 09:08:11 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=mime-version :date:message-id:subject:from:to:content-type; s=sasl; bh=lDb5Ee FsouTRVdVnLgc+AZsF6MA=; b=OnlGtB6k+QZjxUPYtgEAD0KArHC1qdzZQn7KyL K/tgiJLfUhDbjkcoacra8jSg5by/WGd9OI0GmF8SgqQHNO2kT0clgPpbTrq+Oq5s xmUsDTggnR6sk30Q3jRMovvKaDQaIbq28qIbssjU/wEb9GOpJwxSRmc0Pntk4obV KizBg=
Received: from b-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id 8C04321BC for <tap@ietf.org>; Fri, 24 Jun 2011 09:08:11 -0400 (EDT)
Received: from mail-ww0-f44.google.com (unknown [74.125.82.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by b-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 3613C21BB for <tap@ietf.org>; Fri, 24 Jun 2011 09:08:11 -0400 (EDT)
Received: by wwe5 with SMTP id 5so1930594wwe.13 for <tap@ietf.org>; Fri, 24 Jun 2011 06:08:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.216.0.206 with SMTP id 56mr632800web.112.1308920890243; Fri, 24 Jun 2011 06:08:10 -0700 (PDT)
Received: by 10.216.89.134 with HTTP; Fri, 24 Jun 2011 06:08:10 -0700 (PDT)
Received: by 10.216.89.134 with HTTP; Fri, 24 Jun 2011 06:08:10 -0700 (PDT)
Date: Fri, 24 Jun 2011 09:08:10 -0400
Message-ID: <BANLkTimKuaF3g_40Bvgs09Pvdj5_7FZ3BQ@mail.gmail.com>
From: Andrew Rodland <andrew@cleverdomain.org>
To: "tap-l@testanything.org" <tap-l@testanything.org>, "tap@ietf.org" <tap@ietf.org>
Content-Type: multipart/alternative; boundary=0016364ed9aeb3b8e504a674e4ec
X-Pobox-Relay-ID: 032A3E38-9E63-11E0-966B-91CE2E706CDE-16769786!b-pb-sasl-quonix.pobox.com
Subject: [tap] More uncertainty about junk lines
X-BeenThere: tap@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Test Anything Protocol WG discussions <tap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tap>, <mailto:tap-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tap>
List-Post: <mailto:tap@ietf.org>
List-Help: <mailto:tap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tap>, <mailto:tap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Jun 2011 13:08:14 -0000

Once again I'm working on my parser and trying to deal with some
ambiguities, and I'm realizing that I may be mistaken about the handling of
junk lines. What does "any line that does not parse must be ignored" in the
draft spec really mean? Does it mean lines that couldn't possibly be TAP in
any position (in which case we can still throw an error on out-of-sequence
TAP) or does it mean any line that can't parse in *this* position, in which
case there are no true parse errors at all? In other words, is this TAP:

1..3
ok 1
ok 2
1..1
ok 3

valid with an ignored fourth line, or does it have an error on the fourth
line?

Andrew