Re: [siprec] Extension data (was RE: draft-ram-siprec-metadata-format-01)

Brian Rosen <br@brianrosen.net> Wed, 06 April 2011 12:56 UTC

Return-Path: <br@brianrosen.net>
X-Original-To: siprec@core3.amsl.com
Delivered-To: siprec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A44D028C0FC for <siprec@core3.amsl.com>; Wed, 6 Apr 2011 05:56:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.64
X-Spam-Level:
X-Spam-Status: No, score=-101.64 tagged_above=-999 required=5 tests=[AWL=-0.841, BAYES_00=-2.599, J_CHICKENPOX_210=0.6, J_CHICKENPOX_27=0.6, J_CHICKENPOX_29=0.6, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 74zTK18kKogX for <siprec@core3.amsl.com>; Wed, 6 Apr 2011 05:56:03 -0700 (PDT)
Received: from barmail5.idig.net (barmail5.idig.net [64.34.111.236]) by core3.amsl.com (Postfix) with ESMTP id 6F58728C0EA for <siprec@ietf.org>; Wed, 6 Apr 2011 05:56:03 -0700 (PDT)
X-ASG-Debug-ID: 1302094666-00f27e0aa11892b0001-sFFYAS
Received: from wwh1.winweblinux.com (wwh1.winweblinux.com [76.74.186.184]) by barmail5.idig.net with ESMTP id N1cbjohvdI3h3Yxf; Wed, 06 Apr 2011 05:57:46 -0700 (PDT)
X-Barracuda-Envelope-From: br@brianrosen.net
X-Barracuda-Apparent-Source-IP: 76.74.186.184
Received: from neustargw.va.neustar.com ([209.173.53.233] helo=kyeg-lt510.cis.neustar.com) by wwh1.winweblinux.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from <br@brianrosen.net>) id 1Q7SIl-0002pf-JI; Wed, 06 Apr 2011 05:57:46 -0700
Mime-Version: 1.0 (Apple Message framework v1084)
X-ASG-Orig-Subj: Re: [siprec] Extension data (was RE: draft-ram-siprec-metadata-format-01)
Content-Type: text/plain; charset="us-ascii"
From: Brian Rosen <br@brianrosen.net>
In-Reply-To: <A444A0F8084434499206E78C106220CA0875DC0C51@MCHP058A.global-ad.net>
Date: Wed, 06 Apr 2011 08:57:35 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <C8ED29AB-4FDB-4E6E-880C-5CF0D4B89F78@brianrosen.net>
References: <4D93ADCB.2050106@stpeter.im> <4D94416E.7070102@cisco.com><4D944429.10607@stpeter.im> <4D94714B.8010102@cisco.com> <21866C7FE177A4449B9136B5B24B1B130BC01128BC@EXMBXCLUS01.citservers.local> <A11921905DA1564D9BCF64A6430A623904E979BB@XMB-BGL-411.cisco.com> <21866C7FE177A4449B9136B5B24B1B130BC01128FB@EXMBXCLUS01.citservers.local> <A444A0F8084434499206E78C106220CA0875DC0C51@MCHP058A.global-ad.net>
To: "Elwell, John" <john.elwell@siemens-enterprise.com>
X-Mailer: Apple Mail (2.1084)
X-Barracuda-Connect: wwh1.winweblinux.com[76.74.186.184]
X-Barracuda-Start-Time: 1302094666
X-Barracuda-URL: http://64.34.111.236:8000/cgi-mod/mark.cgi
X-Barracuda-Spam-Score: 0.12
X-Barracuda-Spam-Status: No, SCORE=0.12 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=3.5 tests=CN_BODY_332
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.60069 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.12 CN_BODY_332 BODY: CN_BODY_332
Cc: "siprec@ietf.org" <siprec@ietf.org>
Subject: Re: [siprec] Extension data (was RE: draft-ram-siprec-metadata-format-01)
X-BeenThere: siprec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SIP Recording Working Group Discussion List <siprec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/siprec>, <mailto:siprec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/siprec>
List-Post: <mailto:siprec@ietf.org>
List-Help: <mailto:siprec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/siprec>, <mailto:siprec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2011 12:56:04 -0000

<as individual>
We can provide an extension point in each object that allows a new namespace.  Then you can define  the extension in a new namespace and you get backwards compatibility without redefining the object.

