W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

bug in example in step 6 of media type algorithm in WD-widgets-20110322 ?

From: Jonathan Rees <jar@creativecommons.org>
Date: Wed, 23 Mar 2011 08:40:45 -0400
Message-ID: <AANLkTina+ADccAf3n=YT58oYL9ZvhUf67h-+-kiENo3M@mail.gmail.com>
To: public-webapps@w3.org

If the first character of the name is not a U+002E 'FULL STOP'
character, but name contains one or more U+002E 'FULL STOP'
characters, then let extension be the sequence of characters from the
last U+002E 'FULL STOP' (inclusive) to the end of name (if any).

The value of extension for the file name "cat.html" would be ".html".
The value of extension for "...html" would be ".html". And the value
of extension for "hello." would be an empty string.

Wouldn't the value of extension for "hello." be "." according to this rule?

"If any" doesn't make sense - there has to be *some* sequence of
characters from the full stop to the end.


On Tue, Mar 22, 2011 at 3:26 PM, Arthur Barstow <art.barstow@nokia.com> wrote:
> On March 22, WebApps published a LCWD of Widget Packaging and Configuration
> to fix bugs [Bugs] found by the I18N Core WG:
>  http://www.w3.org/TR/2011/WD-widgets-20110322/
> We welcome comments from anyone and explicitly ask the I18N WG to review
> this spec and to send all comments to public-webapps@w3.org by May 1.
> -Art Barstow
> [Bugs] http://www.w3.org/TR/2011/WD-widgets-20110322/#changes
Received on Wednesday, 23 March 2011 12:41:18 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:30 UTC