Re: [Iptel] [Editorial Errata Reported] RFC3966 (4376)

Paul Kyzivat <pkyzivat@alum.mit.edu> Mon, 08 June 2015 14:22 UTC

Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: iptel@ietfa.amsl.com
Delivered-To: iptel@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 386831A88FE for <iptel@ietfa.amsl.com>; Mon, 8 Jun 2015 07:22:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level:
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_SOFTFAIL=0.665] autolearn=no
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 GFwcEgFgz8rE for <iptel@ietfa.amsl.com>; Mon, 8 Jun 2015 07:22:52 -0700 (PDT)
Received: from resqmta-ch2-02v.sys.comcast.net (resqmta-ch2-02v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 945C71A88E9 for <iptel@ietf.org>; Mon, 8 Jun 2015 07:22:52 -0700 (PDT)
Received: from resomta-ch2-05v.sys.comcast.net ([69.252.207.101]) by resqmta-ch2-02v.sys.comcast.net with comcast id dqMs1q0022Bo0NV01qNr50; Mon, 08 Jun 2015 14:22:51 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.151]) by resomta-ch2-05v.sys.comcast.net with comcast id dqNr1q00B3Ge9ey01qNrVM; Mon, 08 Jun 2015 14:22:51 +0000
Message-ID: <5575A53B.80205@alum.mit.edu>
Date: Mon, 08 Jun 2015 10:22:51 -0400
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: OKUMURA Shinji <ietf.shinji@gmail.com>
References: <20150526154737.6666D180207@rfc-editor.org> <D18A12D9.1033C2%jason_livingood@cable.comcast.com> <CD098708DF903D876E8D0@gmail.com> <5571BB75.5040008@alum.mit.edu> <A1D0A1D3870259ietf.shinji@gmail.com>
In-Reply-To: <A1D0A1D3870259ietf.shinji@gmail.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1433773371; bh=bkjAJQ0N8b0MjvTgy2g40eFskXYm9dAQaFJmnN4JOr0=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=u0W522FJrUQxAe6l4CkufhXvygoxmf7Nez3h/l6WZgXRMMffebezhJ2/FPNV7kZeZ D4tLcX93gGciY6Brmbfddj9G5iYCXl+TuDcRo69jwNI7VFZTCMY2tTFg6oX254oW0S 7SDcjrKCJ61NSPA88A+jDKg4OoNEWpiVcGp/8H9IVqHMaZRMHXE6Qs2QPUYKAPM65v ntDsG80HfYphtfHTntAdiUNvB7dEa+/0nn2vUSfqUDDGfIJTmqyDLJLON2BdA6kOqB STwP4Oa7RBXFTal5fgrwubviyCQGxUAVjI8uM4T4aaujPejKbOkX5Ieq2Rd/qA4JSf RwAF0tmKCU1NQ==
Archived-At: <http://mailarchive.ietf.org/arch/msg/iptel/AeJked5alzQSZsPqgvYcd-LzlNk>
Cc: iptel@ietf.org
Subject: Re: [Iptel] [Editorial Errata Reported] RFC3966 (4376)
X-BeenThere: iptel@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IP Telephony <iptel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/iptel>, <mailto:iptel-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/iptel/>
List-Post: <mailto:iptel@ietf.org>
List-Help: <mailto:iptel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/iptel>, <mailto:iptel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Jun 2015 14:22:54 -0000

On 6/8/15 6:11 AM, OKUMURA Shinji wrote:
> Hi Paul,
>
>> On 5/27/15 7:30 AM, OKUMURA Shinji wrote:
>>> Hi,
>>>
>>> phonedigit is used in an extension rule.
>>>
>>>      extension            = ";ext=" 1*phonedigit
>>>
>>> if the original definition is correct, I think a following
>>> description is valid.
>>>
>>> tel:1234;ext=;phone-context=example.com
>>>
>>> May an extension number be an empty string?
>>
>> That would be bad.
>>
>> But your errata fix isn't sufficient for extension because it would
>> allow an extension including only visual-separators. ISTM that to
>> complete the fix the rule for extension also needs to be changed to:
>>
>>    extension            = ";ext=" *phonedigit DIGIT *phonedigit
>
> I see, and IIUC this is reducible as below.
>
>     extension            = ";ext=" *visual-separator DIGIT *phonedigit
>
> The two are equivalent, but from a parser implementor's perspective
> the latter is better (I think).

