Re: [XCON] AD review: draft-ietf-xcon-common-data-model-19

Oscar Novo <oscar.novo@ericsson.com> Thu, 13 January 2011 11:19 UTC

Return-Path: <oscar.novo@ericsson.com>
X-Original-To: xcon@core3.amsl.com
Delivered-To: xcon@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 23D3A28C0E4 for <xcon@core3.amsl.com>; Thu, 13 Jan 2011 03:19:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 DbYi2Tb2F1zI for <xcon@core3.amsl.com>; Thu, 13 Jan 2011 03:19:05 -0800 (PST)
Received: from mailgw10.se.ericsson.net (mailgw10.se.ericsson.net [193.180.251.61]) by core3.amsl.com (Postfix) with ESMTP id 6E1F63A6B60 for <xcon@ietf.org>; Thu, 13 Jan 2011 03:19:05 -0800 (PST)
X-AuditID: c1b4fb3d-b7b89ae0000036a3-65-4d2ee036c3f0
Received: from esessmw0247.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw10.se.ericsson.net (Symantec Mail Security) with SMTP id 3E.F6.13987.630EE2D4; Thu, 13 Jan 2011 12:21:27 +0100 (CET)
Received: from ESESSCMS0355.eemea.ericsson.se ([169.254.2.69]) by esessmw0247.eemea.ericsson.se ([10.2.3.116]) with mapi; Thu, 13 Jan 2011 12:21:26 +0100
From: Oscar Novo <oscar.novo@ericsson.com>
To: Peter Saint-Andre <stpeter@stpeter.im>, Robert Sparks <rjsparks@nostrum.com>
Date: Thu, 13 Jan 2011 12:21:24 +0100
Thread-Topic: [XCON] AD review: draft-ietf-xcon-common-data-model-19
Thread-Index: AcuyvWnBnnuQDkc/QLuvObQ3M6/KRwAVo0JA
Message-ID: <58E207308662A748A4AC1ECB4E885614052C5D2659@ESESSCMS0355.eemea.ericsson.se>
References: <326FB158-5C3C-48FC-96C6-252ABE05A10B@nostrum.com> <58E207308662A748A4AC1ECB4E88561403D02C92@ESESSCMS0355.eemea.ericsson.se> <537E4975-C9FB-4046-A264-C3325310959B@nostrum.com> <58E207308662A748A4AC1ECB4E885614013029BA0E@ESESSCMS0355.eemea.ericsson.se> <0957E5CB-0D6C-4992-9AF5-55C1DC2E9AFF@nostrum.com> <58E207308662A748A4AC1ECB4E88561401304EC4A5@ESESSCMS0355.eemea.ericsson.se> <0DE83F89-E769-4112-91E8-27F96AC69D45@nostrum.com> <4D2E4EDB.6000403@stpeter.im>
In-Reply-To: <4D2E4EDB.6000403@stpeter.im>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_0085_01CBB324.C69DB550"
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: "xcon@ietf.org" <xcon@ietf.org>, Gonzalo Camarillo <gonzalo.camarillo@ericsson.com>
Subject: Re: [XCON] AD review: draft-ietf-xcon-common-data-model-19
X-BeenThere: xcon@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Centralized Conferencing <xcon.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/xcon>, <mailto:xcon-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/xcon>
List-Post: <mailto:xcon@ietf.org>
List-Help: <mailto:xcon-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xcon>, <mailto:xcon-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Jan 2011 11:19:07 -0000

Thanks Peter!

Oscar 

-----Original Message-----
From: Peter Saint-Andre [mailto:stpeter@stpeter.im] 
Sent: 13. tammikuuta 2011 3:01
To: Robert Sparks
Cc: Oscar Novo; xcon@ietf.org; Gonzalo Camarillo
Subject: Re: [XCON] AD review: draft-ietf-xcon-common-data-model-19

On 1/12/11 1:32 PM, Robert Sparks wrote:

> I'll ask the xml directorate to review how we're restating 4575's 
> schema. (Has such a review already been performed?). One question I 
> have is whether this is a normative update to 4575 as written.

I'll volunteer to look at that topics and other XML matters (probably next
week).

>>> /------------------------Question-----------------------------------
>>> --
>>>>
>>>>
>>>>
>>> 
* In the Schama in section 5, there are several comment blocks
>>>> instructing someone to redefine something as <empty/> or 
>>>> <notAllowed> (no trailing slash?).  Is this an established 
>>>> convention documented somewhere? If so, can you provide a pointer? 
>>>> If not, please add text explaining who the instructions are 
>>>> intended for and when they should be invoked.
>>>> 
>>>> [ON] The Data Model is an extensible schema. We just indicate to 
>>>> the implementor how to limit the schema if it's not extended. The 
>>>> trailing slash has been included in the <notAllowed> element.
>>> 
>>> [RObert] Then,  please add text explaining who the instructions are 
>>> intended for and when they should be invoked.
>>> 
>>> [ON1] Is not the current text self-explanatory? Which instructions 
>>> would you suggest?
>> 
>>> [Robert] No, it's not self-explanatory - if it were, we wouldn't be 
>>> having this conversation. I suggest pulling it into an "Implementer 
>>> note", introducing the note with a sentence or two explaining that 
>>> this is something you can do if you know >>you are not going to use 
>>> any extensions.
>> 
>> [O] Right, what about adding the following text in every 
>> extensibility elements?
>> 
>> "If extensions (check section 6) beyond this specification are not 
>> used, re-define anyAttribute as <empty/> and remove the definition 
>> below"
>> 
>> Would it be clear adding the text above?
> 
> Thinking about this some more, I believe this is dangerous, and is not 
> something we should recommend as part of standardizing this model. 
> Basically, you're saying that an implementation that believes it isn't 
> going to exercise an extension point can stub those extension points 
> out. In practice, this will result in incompatible versions of the 
> schema being fielded, and in the worst of cases, when the implementer 
> was _wrong_ about this implementation (or the things around it) 
> wanting to use the extension points, results in a brittle system. We 
> certainly can't prevent an implementer from making this simplification 
> if they choose to do so, but it's a hazardous practice that is very 
> likely to make rolling out extensions in the future more difficult.
> 
> I think you should remove the comments from the document altogether.

I agree with Robert here.

As a point of comparison, in XMPP we have many extension points. In some
environments, the deploying organization wishes to lock down the service so
that only particular extensions are allowed (say, only a small set of known
stream features during initial negotiation). And one way that such
organizations lock down the service is by performing schema validation on
all of the XMPP traffic, using a schema that removes ability to extend the
protocol at certain points. However, although we know that some
organizations do this, I don't think it's the kind of thing we'd want to
recommend or encourage, at least not in the core specification for an XML
protocol or format that by definition includes the extension points.

Just my gram of silver...

Peter

--
Peter Saint-Andre
https://stpeter.im/