Re: [forces] draft-ietf-forces-model-extension

Jamal Hadi Salim <hadi@mojatatu.com> Thu, 23 October 2014 13:31 UTC

Return-Path: <hadi@mojatatu.com>
X-Original-To: forces@ietfa.amsl.com
Delivered-To: forces@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 51D721A90C2 for <forces@ietfa.amsl.com>; Thu, 23 Oct 2014 06:31:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.978
X-Spam-Level:
X-Spam-Status: No, score=-1.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-0.7] 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 e4KoYEFeXgcX for <forces@ietfa.amsl.com>; Thu, 23 Oct 2014 06:31:44 -0700 (PDT)
Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 218DF1A1A72 for <forces@ietf.org>; Thu, 23 Oct 2014 06:31:44 -0700 (PDT)
Received: by mail-oi0-f51.google.com with SMTP id h136so706716oig.38 for <forces@ietf.org>; Thu, 23 Oct 2014 06:31:43 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=H8R0hG7zAWsFGgqipz++6t1cUqHNxp1ISEHd6M9YXPY=; b=YRSDNPECb8jdyRsME9E1HS1+4jU8+8/IT6BKt3ZrTMk4CFm7UVgljVPKj+1Ag8pKG9 UPJ+dfSTkWFc75jhOw09Czs6mdAXY2AmpOqxeYEEuBcYu2cESBd3B8if1cqgAvPr1G23 YIjM1PGsYFPA/ThqzgISbB9FUJXuGhRTo+JWQXfbHcPy27j16D8VJP0d9mmatRh+LkEy nY+U4F4JOf+KbDDFWzA9IOXw19wcBrLS2mJJjbCQ5ljNA3nLulCXMBWoFcD996R3YYkz R6a4qaSdZoFgdMFt8ip6G+xyYxim7VoxTBPw8Ho4QrbqJgeDRMaBWl09hhbuXVYi5GNs /Xjg==
X-Gm-Message-State: ALoCoQk6xYjC9o59y0Tni/VVqTgP2u9GOMqq//DzHd027p6tgDIDuWos0CszKTvRSDv05u3fG8Rx
X-Received: by 10.202.67.135 with SMTP id q129mr1382939oia.75.1414071103578; Thu, 23 Oct 2014 06:31:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.202.199.7 with HTTP; Thu, 23 Oct 2014 06:31:23 -0700 (PDT)
In-Reply-To: <5448F7BA.7010607@gmx.de>
References: <54475790.7000609@gmx.de> <54475DC7.4040402@gmx.de> <00e301cfedf7$5d323430$17969c90$@com> <5447ACC0.80904@gmx.de> <CAAFAkD8Qn95Msmnw9VqqRDHdG51bWuEc4g1a2fYwM+K61r3-Mw@mail.gmail.com> <5448F7BA.7010607@gmx.de>
From: Jamal Hadi Salim <hadi@mojatatu.com>
Date: Thu, 23 Oct 2014 09:31:23 -0400
Message-ID: <CAAFAkD-s6vQkR4zmx0-GcDE2nKJZRgSzZFEbvD9t3VODd01U_A@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Content-Type: text/plain; charset="UTF-8"
Archived-At: http://mailarchive.ietf.org/arch/msg/forces/wIB8sC3Dr-2G-sci57OJJZXKW9Q
Cc: Amanda Baber <amanda.baber@icann.org>, Graham Klyne <GK@ninebynine.org>, "forces@ietf.org" <forces@ietf.org>, draft-ietf-forces-model-extension@tools.ietf.org
Subject: Re: [forces] draft-ietf-forces-model-extension
X-BeenThere: forces@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: ForCES WG mailing list <forces.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/forces>, <mailto:forces-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/forces/>
List-Post: <mailto:forces@ietf.org>
List-Help: <mailto:forces-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/forces>, <mailto:forces-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2014 13:31:49 -0000

On Thu, Oct 23, 2014 at 8:42 AM, Julian Reschke <julian.reschke@gmx.de> wrote:
> On 2014-10-23 13:51, Jamal Hadi Salim wrote:
>>

>> I am trying to understand the issue.
>> There is no namespace version carried in the protocol. And there is no
>> changes in the protocol encoding as the result of the new namespace.
>> IOW, it does not affect anything from the protocol perspective.
>
>
> Now I'm very confused. The XML defined by the draft is not carried over the
> wire?
>

Never.
Binary encodings of what is formally described by the XML goes over the wire.
We are optimizing for high performance (think updating 1M table rows using
XML ;->).
In essence, think of it as a modelling language.

>
> You could, but it simply means that you need to write code that knows about
> both namespaces. (I understand that it's not hard to do, but it is very
> different from having nothing to do).
>

So the assumption is it is *not* hard to do.

>> All the new extensions introduced are optional. And correctly written
>> s/ware will log/ignore/bailout on extensions it doesnt support.
>> Are you suggesting we keep the version at 1.0?
>
>
> If the rule for the 1.0 namespace is to ignore unknown elements then indeed
> it doesn't make any sense to define a new namespace.
>

Need to think about it.

>> How does one detect there's new extensions?
>
>
> By inspecting the element name and see whether it's known?
>

So you suck in the XML and notice these new fields?
I guess since there is no need for "discovery" across to a controller
that may work.
Note for LFBs (the OO classes we use to describe resources), the controller
needs to ask the resource owner what versions it supports so it can address it
appropriately (since the XML doesnt go on the wire).

cheers,
jamal

> Best regards, Julian