Re: [apps-discuss] Question about URI template and expansion of an empty list

Erik Wilde <dret@berkeley.edu> Mon, 15 April 2013 23:08 UTC

Return-Path: <dret@berkeley.edu>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2BB1221E8039 for <apps-discuss@ietfa.amsl.com>; Mon, 15 Apr 2013 16:08:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fcKItbQrEA-F for <apps-discuss@ietfa.amsl.com>; Mon, 15 Apr 2013 16:08:51 -0700 (PDT)
Received: from cm02fe.IST.Berkeley.EDU (cm02fe.IST.Berkeley.EDU [169.229.218.143]) by ietfa.amsl.com (Postfix) with ESMTP id 914BF21E8037 for <apps-discuss@ietf.org>; Mon, 15 Apr 2013 16:08:51 -0700 (PDT)
Received: from 99-38-249-227.lightspeed.sntcca.sbcglobal.net ([99.38.249.227] helo=dretpro.local) by cm02fe.ist.berkeley.edu with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (auth plain:dret@berkeley.edu) (envelope-from <dret@berkeley.edu>) id 1URsW1-0004qJ-9H; Mon, 15 Apr 2013 16:08:51 -0700
Message-ID: <516C887F.7020007@berkeley.edu>
Date: Mon, 15 Apr 2013 16:08:47 -0700
From: Erik Wilde <dret@berkeley.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130307 Thunderbird/17.0.4
MIME-Version: 1.0
To: Francis Galiegue <fgaliegue@gmail.com>
References: <CALcybBBXFDvAp1xpbi4=55Gq0QbfbTH7TV=1MTko7nNdtt-5WQ@mail.gmail.com> <CALcybBBcCTh8+RVWp5UW+2-s9EdKxdoeGdcq6+yGrGJk1nzP0w@mail.gmail.com> <51625870.8000906@berkeley.edu> <CAL0qLwYR+HknkVH5Y_jusqBv3=QbALFe=5t3FhYArNxzQYDPpQ@mail.gmail.com> <CALcybBCeyJce+m7GB8ak_Wmwfk6+Z=bcaDKs489H0v4vLOgahw@mail.gmail.com> <CABP7RbfLQ5wCTNEJ4ufEs76YoVBePP8JYLQkjgUHJQ-o3=pUeg@mail.gmail.com> <CAL0qLwYsVt63VAtg0yqG=KDO7e1DvmE-8ywXM8CBqrt8mxDZOA@mail.gmail.com> <CABP7RbfDOS4pdnx5Z4arwLw8demRfKrT4bE+Jb4uzvcdgzKRfw@mail.gmail.com> <CAL0qLwaoaYbnHiYCuxC050Yn=G3C5skG5m9mkb_SvO0Yhkf8hw@mail.gmail.com> <CALcybBB11EENT6dbxy0Wgb2cVUmuhxbnKOuVirvjd++R6f=5QA@mail.gmail.com> <CALcybBDc4Zad-Yc-+4Wgats78EtR-0iR-TmSGOu++zODjnH9mA@mail.gmail.com>
In-Reply-To: <CALcybBDc4Zad-Yc-+4Wgats78EtR-0iR-TmSGOu++zODjnH9mA@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: Joe Gregorio <joe@bitworking.org>, IETF Apps Discuss <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] Question about URI template and expansion of an empty list
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Apr 2013 23:08:52 -0000

hello.

On 2013-04-15 15:59 , Francis Galiegue wrote:
> I have a pretty complete RFC 6570 implementation, but these corner
> cases are what prevent me from arguing that "yes, it obeys the RFC",
> especially since some advanced tests out there seem to disagree with
> my, and others', interpretation of this RFC.

i just want to add my support for francis' question. i am not as far 
down the line implementing the spec, but i see myself asking the same 
question once i am. and i am still interested how james (snell) solved 
this riddle when adding support for the test case (where the test case 
behavior is hard to explain from the spec language).

http://code.google.com/p/uri-templates/wiki/Implementations lists a 
number of implementations, and it would be interesting to know what they 
have been doing, and how they handle the test case in question.

thanks and cheers,

dret.

-- 
erik wilde | mailto:dret@berkeley.edu  -  tel:+1-510-2061079 |
            | UC Berkeley  -  School of Information (ISchool) |
            | http://dret.net/netdret http://twitter.com/dret |