Re: [Jcardcal] [Gen-art] Genart LC review: draft-ietf-jcardcal-jcal-09

Robert Sparks <rjsparks@nostrum.com> Tue, 11 March 2014 19:06 UTC

Return-Path: <rjsparks@nostrum.com>
X-Original-To: jcardcal@ietfa.amsl.com
Delivered-To: jcardcal@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7D59A1A07FD; Tue, 11 Mar 2014 12:06:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.446
X-Spam-Level:
X-Spam-Status: No, score=-2.446 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.547] autolearn=ham
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 Q09yHskQCCPv; Tue, 11 Mar 2014 12:06:53 -0700 (PDT)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) by ietfa.amsl.com (Postfix) with ESMTP id 619461A0805; Tue, 11 Mar 2014 12:06:53 -0700 (PDT)
Received: from unnumerable.local (pool-173-71-10-88.dllstx.fios.verizon.net [173.71.10.88]) (authenticated bits=0) by nostrum.com (8.14.8/8.14.7) with ESMTP id s2BJ6jmV074820 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=OK); Tue, 11 Mar 2014 14:06:47 -0500 (CDT) (envelope-from rjsparks@nostrum.com)
X-Authentication-Warning: raven.nostrum.com: Host pool-173-71-10-88.dllstx.fios.verizon.net [173.71.10.88] claimed to be unnumerable.local
Message-ID: <531F5EC6.5010306@nostrum.com>
Date: Tue, 11 Mar 2014 14:06:46 -0500
From: Robert Sparks <rjsparks@nostrum.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: General Area Review Team <gen-art@ietf.org>, draft-ietf-jcardcal-jcal@tools.ietf.org, jcardcal@ietf.org
References: <531F5C0D.5040903@nostrum.com>
In-Reply-To: <531F5C0D.5040903@nostrum.com>
Content-Type: multipart/alternative; boundary="------------090102030201070106050304"
Archived-At: http://mailarchive.ietf.org/arch/msg/jcardcal/ejxRJ9jlEq-C2BLT8nJrqMDuRew
Subject: Re: [Jcardcal] [Gen-art] Genart LC review: draft-ietf-jcardcal-jcal-09
X-BeenThere: jcardcal@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: JSON data formats for vCard and iCalendar WG <jcardcal.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jcardcal>, <mailto:jcardcal-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jcardcal/>
List-Post: <mailto:jcardcal@ietf.org>
List-Help: <mailto:jcardcal-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jcardcal>, <mailto:jcardcal-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Mar 2014 19:06:54 -0000

Actually, there are perhaps some corners to consider knocking off 
related to:
> * I verified that the syntax numbers with fractional parts is the same 
> in both iCal in jCal. Specifically "4." is not valid in either 
> grammar, so there is no need to discuss something like adding a 0 or 
> remove the decimal point during conversion.
looking again, iCal says:

float      = (["+"] / "-") 1*DIGIT ["." 1*DIGIT]


but json says:

number = [ minus ] int [ frac ] [ exp ]
int = zero / ( digit1-9 *DIGIT )

So, in iCal, you could have '+4' . json doesn't allow the plus sign.

iCal appears to allow leading 0s. json does not.