Re: [media-types] [art] renamed draft: "A Media Type Structured Syntax Suffix for JSON Text Sequences"

Erik Wilde <erik.wilde@dret.net> Tue, 27 September 2016 15:58 UTC

Return-Path: <erik.wilde@dret.net>
X-Original-To: media-types@ietfa.amsl.com
Delivered-To: media-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9341312B295 for <media-types@ietfa.amsl.com>; Tue, 27 Sep 2016 08:58:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.79
X-Spam-Level:
X-Spam-Status: No, score=-1.79 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, SPF_FAIL=0.001, SPF_HELO_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=dret.net
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 GuRpaN_KQecD for <media-types@ietfa.amsl.com>; Tue, 27 Sep 2016 08:58:12 -0700 (PDT)
Received: from pechora7.dc.icann.org (pechora7.icann.org [IPv6:2620:0:2830:201::1:73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BE92312B292 for <media-types@ietf.org>; Tue, 27 Sep 2016 08:58:07 -0700 (PDT)
Received: from postoffice.gristmillmedia.com (postoffice.gristmillmedia.com [96.30.18.196]) by pechora7.dc.icann.org (8.13.8/8.13.8) with ESMTP id u8RFvkvJ027871 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Tue, 27 Sep 2016 15:58:07 GMT
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dret.net; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version :Date:Message-ID:From:Cc:References:To:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=mA5tUVoAJLtQWwsJby/0k1sN8FECqpfetgjfFmhNDFE=; b=O8EthIQGwMxF7wHa3PYxoreGcm eh/I+Mzh1WUk9ImOroenPbjf3eoL+nKS0S14hEnF1Y8S3XGcnZstrMQ0o4fEEoj/AHMvSxG6WzvNz udMh8bRm/Nver5NkUpwxOpsvMkff0hoS9EBbR7Z3/x6+UgcAG6Y16UVFRkkSQgHCorXi2uoPUkslh /j1jhtGIRpr4R9moFUOqkE/0WweC2wQTyKLJcydTqkYDGZG9BpNsjSqM0N/XuVivx4JPu+eZBkBuW odJMj5CzeRJDps/3yZm+267mNG/BnDJ2pl+V3Bn8v5P3N0IV2ANwG8PQhrDaexrt9kNf7Erm6Cm4u Nlw8aHfQ==;
Received: from [62.212.112.83] (port=63154 helo=dretair.local) by postoffice.gristmillmedia.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from <erik.wilde@dret.net>) id 1boulN-0003KX-U5; Tue, 27 Sep 2016 11:57:46 -0400
To: Sean Leonard <dev+ietf@seantek.com>
References: <CAOodmJoxSWEZxwQg6vK650HEy+nBx3iOdVQ+6hbjqaMQd_NBmA@mail.gmail.com> <CALcoZioNMW0SbvnGtm9PtYNPuGdQZ9oTBeBTB8j_+10hkPKf5A@mail.gmail.com> <8CE835AF-B228-4623-BDDE-D4B7DD006A6B@dret.net> <31406b75-16fe-3aed-fa16-ca4ad46f255d@dret.net> <9125c52c-ce66-2bff-0674-d2ce737b0014@dret.net> <5CE4E75D-2185-4A81-B00F-6BD6717FF916@seantek.com>
From: Erik Wilde <erik.wilde@dret.net>
Message-ID: <ad96246d-1e6a-5ee9-b9f0-3d174739cc2a@dret.net>
Date: Tue, 27 Sep 2016 17:57:43 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <5CE4E75D-2185-4A81-B00F-6BD6717FF916@seantek.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - postoffice.gristmillmedia.com
X-AntiAbuse: Original Domain - iana.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - dret.net
X-Get-Message-Sender-Via: postoffice.gristmillmedia.com: authenticated_id: birdhouse@dret.net
X-Authenticated-Sender: postoffice.gristmillmedia.com: birdhouse@dret.net
X-Source:
X-Source-Args:
X-Source-Dir:
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (pechora7.dc.icann.org [192.0.46.73]); Tue, 27 Sep 2016 15:58:07 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/AmlTbM25LICqVTVhfKqkGdR5zQg>
Cc: Sean Gillies <sean.gillies@gmail.com>, Mark Baker <distobj@acm.org>, geojson@ietf.org, media-types@iana.org, art@ietf.org
Subject: Re: [media-types] [art] renamed draft: "A Media Type Structured Syntax Suffix for JSON Text Sequences"
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "IANA mailing list for reviewing Media Type \(MIME Type, Content Type\) registration requests." <media-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/media-types>, <mailto:media-types-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/media-types/>
List-Post: <mailto:media-types@ietf.org>
List-Help: <mailto:media-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/media-types>, <mailto:media-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Sep 2016 15:58:16 -0000

hello sean.

thanks for your feedback, and i think both of your comments are 
interesting. but i also think that they would be misplaced in this 
particular draft.

On 2016-09-26 04:27, Sean Leonard wrote:
> Two concerns:
> <1>
> +json-seq could be used with text/*+json-seq, not just application/*+json-seq. This should be addressed. The underlying application/json-seq (RFC 7464) only supports LF as a delimiter; this should be noted that it could be (and likely will be) CRLF when in text/* based media types. I think.

RFC 7464 does not say anything about text/json-seq (it only registers 
the application/json-seq media type) and thus it would be inappropriate 
to make the suffix be more encompassing than the underlying media type.

> <2>
> The fragment identifier is not fully specified, but that section says some stuff anyway. I think it should say something concrete, simply because the registration says that anything not in +json-seq is fair game for FOO/BAR+json-seq. Therefore, designers of FOO/BAR+json-seq ought to know what “holes” there are in +json-seq to play with. That includes application/geo+json+seq even though apparently there is no need for specific fragment identifiers at this time.
> May I suggest: #n[:xxx], where n is the index of the JSON item, in decimal 0-9 ASCII. It could be 0-based or 1-based, to taste. If [:xxx] is present, the xxx is the fragment identifier according to application/json (which, apparently, has no fragment identifier syntax).
> This means that anyone developing a specific media type structured as +json-seq has broad reign over any fragment identifier sequence that doesn’t start with 1-9 (or 0-9, as the case may be).
> ...or, you could say nothing about fragment identifiers. application/json-seq doesn’t say anything, and it’s getting along just fine.

again, RFC 7464 does not say anything here. i think your idea with 
providing simple indexing into the sequence is a really nice one, but i 
think the right place to define this would be the media type, not the 
suffix.

if there is a next revision of RFC 7464, then it probably should 
register the suffix and maybe it also should adopt your idea of an index 
fragment identification scheme. but to me, that's something that would 
need to be done for the media type.

thanks and cheers,

dret.

-- 
erik wilde | mailto:erik.wilde@dret.net |
            | http://dret.net/netdret    |
            | http://twitter.com/dret    |