Differences between the last published draft and this document.
Differences between latest editor's draft and latest version.
This specification standardizes a packaging format and metadata for a class of software known as widgets. Unlike traditional user interface widgets (e.g., buttons, input boxes, toolbars, etc.), widgets as specified in this document are full-fledged client-side applications that are authored using technologies such as HTML5 and then packaged for distribution. Examples range from simple clocks, stock tickers, news casters, games and weather forecasters, to complex applications that pull data from multiple sources to be "mashed-up" and presented to a user in some interesting and useful way.
Publication as a Working Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress. You can find the latest Editor's Draft of this document in the W3C's CVS repository.
This is the 22 March 2011 Last Call Working Draft of the Widgets Packaging and Configuration Specification. The Last Call review period ends on 01 May 2011. A dispositions of comments will be made available upon republication.
Feedback based on any aspect of this specification is welcome and encouraged.
This document is produced by the Web Applications WG, part of the Rich Web Client Activity in the W3C Interaction Domain. It is expected that this document will progress along the W3C's Recommendation track.
The public is encouraged to send comments to the Web Apps Working Group's public mailing list public-Webapps@w3.org (archive). See W3C mailing list and archive usage guidelines. A detailed list of changes from the previous version is also available from the W3C's CVS server.
This version introduces the defaultlocale attribute. For widgets that make use of multiple languages, this attribute allows an author to specify which of the languages should be used in case the user agent does not support any of the languages specified by the widget.
As there was confusion with regards to the email attribute and the param elements name and value attributes being defined as keyword attributes, these have now been reclassified as a string attributes.
We also update the rule for identifying the media type of a file to support finding file extensions that have a number in them (e.g., "mp3").
We fixed the ABNF of zip-rel-path to disallow, and also disallowed constructions such as "en-*-foo". This was done by making the lang-tag rule similar to obs-language-tag as defined in [BCP47], but restricting productions to lower case. We also fixed a typo in the ABNF for low-alpha (changed %x61-71 to %x61-7a so it actually covers the lower case ASCII characters).
A language tag is a text string that matches the production of a Language-Tag defined in the [BCP47] specifications (see the IANA Language Subtag Registry for an authoritative list of possible values).
The concept of a viewport is defined in [CSS], but is essentially a window or other viewing area on the screen (see section 9.1.1 The viewport of [CSS2]). The concept of a view mode is defined in the [View-Modes] specification.
Let path be the valid path to the file entry being sought by the user agent.
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).
When acquiring a potential Zip archive that has not been labeled with a media type (e.g., from a file system), a user agent must attempt to process the resource regardless of the file extension (including situations when the file extension is absent) by applying the rule for determining if a potential Zip archive is a Zip archive. If the rule for determining if a potential Zip archive is a Zip archive return true, proceed to Step 2. Otherwise, if an error was returned, the user agent must treat the potential Zip archive as an invalid widget package.
This section only applies to HTML user agents [HTML][HTML4] [XHTML1.1].
Aaron Boodman, Adam Barth, Addison Phillips, Alexander Dreiling, Andrew Sledd, Andrew Welch, Arun Ranganathan, Arthur Barstow, Bárbara Barbosa Neves, Bil Corry, Brian Wilson, Bjoern Hoehrmann, Benoit Suzanne, Bert Bos, Boris Zbarsky, Bradford Lassey, Bryan Sullivan, Cameron McCormack, Cliff Schmidt, Claudio Venezia, Coach Wei, Corin Edwards, Cynthia Shelly, Cyril Concolato, Dan Brickley, Dan Connolly, Daniel Silva, David Clarke, Dean Jackson, David Poehlman, David Pollington, David Rogers, Dominique Hazael-Massieux, Doug Schepers, Ed Voas, Felix Sasaki, Francois Daoust, Frederick Hirsch, Gautam Chandna, Geir Pedersen, Gene Vayngrib, Gorm Haug Eriksen, Guido Grassel, Guenter Klas, Hans S. Tømmerholt, Hari Kumar G, Henri Sivonen, Henry Story, Ian Hickson, Ivan Demarino, Jay Sweeney, Jean-Claude Dufourd, Jeff Decker, Jere Käpyaho, Jim Ley, Jo Rabin, Jon Ferraiolo, Jonas Sicking, Jose Manuel Cantera Fonseca, Josh Soref, Jouni Hakala, Joey Bacalhau, Julian Reschke, Kevin Lawver, Kai Hendry, Krzysztof Maczyński, Lachlan Hunt, Larry Masinter, Laurens Holst, Mark Priestley, Marc Silbey, Marcin Hanclik, Mark Baker, Martin J. Dürst, Michael Cooper, Max Froumentin, Mikko Pohja, Mohamed Zergaoui, Najib Tounsi, Noah Mendelsohn, Oguz Kupusoglu, Ola Andersson, Olli Immonen, Paddy Byers, Paul Libbrecht , Philipp Heltewig, Philip Taylor, Rainer Hillebrand, Robert Sayre, Rune F. Halvorsen, Samuel Santos, Scott Wilson, Sean Mullan, Sigbjorn Finne, Simon Pieters, Stephen Paul Weber, Stephen Jolly, Stephane Sire, Steven Faulkner, Thomas Landspurg, Thomas Roessler, Tiago Neves, William Edney, Yoan Blanc, Yves Savourel.
Tags for Identifying Languages , A. Phillips and M. Davis.
Cascading Style Sheets Level 2 Specification. B. Bos, I. Hickson, T. Çelik, H. Wium Lie. (Work in Progress).
XML Digital Signatures for Widgets . M. Cáceres, F. Hirsch, Stuart Knightley, and M. Priestley. (Work in Progress).
The 'view-mode' Media Feature . R. Berjon. W3C. (Work in Progress).
Extensible Markup Language (XML) 1.0 (Fifth Edition) . T. Bray, J. Paoli, C. M. Sperberg-McQueen, E. Maler, F. Yergeau. W3C, November 2008.
HTML 4.01 Specification , D. Raggett, A. Le Hors, I. Jacobs, 24 December 1999.
Relax NG Schema for the Widgets Family of Specifications . D. Håsäther, R. Berjon, and M. Cáceres. (Work in Progress).
Test Suite for Widget Packaging and Configuration . Work in Progress.
XHTML™ 1.1 - Module-based XHTML - Second Edition . S. McCarron and M. Ishikawa. W3C Recommendation 23 November 2010.