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

Ned Freed <ned.freed@mrochek.com> Wed, 28 September 2016 16:01 UTC

Return-Path: <ned.freed@mrochek.com>
X-Original-To: geojson@ietfa.amsl.com
Delivered-To: geojson@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0333712B1F0; Wed, 28 Sep 2016 09:01:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.318
X-Spam-Level:
X-Spam-Status: No, score=-4.318 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-2.316, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mrochek.com
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 BQwABfyGacz6; Wed, 28 Sep 2016 09:01:55 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [68.183.62.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D9AC712B18F; Wed, 28 Sep 2016 09:01:54 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01Q5H7NLM1G000S9UP@mauve.mrochek.com>; Wed, 28 Sep 2016 08:56:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mrochek.com; s=mauve; t=1475078209; bh=7WtiCcHGdTLfuSC+IEbWoIEHRHkz8dIk6fyXyN2aRVM=; h=Cc:Date:From:Subject:In-reply-to:References:To; b=s5DG/MNdsqlofOqUVQxw/LhN8skIpwQCCi2PeU2MSj0WTTDV/5wcpq/f7N2BISFFn zsC3wylVOAW7g9xnvmmyXtNucZqToOj9dJfJ6WpXbJ2qJRoogq3y0NB1XtZGEHUYx2 bp3bORk+RypWxOwavD8NyOeSPvGUQIIxqJOCQYpE=
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: TEXT/PLAIN; CHARSET=US-ASCII; Format=flowed
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01Q4N105JRCW00005M@mauve.mrochek.com>; Wed, 28 Sep 2016 08:56:47 -0700 (PDT)
Message-id: <01Q5H7NK1W8Y00005M@mauve.mrochek.com>
Date: Wed, 28 Sep 2016 08:48:12 -0700 (PDT)
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Tue, 27 Sep 2016 11:56:15 -0700" <31afbaba-7097-d2a4-4d26-c0d873aeae83@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> <ad96246d-1e6a-5ee9-b9f0-3d174739cc2a@dret.net> <31afbaba-7097-d2a4-4d26-c0d873aeae83@seantek.com>
To: Sean Leonard <dev+ietf@seantek.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/geojson/rSfGYFxhRDJ_vRTM20fUWb_5S8k>
Cc: Mark Baker <distobj@acm.org>, geojson@ietf.org, art@ietf.org, Erik Wilde <erik.wilde@dret.net>, Sean Gillies <sean.gillies@gmail.com>, media-types@iana.org
Subject: Re: [Geojson] [art] renamed draft: "A Media Type Structured Syntax Suffix for JSON Text Sequences"
X-BeenThere: geojson@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: IETF GeoJSON WG <geojson.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/geojson>, <mailto:geojson-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/geojson/>
List-Post: <mailto:geojson@ietf.org>
List-Help: <mailto:geojson-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/geojson>, <mailto:geojson-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Sep 2016 16:01:58 -0000

> > 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.

> The rules for how structured syntax suffixes get applied to diverse
> top-level media types is not clear. Can anyone explain how this is
> supposed to work?

What rules do there need to be? Structured suffixes provide a means - one that
is recommended but not required - of indicating that a given type employs some
underlying syntax.

A given type is either, say, XML based, or it isn't. If it is it should have an
name ending in +xml, if isn't it can't.

That's the only rule. The rules for whether not not a given type belongs
under application, video, text, model or whatever are essentially orthogonal to
this.

> Regardless, no text/* media type registrations use structured syntax
> suffixes at this time. I do not wish to belabor the point, so will
> concede it based on lack of use. (However, +xml and others are used by
> other TLMT, such as in image, message, and model. And +xml does have
> interactions with message, although they are a bit esoteric.)

As RFC 6838 says, the text top-level type is indended for material that is
"principally textual in form". This tends to conflict with the type employing a
structured syntax, since most structured syntaxes don't result in material
that's "principally textual". But nothing prevents there from being a
structured syntax designed for use by text types, although AFAIK we don't have
one yet.

				Ned