Re: [clue] again on <spatialInformation>

Paul Kyzivat <pkyzivat@alum.mit.edu> Fri, 02 November 2012 13:55 UTC

Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: clue@ietfa.amsl.com
Delivered-To: clue@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D188821F8946 for <clue@ietfa.amsl.com>; Fri, 2 Nov 2012 06:55:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.397
X-Spam-Level:
X-Spam-Status: No, score=-0.397 tagged_above=-999 required=5 tests=[AWL=0.040, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_NET=0.611, RDNS_NONE=0.1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lSn8niyi2cpU for <clue@ietfa.amsl.com>; Fri, 2 Nov 2012 06:55:09 -0700 (PDT)
Received: from qmta03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:32]) by ietfa.amsl.com (Postfix) with ESMTP id 7E48821F87DF for <clue@ietf.org>; Fri, 2 Nov 2012 06:55:08 -0700 (PDT)
Received: from omta16.westchester.pa.mail.comcast.net ([76.96.62.88]) by qmta03.westchester.pa.mail.comcast.net with comcast id JdCw1k00y1uE5Es53dv7RZ; Fri, 02 Nov 2012 13:55:07 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.164]) by omta16.westchester.pa.mail.comcast.net with comcast id JdvL1k00R3ZTu2S3cdvL8e; Fri, 02 Nov 2012 13:55:20 +0000
Message-ID: <5093D0B3.1060800@alum.mit.edu>
Date: Fri, 02 Nov 2012 09:54:59 -0400
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Roberta Presta <roberta.presta@unina.it>
References: <508A6242.80001@unina.it> <5091009C.8070805@unina.it> <5092A9E3.6010000@alum.mit.edu> <5093A121.2040805@unina.it>
In-Reply-To: <5093A121.2040805@unina.it>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: clue@ietf.org
Subject: Re: [clue] again on <spatialInformation>
X-BeenThere: clue@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: CLUE - ControLling mUltiple streams for TElepresence <clue.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/clue>, <mailto:clue-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/clue>
List-Post: <mailto:clue@ietf.org>
List-Help: <mailto:clue-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/clue>, <mailto:clue-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Nov 2012 13:55:09 -0000

On 11/2/12 6:32 AM, Roberta Presta wrote:
> Il 01/11/2012 17:57, Paul Kyzivat ha scritto:
>> On 10/31/12 6:42 AM, Roberta Presta wrote:
>>
>>>           <xs:choice>
>>>               <xs:sequence>
>>>                <xs:element name="spatialInformation"
>>> type="tns:spatialInformationType" maxOccurs="unbounded"/>
>>>              </xs:sequence>
>>>               <xs:element name="nonSpatiallyDefinible"
>>> type="xs:boolean" fixed="true"/>
>>>           </xs:choice>
>>
>> I'm an xml lightweight. In the above, why isn't it just:
>>
>> <xs:choice>
>>   <xs:element name="spatialInformation"
>>               type="tns:spatialInformationType" maxOccurs="unbounded"/>
>>   <xs:element name="nonSpatiallyDefinible"
>>               type="xs:boolean" fixed="true"/>
>> </xs:choice>
>>
>> What do the <sequence>s add?
>>
>>     Thanks,
>>     Paul
>
> Hi Paul,
>
> putting the <spatialInformation> element inside <sequence> with
> maxOccurs="unbounded" means that you can find more than one
> <spatialInformation> describing a capture.

Oh, duh! Sorry. I totally missed the "unbounded". Now I understand the 
difference.

> Using a definition without <sequence>, on the other hand, means that you
> can find only one <spatialInformation> describing a capture. The
> definition would look like the following:
>
> <xs:choice>
>    <xs:element name="spatialInformation"
>                type="tns:spatialInformationType"/>
>    <xs:element name="nonSpatiallyDefinible"
>                type="xs:boolean" fixed="true"/>
> </xs:choice>
>
>
> The current definition (the one with <sequence>) leaves open the
> possibility of specifying more than one <spatialInformation> for a
> capture.  That chance could be exploited in case of composed capture to
> describe spatially each component  by adding  a <spatialInformation>
> element for each of them (I don't know if it could be really useful, I
> have left the definition "as is" to the aim of discussing about it).

Thanks for pointing that out now. That deserves some discussion.

There is a slippery slope here into some major complexity. We started to 
talk about that at the interim. In the case of a switched capture where 
all of the switched sources come from the same scene this could be 
somewhat meaningful, though I wonder if it would be *useful*. In the 
case of a composed capture where all the sources come from the same 
scene I have difficulty understanding how to make any sense of this 
info. And this isn't even capable of representing the case of a switched 
or composed capture where the sources come from *different* scenes.

> Alternatively, we can decide that only one <spatialInformation> can be
> provided for a capture.
> In case of composed capture that are also spatially definible, the
> single <spatialInformation> element would carry the information of the
> maximum captured space.
> In that case, the XML Schema definition would remove the <sequence>
> envelope and the maxOccurs="unbounded" attribute, as reported above.
>
> What is the option that makes more sense to you?

Let's discuss a bit and see what others have to say. For now I think 
that the latter may be the most expedient choice.

	Thanks,
	Paul