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

Francis Galiegue <fgaliegue@gmail.com> Sun, 07 April 2013 20:38 UTC

Return-Path: <fgaliegue@gmail.com>
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 9B84E21F84E7 for <apps-discuss@ietfa.amsl.com>; Sun, 7 Apr 2013 13:38:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 ZYxzCkz3+v2D for <apps-discuss@ietfa.amsl.com>; Sun, 7 Apr 2013 13:38:54 -0700 (PDT)
Received: from mail-ee0-f44.google.com (mail-ee0-f44.google.com [74.125.83.44]) by ietfa.amsl.com (Postfix) with ESMTP id 7E80E21F84B7 for <apps-discuss@ietf.org>; Sun, 7 Apr 2013 13:38:54 -0700 (PDT)
Received: by mail-ee0-f44.google.com with SMTP id c41so1109388eek.31 for <apps-discuss@ietf.org>; Sun, 07 Apr 2013 13:38:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=XleC/SwXxjeJ2j4fed5W+EWOOExD+WlK7GQH2y5ec2k=; b=JZ2alOLwSezlpDd3ivHXNaMkN7iRW9IsIHvdYNKzXKdXQBKGPYRNUGdMlHgjdcIKw9 2e6zTqpBwwHjCXFJ6c+44hGOBN+ZYuIWttgZvsU7bBb97tbYfd1pRQ/Tz305nPYpJ1PU F7bzqzEu9aeYpiLiHZv4erDtfZp62mtRKo5r3XA2ri1Gh4FL/5QBeTpvohD2hDKMcZRj Bs5lAL9eHJc85mpMo9CLSqtqwyLSCk4aFa8NbnTByto+hmRKPnrbLM4eq0rxmKnKeCIK CLeO39V1cpuCX0VuBw92XrxL9cuCwZWssmUNPEAY+G+iV5S68Eh7XCcxwoXX+BzfjMEp lblA==
MIME-Version: 1.0
X-Received: by 10.14.3.136 with SMTP id 8mr16705066eeh.37.1365367133419; Sun, 07 Apr 2013 13:38:53 -0700 (PDT)
Received: by 10.14.213.4 with HTTP; Sun, 7 Apr 2013 13:38:53 -0700 (PDT)
In-Reply-To: <CALcybBBXFDvAp1xpbi4=55Gq0QbfbTH7TV=1MTko7nNdtt-5WQ@mail.gmail.com>
References: <CALcybBBXFDvAp1xpbi4=55Gq0QbfbTH7TV=1MTko7nNdtt-5WQ@mail.gmail.com>
Date: Sun, 7 Apr 2013 22:38:53 +0200
Message-ID: <CALcybBBcCTh8+RVWp5UW+2-s9EdKxdoeGdcq6+yGrGJk1nzP0w@mail.gmail.com>
From: Francis Galiegue <fgaliegue@gmail.com>
To: apps-discuss@ietf.org
Content-Type: text/plain; charset=UTF-8
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: Sun, 07 Apr 2013 20:38:55 -0000

On Fri, Apr 5, 2013 at 8:39 PM, Francis Galiegue <fgaliegue@gmail.com> wrote:
> Hello,
>
> Let us say that there is a variable called "list", whose value is an empty list:
>
> list = []
>
> Now let us have this template:
>
> X{.list}
>
> Should the expansion be "X" or "X."? And, more importantly, why?
>

Any insights? I have read the spec by and large (RFC 6570) and still
cannot figure it out...

--
Francis Galiegue, fgaliegue@gmail.com
JSON Schema in Java: http://json-schema-validator.herokuapp.com