W3C home > Mailing lists > Public > public-media-fragment@w3.org > August 2009

RE: ACTION-88 optional comma and ambiguity in syntax.

From: Yves Lafon <ylafon@w3.org>
Date: Wed, 12 Aug 2009 09:37:37 -0400 (EDT)
To: DENOUAL Franck <Franck.Denoual@crf.canon.fr>
cc: "public-media-fragment@w3.org" <public-media-fragment@w3.org>
Message-ID: <alpine.DEB.1.10.0908120936010.9905@wnl.j3.bet>
On Fri, 31 Jul 2009, DENOUAL Franck wrote:

> Dear fragmenters,
>
> Correct me if I'm wrong, but expanding the rewriting proposed by Yves 
> (bracket missing?), I see the 5 possibilities below to express a "npt 
> temporal fragment":
>
> 1- npttimedef   = [ deftimeformat ":"]  clocktime
> 2- npttimedef   = [ deftimeformat ":"]  clocktime  ","
> 3- npttimedef   = [ deftimeformat ":"]  clocktime  "," clocktime
> 4- npttimedef   = [ deftimeformat ":"] ","
> 5- npttimedef   = [ deftimeformat ":"]  "," clocktime
>
> To me:
> 1 corresponds to a fragment from a start position (given by clocktime) to the end of stream
> 2 seems useless and redundant with 1
> 3 corresponds to a fragment between a start and an end time
> 4 seems useless (no fragment here)
> 5 corresponds to a fragment from the beginning of the stream to a given end time.
>
> Considering this, would the following syntax work ?
> npttimedef   = [ deftimeformat ":"]  ( 	(clocktime ["," clocktime])
> 					/("," clocktime)	)

Hi Franck,
We just discussed that during today's teleconference, and agreed that it 
would be ok to ditch 2/ and 4/, and use the simpler form of the grammar 
you propose. Both the wiki containing the formal grammar and the sample 
parser have been updated.
Thanks,

  >
> Best regards,
> --
> 	Franck.
>
>> -----Original Message-----
>> From: public-media-fragment-request@w3.org [mailto:public-media-fragment-
>> request@w3.org] On Behalf Of Yves Lafon
>> Sent: jeudi 16 juillet 2009 17:39
>> To: public-media-fragment@w3.org
>> Subject: ACTION-88 optional comma and ambiguity in syntax.
>>
>> Hi,
>> The following seems to capture what we (may) want:
>> In the grammar [1], replace:
>> <<
>> npttimedef    = [ deftimeformat ":"] [ clocktime ] "," [ clocktime ]
>>>>
>> by
>> <<
>> npttimedef    = [ deftimeformat ":"] ( ( clocktime [ "," [ clocktime ] ]
>>                                         / ( "," [ clocktime ] ) )
>>>>
>> So we are safe on this side.
>>
>> [1] http://www.w3.org/2008/WebVideo/Fragments/wiki/Syntax
>>
>> --
>> Baroula que barouleras, au tiéu toujou t'entourneras.
>>
>>          ~~Yves
>>
>
>
>

-- 
Baroula que barouleras, au tiéu toujou t'entourneras.

         ~~Yves
Received on Wednesday, 12 August 2009 13:37:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 21 September 2011 12:13:34 GMT