W3C

WICD Mobile 1.0

W3C Working Draft 21 November 2005

This version:
http://www.w3.org/TR/2005/WD-WICDMobile-20051121/
Latest version:
http://www.w3.org/TR/WICDMobile/
Previous version:
http://www.w3.org/TR/2005/WD-WICD-20050915/
Editors:
Timur Mehrvarz, Vodafone Group Services Limited
Daniel Appelquist, Vodafone Group Services Limited
Lasse Pajunen, Nokia

Abstract

This document specifies WICD Mobile 1.0, a Compound Document profile based on XHTML, CSS and SVG and targeted at mobile agents.

Compound Document is the W3C term for a document that combines multiple formats.

WICD stands for Web Integration Compound Document.

Status of this Document

This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/.

This is the 21 November 2005 W3C Working Draft of the WICD Mobile Profile. This is the first publication of the specification in this form. Previously this document formed part of the Compound Document Framework and WICD Profiles.

The Compound Document Formats Working Group explicitly requests comments on this specification. Please send them to public-cdf@w3.org, the public email list for issues related to compound documents on the Web. This list is archived and acceptance of this archiving policy is requested automatically upon first post. To subscribe to this list send an email to public-cdf-request@w3.org with the word subscribe in the subject line.

This document has been produced by the Compound Document Formats Working Group as part of the Rich Web Client Activity within the W3C Interaction Domain.

This document was produced under the 5 February 2004 W3C Patent Policy. The Working Group maintains a public list of patent disclosures relevant to this document; that page also includes instructions for disclosing [and excluding] a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) with respect to this specification should disclose the information in accordance with section 6 of the W3C Patent Policy.

Per section 4 of the W3C Patent Policy, Working Group participants have 150 days from the title page date of this document to exclude essential claims from the W3C RF licensing requirements with respect to this document series. Exclusions are with respect to the exclusion reference document, defined by the W3C Patent Policy to be the latest version of a document in this series that is published no later than 90 days after the title page date of this document.

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.

Table of Contents

1 Introduction
    1.1 About this Document
    1.2 Scope
2 Document Formats
    2.1 Updated version of XHTML Basic
        2.1.1 MIME Type
        2.1.2 Filename extension
        2.1.3 DOCTYPE
    2.2 ECMAScript 3rd Edition Compact Profile
        2.2.1 MIME Type
        2.2.2 Filename extension
    2.3 Updated version CSS Mobile Profile
        2.3.1 Focus Support
    2.4 SVG Tiny 1.2
    2.5 Bitmap formats
    2.6 Audio formats
    2.7 Video formats
3 User Agents
    3.1 DOM Level 3
        3.1.1 Keyboard Event Naming
        3.1.2 DOM Functionality
    3.2 Intended Layout
        3.2.1 Stylesheet being provided for handheld agents
        3.2.2 No stylesheet being provided for handheld agents
        3.2.3 Switching off mousepointer emulation for handheld content
    3.3 Document Size
    3.4 Child Object Formats
    3.5 Child Object Layout

Appendices

A Conformance
B References
C Authoring Guidelines (Non-Normative)
D Acknowledgements (Non-Normative)
E Changes Log (Non-Normative)


1 Introduction

1.1 About this Document

(This section is informative)

All non normative sections are headed by: "(This section is informative)".

1.2 Scope

(This section is informative)

The WICD Mobile profile is primarily designed to enable rich multimedia content on mobile handset devices. These are devices with:

  • small, narrow screens (approximately 2 to 4 inch, up to 30-40 characters per line)
  • 4- or 8-way joystick navigation (no pointing device)

This document contains only information, which is specific to the "WICD Mobile 1.0" profile. Any information that applies to all WICD profiles, is compiled into the "WICD Core 1.0" document. Any information that applies to "Compound Documents" in general, can be found in the documents describing the "CDF". User agents, conformant to the WICD Mobile 1.0 must also implement WICD Core 1.0 and CDR Framework 1.0.

The following image shows the relation between WICD and CDF documents.

Shows the relation of WICD and CDF documents

The following is a WICD Mobile markup sample:

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
    "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <title>Example WICD Mobile content</title>
  </head>
  <body>
    <h1>Example WICD Mobile content<h1>
    <object type="image/svg+xml" src="child.svg" width="50%" />
  </body>           
</html>

2 Document Formats

2.1 Updated version of XHTML Basic