I agree the two are equivalent. I think one can argue about which is 
easier to understand. But for clarity I do think the same construction 
ought to be used in both the definition of extension and 
global-number-digits. For an errata I think it is preferable to minimize 
the changes to the text, so I think I favor using the form currently 
used in global-number-digits.

(If there was to be another bis, then that would be a good time to 
change it. And then, I think I would define a new rule for this 
construction, that would then be used in both global-number-digits and 
extension.)

	Thanks,
	Paul

> Regards,
> Shinji
>
>>> At the very start what is the reason why visual-separator became an
>>> optional rule?
>>
>> I don't know. It certainly seems to have been a mistake.
>>
>>> according to the document history,
>>>
>>> RFC2806
>>>      phonedigit            = DIGIT / visual-separator
>>>
>>> draft-ietf-iptel-rfc2806bis-01
>>>      phonedigit            =  DIGIT [ visual-separator ]
>>>      phonedigit-hex        =  HEXDIG [ visual-separator ]
>>>
>>> draft-ietf-iptel-rfc2806bis-02
>>>      phonedigit            =  DIGIT / [ visual-separator ]
>>>      phonedigit-hex        =  HEXDIG / "*" / "#" / [ visual-separator ]
>>
>> 	Thanks,
>> 	Paul
>>
>>> Anydody know the intent of this fix?
>>>
>>> Regards,
>>> Shinji
>>>
>>>> This errata should be rejected.
>>>>
>>>> - Jason
>>>>
>>>>
>>>>
>>>> On 5/26/15, 11:47 AM, "RFC Errata System" <rfc-editor@rfc-editor.org>
>>>> wrote:
>>>>
>>>>> The following errata report has been submitted for RFC3966,
>>>>> "The tel URI for Telephone Numbers".
>>>>>
>>>>> --------------------------------------
>>>>> You may review the report below and at:
>>>>> http://www.rfc-editor.org/errata_search.php?rfc=3966&eid=4376
>>>>>
>>>>> --------------------------------------
>>>>> Type: Editorial
>>>>> Reported by: OKUMURA Shinji <ietf.shinji@gmail.com>
>>>>>
>>>>> Section: 3
>>>>>
>>>>> Original Text
>>>>> -------------
>>>>> phonedigit           = DIGIT / [ visual-separator ]
>>>>> phonedigit-hex       = HEXDIG / "*" / "#" / [ visual-separator ]
>>>>>
>>>>>
>>>>> Corrected Text
>>>>> --------------
>>>>> phonedigit           = DIGIT / visual-separator;
>>>>> phonedigit-hex       = HEXDIG / "*" / "#" / visual-separator;
>>>>>
>>>>>
>>>>> Notes
>>>>> -----
>>>>> An optional and alternative rule is typically meaningless.
>>>>>
>>>>> Instructions:
>>>>> -------------
>>>>> This erratum is currently posted as "Reported". If necessary, please
>>>>> use "Reply All" to discuss whether it should be verified or
>>>>> rejected. When a decision is reached, the verifying party (IESG)
>>>>> can log in to change the status and edit the report, if necessary.
>>>>>
>>>>> --------------------------------------
>>>>> RFC3966 (draft-ietf-iptel-rfc2806bis-09)
>>>>> --------------------------------------
>>>>> Title               : The tel URI for Telephone Numbers
>>>>> Publication Date    : December 2004
>>>>> Author(s)           : H. Schulzrinne
>>>>> Category            : PROPOSED STANDARD
>>>>> Source              : IP Telephony
>>>>> Area                : Real-time Applications and Infrastructure
>>>>> Stream              : IETF
>>>>> Verifying Party     : IESG
>