I'm actually not a fan of that idea for extensions that are seen to have wide applicability.  I'd rather redefine the object.

Brian

On Apr 6, 2011, at 4:21 AM, Elwell, John wrote:

> I tend to agree with Scott that it would be easier to send extension data as part of the object to which it relates, rather than as a separate object.
> 
> Advantages:
> 1. There is no need for an identifier on the extension data, since it is always sent as part of the object.
> 2. When sending an updated object, it is clear by the presence or absence of extension data whether previous extension data still applies.
> 
> Disadvantages:
> 1. It is not possible to update the extension data without updating the entire object.
> 
> I believe the advantages outweigh the disadvantage.
> 
> John (as individual)
> 
> 
>> -----Original Message-----
>> From: siprec-bounces@ietf.org 
>> [mailto:siprec-bounces@ietf.org] On Behalf Of Scott Orton
>> Sent: 31 March 2011 17:21
>> To: Parthasarathi R (partr); Paul Kyzivat (pkyzivat); Peter 
>> Saint-Andre
>> Cc: siprec@ietf.org
>> Subject: Re: [siprec] draft-ram-siprec-metadata-format-01
>> 
>> Inline comments.
>> 
>> -----Original Message-----
>> From: Parthasarathi R (partr) [mailto:partr@cisco.com] 
>> Sent: Thursday, March 31, 2011 10:42 AM
>> To: Scott Orton; Paul Kyzivat (pkyzivat); Peter Saint-Andre
>> Cc: siprec@ietf.org
>> Subject: RE: [siprec] draft-ram-siprec-metadata-format-01
>> 
>> Scott,
>> 
>> Thanks for the feedback.
>> 
>> Thanks
>> Partha
>> 
>> -----Original Message-----
>> From: siprec-bounces@ietf.org 
>> [mailto:siprec-bounces@ietf.org] On Behalf
>> Of Scott Orton
>> Sent: Thursday, March 31, 2011 8:59 PM
>> To: Paul Kyzivat (pkyzivat); Peter Saint-Andre
>> Cc: siprec@ietf.org
>> Subject: Re: [siprec] draft-ram-siprec-metadata-format-01
>> 
>> Here is some feedback on draft-ram-siprec-metadata-format-01. 
>> 
>> In the xml schema, the group is not listed as an element in 
>> the sequence
>> for the recording-metadata, which conflicts with the example in 5.1.
>> 
>> <Partha> Agreed. I'll update in the next revision </partha>
>> 
>> In addition, I found it confusing that the extension data is 
>> included in
>> the participant type but not included in any of the other defined
>> elements in the recording-metadata. I think it might be good idea to
>> include the extension data as last element in the sequences for the
>> group, session, etc. As that would eliminate the need for the parent
>> attribute in the extension data assuming it stays close to its current
>> format.
>> 
>> <partha> It purely depend on whether extension-data has to be 
>> partially
>> passed across separately or not. Currently mechanism allows to pass
>> extension data partially within RS whereas in case it is an element
>> within any of the metadata block element like participant, stream then
>> it has to be passed across with any change in that particular metadata
>> block element.
>> 
>> 
>> <Scott> I see the advantages of it being separate for the 
>> partial update. I would just like it to be consistent. Either 
>> in each element or in none of the elements. I think the key 
>> to deciding where to include the extension data is how a 
>> partial update should treat the data. If for example in the 
>> initial metadata you send to the SRS there is extensiondata 
>> associated with the participant. Then in an UPDATE the 
>> partial metadata for the participant update the stop-time, 
>> but does not include the extensiondata. How is the SRS 
>> expected to handle the lack of extensiondata? Should it treat 
>> it as the extensiondata is no longer relevant and delete it 
>> or should it assume it is not changed. If it should treat it 
>> as unchanged then how do you delete the extension data if it 
>> is no longer relevant. Since the definition of the extension 
>> data requires at least one string there is no way to remove 
>> it. All this leads me to believe that the extension data 
>> should be part of each element and there s
>> hould be no generic extensiondata element in the 
>> recording-metadata.  </Scott>
>> 
>> In case everyone feels that there is no need to pass extensiondata
>> explicitly, it realy simply the solution as there is no need another
>> open item like parent id within extensiondata </partha>
>> 
>> 
>> Regards,
>>   Scott
>> 
>> 
>> -----Original Message-----
>> From: siprec-bounces@ietf.org 
>> [mailto:siprec-bounces@ietf.org] On Behalf
>> Of Paul Kyzivat
>> Sent: Thursday, March 31, 2011 7:19 AM
>> To: Peter Saint-Andre
>> Cc: siprec@ietf.org
>> Subject: Re: [siprec] draft-ram-siprec-metadata-format-01
>> 
>> 
>> 
>> On 3/31/2011 5:06 AM, Peter Saint-Andre wrote:
>>> I am booked through 11 PM tonight.
>>> 
>>> Tomorrow I have the following windows of time:
>>> 
>>> 07:00-07:30
>>> 15:15-16:00
>>> 
>>> Naturally that time might get filled if issues come up in 
>> some of my 
>>> working groups. :)
>> 
>> But you also have 11-12pm tonite? :-)
>> (That is much better for me than the others.)
>> 
>> Maybe its just too late in the week to hope for this.
>> We can take it to the list.
>> 
>> 	Thanks,
>> 	Paul
>> 
>>> On 3/31/11 10:55 AM, Paul Kyzivat wrote:
>>>> Peter/Joe,
>>>> 
>>>> Do either of you have any time in the remainder of the 
>> week when some
>> 
>>>> of us could sit and try to sort out the right way to do 
>> the extension
>> data?
>>>> I doubt it would take very long.
>>>> 
>>>>     Thanks,
>>>>     Paul
>>>> 
>>>> On 3/30/2011 6:25 PM, Peter Saint-Andre wrote:
>>>>> Here is some quick feedback on 
>> draft-ram-siprec-metadata-format-01. 
>>>>> I hope to review it more fully soon.
>>>>> 
>>>>> 1. I would change application/recording to 
>> application/recording+xml
>> 
>>>>> in accordance with RFC 3023 (many specs illustrate the use of XML 
>>>>> media types -- see for example RFC 4287).
>>>>> 
>>>>> 2. The large number of<extensiondata/>   elements is a 
>> bit confusing
>> in
>>>>> the examples.
>>>>> 
>>>>> 3. In Section 5.1, the example has one<extensiondata/>   element
>>>>> qualified by the 'urn:ietf:params:xml:ns:siprec' 
>> namespace (no other
>>>>> namespace is defined) and then multiple<extensiondata/>   elements
>>>>> qualified by other namespaces ('http://example.com/groupapp', 
>>>>> 'http://example.com/sessionapp', etc.). Although those other 
>>>>> namespaces are certainly *allowed* to use "extensiondata" as an 
>>>>> element name (that's the beauty of namespaces), it is confusing in
>> this document.
>>>>> Perhaps you even meant to have<extensiondata/>   elements 
>> qualified
>> by
>>>>> the 'urn:ietf:params:xml:ns:siprec' and then child elements 
>>>>> qualified by other namespaces (in accordance with the schema). 
>>>>> However, that is not clear in the spec.
>>>>> 
>>>>> 4. There is no built-in datatype for xs:urnuuid, xs:streamMode, 
>>>>> xs:requester, and so on. See W3C XML Schema Part 2:
>>>>> 
>>>>>     http://www.w3.org/TR/xmlschema-2/#built-in-datatypes
>>>>> 
>>>>> 5. The data in the<name/>   elements with xml:lang="it" really
>> should be
>>>>> Giulietta Capuleti and Romeo Montecchi. ;-)
>>>>> 
>>>>> Peter
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> siprec mailing list
>>>>> siprec@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/siprec
>>>> _______________________________________________
>>>> siprec mailing list
>>>> siprec@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/siprec
>>> 
>>> 
>> _______________________________________________
>> siprec mailing list
>> siprec@ietf.org
>> https://www.ietf.org/mailman/listinfo/siprec
>> _______________________________________________
>> siprec mailing list
>> siprec@ietf.org
>> https://www.ietf.org/mailman/listinfo/siprec
>> _______________________________________________
>> siprec mailing list
>> siprec@ietf.org
>> https://www.ietf.org/mailman/listinfo/siprec
>> 
> _______________________________________________
> siprec mailing list
> siprec@ietf.org
> https://www.ietf.org/mailman/listinfo/siprec