- 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>
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 UTC