Re: [Tzdist] AD review of draft-ietf-tzdist-service-07 - Section 5
Barry Leiba <barryleiba@computer.org> Fri, 08 May 2015 19:50 UTC
Return-Path: <barryleiba@gmail.com>
X-Original-To: tzdist@ietfa.amsl.com
Delivered-To: tzdist@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 716461B2F28; Fri, 8 May 2015 12:50:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=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 Nq-vY-231692; Fri, 8 May 2015 12:50:13 -0700 (PDT)
Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 643511B2F24; Fri, 8 May 2015 12:50:06 -0700 (PDT)
Received: by wiun10 with SMTP id n10so38579970wiu.1; Fri, 08 May 2015 12:50:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=rjy4gsFTTralAxw4v687XW8zAHaFIbKu77jfVy6y6ac=; b=p4SiUp1YXyWvp/FkZf0S6kj8N5+lRkJY2KsFB6EDyjzuPUAPEVh0zdCkjt6mxpvS4K axAXplTSZG/BByGHjsEXp7vFhOZHwtL+LmpTYC54O2IN0ILnLjhweWus3pD6SAmOL525 mKnD0jTfN0W0pyR7mDS5kXEbPsuMFt57XvSzgLHbXCGWsFSIhOlusXPfcOsw/Bq9xke0 Lw5BIlLBSpOswDkOB13Ws+koxRjdHztDxZ51EeqlADj7o7Vk/l+e/bCgjYg/DeLaqWXi Yuj1Bu1CslOWxpt4Lv/qM+UVVkTDYOLXJHoSUFpqEpRZJQ7haoMrS7woPvyh8fy01V8h HtfA==
MIME-Version: 1.0
X-Received: by 10.194.205.37 with SMTP id ld5mr1315767wjc.14.1431114605204; Fri, 08 May 2015 12:50:05 -0700 (PDT)
Sender: barryleiba@gmail.com
Received: by 10.194.237.234 with HTTP; Fri, 8 May 2015 12:50:05 -0700 (PDT)
In-Reply-To: <ECDA0C50DFAC7B14DABF9E5D@cyrus.local>
References: <CALaySJKUcgkMNsFPk0X6ur-Fw0LrB0-miQvAKYJD2rMCEFpBSQ@mail.gmail.com> <ECDA0C50DFAC7B14DABF9E5D@cyrus.local>
Date: Fri, 08 May 2015 20:50:05 +0100
X-Google-Sender-Auth: 0eGPyDpSPFuUFf_-oUX_sPBkB8E
Message-ID: <CALaySJLxk0L16MtFrzvzSCxxtn-d0MtGynYFpvzeuixJKtBzCw@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: Cyrus Daboo <cyrus@daboo.name>
Content-Type: text/plain; charset="ISO-8859-1"
Archived-At: <http://mailarchive.ietf.org/arch/msg/tzdist/pIrdXiu-zcWuWoFMxrzs61Ev65s>
Cc: tzdist@ietf.org, draft-ietf-tzdist-service@ietf.org
Subject: Re: [Tzdist] AD review of draft-ietf-tzdist-service-07 - Section 5
X-BeenThere: tzdist@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <tzdist.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tzdist>, <mailto:tzdist-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tzdist/>
List-Post: <mailto:tzdist@ietf.org>
List-Help: <mailto:tzdist-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tzdist>, <mailto:tzdist-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 May 2015 19:50:14 -0000
Thanks, Cyrus. Almost all set here. >> -- Section 5.5 -- >> The explanation of pattern matching with "*" does not explain what >> happens if you put the wildcard character in the middle of the string. >> If I use "x*z", is that an error (with >> urn:ietf:params:tzdist:error:invalid-pattern >> )? If so, you should say that explicitly. If not, what does it do? > > > I'll add a statement that "*" MUST only appear at the start or end of the > string, and use anywhere else MUST result in an error. That works. I'd prefer it be worded as "MUST NOT appear in the middle of the string", because I find the "MUST only" construct to be confusing use of 2119 language. But I'm not going to die on that hill. >> To match characters 0x2A ("*") and 0x5C >> ("\") in the pattern, a single 0x5C ("\") is prepended to act as >> an "escaping" mechanism. i.e., a pattern "Test\*" implies an exact >> match test against the string "Test*". >> >> *** How is a query for "*New York*" (in the text above) done? You >> can't send the space character in the GET command without making it >> "%20", and the mechanism for sending patterns doesn't appear to allow >> %-encoding. > > I think percent encoding and decoding of the ?pattern URI query parameter is > implicit in the nature of URI processing. However, I will make the following > change as a reminder of that fact: > > Pattern match strings (which have to be %-encoded and then decoded when > used in the URI query parameter) have the following options: Ahhhh, I see why I was confused. So *after* all %-decoding, you still have to have 0x2A and 0x5C escaped. Got it now. Yes, saying something about that would help others who are similarly challenged. Barry
- [Tzdist] AD review of draft-ietf-tzdist-service-07 Barry Leiba
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Cyrus Daboo
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Cyrus Daboo
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Ken Murchison
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Barry Leiba
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Cyrus Daboo
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Ken Murchison
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Barry Leiba
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Daniel Migault
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Barry Leiba
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Barry Leiba
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Cyrus Daboo
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Eliot Lear
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Cyrus Daboo
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Cyrus Daboo
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Ken Murchison
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Barry Leiba
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Daniel Migault
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Daniel Migault
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Mike Douglass
- Re: [Tzdist] AD review of draft-ietf-tzdist-servi… Eliot Lear