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

Re: ABNF for fragment syntax

From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Date: Thu, 26 Feb 2009 09:01:17 +1100
Message-ID: <2c0e02830902251401i6862665cy5965047bd0373ec1@mail.gmail.com>
To: Yves Lafon <ylafon@w3.org>
Cc: Michael Hausenblas <michael.hausenblas@deri.org>, public-media-fragment@w3.org
On Thu, Feb 26, 2009 at 8:45 AM, Yves Lafon <ylafon@w3.org> wrote:
> On Thu, 26 Feb 2009, Silvia Pfeiffer wrote:
>
>> On Thu, Feb 26, 2009 at 2:45 AM, Yves Lafon <ylafon@w3.org> wrote:
>>>
>>> On Sat, 21 Feb 2009, Michael Hausenblas wrote:
>>>
>>>> b) When reading our MF ABNF in relation to the generic URI ABNF rules as
>>>> of
>>>> RFC3985 [1], I was wondering if we need some more contextualisation? The
>>>> 'Collected ABNF for URI' basically says:
>>>>
>>>> URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
>>>> fragment      = *( pchar / "/" / "?" )
>>>>
>>>> and we start with
>>>>
>>>> mediafragment = ( timefragment / spacefragment / trackfragment /
>>>> namefragment ) * ( "&" ( timefragment / spacefragment / trackfragment /
>>>> namefragment ) )
>>>>
>>>> Where <mediafragment> per our ABNF == <fragment> per RFC3986, right?
>>>
>>> yes, I used mediafragment there as we might use this also for query URI,
>>> to
>>> construct first-class URIs for "fragments" (as fragment is heavily
>>> overloaded, we might find another word to describe parts of a document)
>>
>> I would make this explicit and create e.g. an element called "segment"
>> that can explicitly be either a query or a fragment.
>
> That's the purpose of 'mediafragment'
> I incorporated most comments in the Wiki:
> http://www.w3.org/2008/WebVideo/Fragments/wiki/Syntax#Formal_Grammar
> Please let me know if I missed something. (I will add the query part if the
> solution for fragment seems ok to you).

By its sheer name, 'mediafragment' too obviously just addresses the
'fragment' and not the 'query' part of the URI. Maybe we can think of
something better. That's why I suggested 'segment'. We could also use
'extract' or 'subpart' - something that incorporates the extraction of
a thumbnail from a video as well as the creation of a video extract.

Cheers,
Silvia.
Received on Wednesday, 25 February 2009 22:01:58 GMT

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