[XHTMLBasic XHTML Basic. W3C Recommendation 19th December 2000

Editorial note 
We try to harmonize XHTML MP 1.2 specific features into XHTML Basic. We concluded that the best we can do is a forward reference to an updated XHTML Basic.

For reference: [XHTMLMP12] “XHTML Mobile Profile 1.2” (PDF)

Comformant user agent MUST support XHTML Basic as root document.

2.1.1 MIME Type

Documents authored for WICD Mobile 1.0 should be associated with the application/xhtml+xml mime type.

2.1.2 Filename extension

The prefered filename extension for WICD Mobile 1.0 content is ".xhtml".

2.1.3 DOCTYPE

Documents authored for WICD Mobile 1.0 must contain a DOCTYPE declaration according to [XHTML Basic].

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">

2.2 ECMAScript 3rd Edition Compact Profile

Conformant WICD Mobile user agents must support ECMAScript 3rd Edition as a scripting language.

2.2.1 MIME Type

ECMAScript documents authored for the WICD Mobile 1.0 profile SHOULD be associated with the "application/ecmascript" mime type.

2.2.2 Filename extension

The prefered filename extension for WICD Mobile 1.0 ECMAScript content is ".js".

2.3 Updated version CSS Mobile Profile

CSS Mobile Profile 1.0 (W3C Candidate Recommendation 25 July 2002)

[Wireless Profile CSS 1.1] (PDF) OMA Candidate Version 1.1 – 09 Jun 2004

Issue: Rightsizing is now specified in [CSS 2.1] - but not yet in [CSS Mobile Profile].

Issue: Absolute Positioning is not yet specified in [CSS Mobile Profile].

Issue: Setting the Outline Visibility is not yet specified in [CSS Mobile Profile].

Editorial note 
We try to harmonize Wireless CSS specific features into CSS MP. We concluded that the best we can do is a forward reference to an updated CSS MP. We also need to reference selected features of CSS 2.1.

2.3.1 Focus Support

Editorial note 
Switching off automatic UA-focus outline must be supported for focus-event triggered animation to really work. But this is not possible with CSS-MP yet. Therefor extensions to CSS-MP may be required.

2.4 SVG Tiny 1.2

Comformant WICD Mobile 1.0 user agent MUST support Scalable Vector Graphics (SVG) Tiny 1.2 Specification while referenced from XHTML.

2.5 Bitmap formats

The viewer must support JPEG/JFIF [JPEG][JFIF] and PNG [PNG] raster image formats. Other image formats may be supported in addition. For JPEG, the subset defined in [SVG12] shall be supported. For PNG, all color types and bit depths shall be supported, gamma correction shall be supported, and any alpha or transparency information shall be used to composite the image onto the background.

2.6 Audio formats

Audio may be incorporated into WICD 1.0 content in several ways. It may be pointed to from an XHTML object element, or an SVG audio element, or indirectly from an SVG video element where the video includes audio.

In XHTML, there are no timing elements. Thus, audio will play from the time the document is loaded until the time the document is unloaded (eg, replaced by another document as a result of following a link). In conforming WICD 1.0 content, audio referenced from an XHTML object element must have width and height of zero.

In SVG, audio may be triggered by user interaction or by animations to start, stop, or change volume.

For accessibility, conforming WICD 1.0 user agents must profile the option of switching off audio. [UAAG].

No audio format is mandated in this profile. Any audio format supported by the device must also be supported to be used with the <audio> element in SVG and <object> element in XHTML.

2.7 Video formats

Video may be incorporated into WICD 1.0 content in several ways. It may be pointed to from an XHTML object element, or an SVG video element.

In XHTML, there are no timing elements. Thus, video will play from the time the document is loaded until the time the document is unloaded (eg, replaced by another document as a result of following a link).

In SVG, video may be triggered by user interaction or by animations to start, pause, rewind, or stop.

For accessibility, conforming WICD 1.0 user agents must provide the option of pausing, rewinding, or stopping video.

No video format is mandated in this profile. Any video format supported by the device must also be supported to be used with the <video> element in SVG and <object> element in XHTML.

3 User Agents

3.1 DOM Level 3

Issue: WICD Mobile agents may not fully implement [DOM Level 3]".

Note: Document Object Model (DOM) Level 3 Core Specification

Note: Document Object Model (DOM) Level 3 Events Specification

3.1.1 Keyboard Event Naming

(This section is informative)

DOM Level 3 Events is expected to specify a default keyboard mapping for handset devices. We would like to link to this specification and make it mandatory.

The following key assignements may be meaningful:

- Joystick up,down,left,right and activate to be assigned to "up","down","left","right" and "activate".

- Softkey 1 and softkey 2 to be assigned to "F1" and "F2".

3.1.2 DOM Functionality

(This section is informative)

(ToDo: Make support for preventDefault() function mandatory and testable?).

(ToDo: Can we specify and mandate a getBytesLoaded() functionality?).

3.2 Intended Layout

3.2.1 Stylesheet being provided for handheld agents

A handheld user agent, that discovers a CSS stylesheet, provided for it's device class (either by media attribute set to "handheld" or by a Media Query expression), should assume the content was created with handheld properties 'in mind'. The agent is expected to deactivate any special adaptation techniques for rendering wide screen content on a narrow screen and display the intended layout. (See also the "Media Queries" and "Media Features" sections in the "WICD Core" document.)

3.2.2 No stylesheet being provided for handheld agents

(This section is informative)

A handheld user agent should also not activate special content adaptation techniques for the narrow screen, if documents, which do not contain a stylesheet referece for the "handheld" media type, do not requires such treatment. Such documents should be rendered as is.

3.2.3 Switching off mousepointer emulation for handheld content

(This section is informative)

When switching off special adaptation techniques for rendering wide screen content on a narrow screen, vendors of handset devices should also switch off any type of mouse pointer emulation. They are encouraged to implement a two dimensional, flat graphical focus navigation as described in WICD Core.

3.3 Document Size

(ToDo: Should there be a mandated minimal supported document size? 50KB?)

3.4 Child Object Formats

(ToDo: Should there be a mandated minimal number of audio child objects on a single XHTML document?)

(ToDo: Should there be a mandated minimal number of number of audio channel?)

3.5 Child Object Layout

(ToDo: Should there be a mandated minimal number of child objects be defined?)

(ToDo: Should there be a mandated minimal number of animating child objects be defined?)

(ToDo: Should there be a mandated minimal number of transparent layers be defined?)

(ToDo: Should there be a mandated minimal number of nesting levels for child objects?)

A Conformance

This specification defines conformance for several classes of products:

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 (see ). However, for readability, these words do not appear in all uppercase letters in this specification.

At times, this specification recommends good practice for authors and user agents. These recommendations are not normative and conformance with this specification does not depend on their realization. These recommendations contain the expression "We recommend ...", "This specification recommends ...", or some similar wording.

WICD Mobile 1.0 Document Conformance:

  1. A conforming document must conform to the CDR Framework 1.0, WICD Core 1.0 and WICD Mobile 1.0.

  2. A conforming root document must be a XHTML document.

WICD Mobile 1.0 User Agent Conformance:

  1. A conformant user agent must implement all three of the following specifications: CDR Framework 1.0, WICD Core 1.0 and WICD Mobile 1.0.

  2. A scalable background image does not need to provide support for interaction, such as zooming, panning, linking and mouse events.

B References

[ECMA]

European Computer Manufacturers Association, "ECMAScript Language Specification 3rd Edition", December 1999, http://www.ecma-international.org/publications/standards/Ecma-262.htm

Also available as ISO/IEC 16262: 199

[SMT]

IETF, "Scripting Media Types", 06 June 2005 http://www.ietf.org/internet-drafts/draft-hoehrmann-script-types-03.txt

[DOM2HTML]

Document Object Model (DOM) Level 2 HTML Specification

latest version: http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/

[DOM3Core]

Document Object Model (DOM) Level 3 Core Specification

latest version: http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/

[OMG IDL]

OMG IDL Syntax and Semantics" defined in The Common Object Request Broker: Architecture and Specification, version 2, Object Management Group. The latest version of CORBA version 2.0 is available at http://www.omg.org/technology/documents/formal/corba_2.htm

Editorial note 
Todo: Add all previously mentioned references here.

C Authoring Guidelines (Non-Normative)

This is a place holder for links to MWI authoring guidelines.

D Acknowledgements (Non-Normative)

The editors would like to thank the contributors:

E Changes Log (Non-Normative)

2005-11-11
2005-11-10
2005-11-07
  • Renamed section "DOM [?]" to 3.1 DOM Level 3.
  • Renamed preliminary "Switching Off Adaptation Mode" to 3.2 Intended Layout.
  • Added preliminary 3.3 Document Size.
  • Renamed preliminary "DOM3 Events" to DOM Requirements.
  • Added preliminary new group header CSS Requirements.
2005-11-03
2005-10-31
2005-10-30
2005-10-28
2005-10-27
2005-10-26
2005-10-13
  • Updated the Abstract.
2005-10-05
  • Added new section "WICD Mobile 1.0 Constraints".
2005-10-04
  • Split main document into CDF + WICD Core, WICD Mobile and WICD Full.