W3C

WICD Mobile 1.0

W3C Working Draft 11 August 2006

This version:
http://www.w3.org/TR/2006/WD-WICDMobile-20060811/
Latest version:
http://www.w3.org/TR/WICDMobile/
Previous version:
http://www.w3.org/TR/2005/WD-WICDMobile-20051219/
Editors:
Timur Mehrvarz, Vodafone Group Services Limited
Daniel Appelquist, Vodafone Group Services Limited
Lasse Pajunen, Nokia
Julien Quint, DAISY Consortium

Abstract

This document specifies WICD Mobile 1.0, a Compound Document profile based on XHTML, CSS and SVG, which is 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 an updated Working Draft of the WICD Mobile 1.0, incorporating comments on the 19 December 2005 Last Call Working Draft. The Compound Document Formats Working Group is still in the process of addressing remaining Last Call comments; in the meantime, this document reflects resolved issues and is made available for your review. A diff-marked version is also available to review changes since the last Working Draft. The WG requests comments on this specification. Please send them to public-cdf@w3.org. 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 by a group operating under the 5 February 2004 W3C Patent Policy. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy.

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
2 Compound Document by Reference Framework Compliancy
3 Document Formats
    3.1 XHTML Basic 1.1
        3.1.1 XHTML MIME Type
    3.2 ECMAScript 3rd Edition Compact Profile
        3.2.1 ECMAScript MIME Type
    3.3 CSS Mobile Profile 2.0
    3.4 SVG Tiny 1.2
    3.5 Bitmap formats
    3.6 Audio formats
    3.7 Video formats
4 User Agent
    4.1 Identification
    4.2 DOM Level 3

Appendices

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


1 Introduction

(This section is informative)

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

2 Compound Document by Reference Framework Compliancy

This document contains 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 "Compound Document Framework" (CDR/CDI).

[assert-implement1: Conformant WICD Mobile 1.0 user agents must implement the

including the extended DOM API's and additional Events. ]

[assert-implement2: Conformant WICD Mobile 1.0 user agents must implement

]

The following image shows the relation between WICD and CDRF documents. Shows the relation of WICD and CDRF documents

The following is a sample WICD Mobile 1.0 markup:

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN"
  "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.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>

3 Document Formats

3.1 XHTML Basic 1.1

[XHTML Basic 1.1 W3C Working Draft 5th July 2006]

[assert-root-xhtml-basic: Conformant WICD Mobile 1.0 user agents must support XHTML Basic 1.1 as the root document. ]

3.1.1 XHTML MIME Type

[assert-root-xhtml-mime: XHTML Basic 1.1 documents should be associated with the application/xhtml+xml mime type. ]

3.2 ECMAScript 3rd Edition Compact Profile

[assert-ecmascript: Conformant WICD Mobile 1.0 user agents must support ECMAScript 3rd Edition Compact Profile (ES-CP) as a scripting language. ]

3.2.1 ECMAScript MIME Type

[assert-ecmascript-mime: ECMAScript documents should be associated with the "application/ecmascript" mime type. ]

3.3 CSS Mobile Profile 2.0

[assert-root-css: Conformant WICD Mobile 1.0 user agents must support CSS Mobile Profile 2.0 [CSS Mobile Profile 2.0 Specification]. ]

3.4 SVG Tiny 1.2

[assert-svgt: Conformant WICD Mobile 1.0 user agents must support Scalable Vector Graphics Tiny 1.2 [SVGT12] specification. ]

3.5 Bitmap formats

[assert-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. ]

3.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.

[assert-audio-timing: 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 should profile the option of switching off audio. [UAAG].

No audio format is mandated in this profile.

[assert-audio-formats: 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. ]

3.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.

[assert-video-timing: 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.

[assert-video-formats: 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. ]

4 User Agent

4.1 Identification

[assert-identification: When declaring support for WICD Mobile 1.0, a conforming user agent should use an "Accept" header with the value:

application/xhtml+xml; profile="http://www.w3.org/2005/12/wicd-mobile"
]

4.2 DOM Level 3

[assert-dom-level3: Conformant WICD Mobile 1.0 user agents must support Document Object Model (DOM) Level 3 Core Specification and Document Object Model (DOM) Level 3 Events Specification. ]

A Definitions

The terms used in this document are specified in Compound Document by Reference Framework 1.0.

B 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 http://www.ietf.org/rfc/rfc2119.txt). 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 User Agent Conformance:

  1. Conformant WICD Mobile 1.0 user agents must implement the "Compound Document by Reference Framework 1.0 (CDR 1.0)" including the extended DOM API's and additional Events.

  2. Conformant WICD Mobile 1.0 user agents must implement "WICD Core 1.0".

  3. Conformant WICD Mobile 1.0 user agents must support XHTML Basic 1.1 as the root document.

  4. Conformant WICD Mobile 1.0 user agents must support ECMAScript 3rd Edition Compact Profile (ES-CP) as a scripting language.

  5. Conformant WICD Mobile 1.0 user agents must support the updated version of CSS Mobile Profile 2.0.

  6. Conformant WICD Mobile 1.0 user agents must support Scalable Vector Graphics (SVG) Tiny 1.2 Specification while referenced from XHTML.

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

  8. 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).

  9. 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.

  10. 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).

  11. 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.

  12. When declaring support for WICD Mobile 1.0, a conforming user agent should use an "Accept" header with the value: application/xhtml+xml; profile="http://www.w3.org/2005/12/wicd-mobile".

  13. Conformant WICD Mobile 1.0 user agents must support Document Object Model (DOM) Level 3 Core Specification and Document Object Model (DOM) Level 3 Events Specification.

WICD Mobile 1.0 Document Conformance:

  1. XHTML Basic 1.1 documents should be associated with the application/xhtml+xml mime type.

  2. ECMAScript documents should be associated with the "application/ecmascript" mime type.

C References

Extensible Markup Language (XML) 1.0 (Third Edition)
Extensible Markup Language (XML) 1.0 (Third Edition) , C. M. Sperberg-McQueen, Eve Maler, Tim Bray, et. al. , Editors. World Wide Web Consortium, 04 Feb 2004. This version is http://www.w3.org/TR/2004/REC-xml-20040204. The latest version is available at http://www.w3.org/TR/REC-xml.
Namespaces in XML
Namespaces in XML , Tim Bray, Dave Hollander, and Andrew Layman, Editors. World Wide Web Consortium, 14 Jan 1999. This version is http://www.w3.org/TR/1999/REC-xml-names-19990114. The latest version is available at http://www.w3.org/TR/REC-xml-names.
Extensible Markup Language (XML) 1.1
Extensible Markup Language (XML) 1.1 , Eve Maler, John Cowan, Jean Paoli, et. al. , Editors. World Wide Web Consortium, 04 Feb 2004. This version is http://www.w3.org/TR/2004/REC-xml11-20040204/. The latest version is available at http://www.w3.org/TR/xml11/.
Namespaces in XML 1.1
Namespaces in XML 1.1 , Andrew Layman, Dave Hollander, Richard Tobin, and Tim Bray, Editors. World Wide Web Consortium, 04 Feb 2004. This version is http://www.w3.org/TR/2004/REC-xml-names11-20040204. The latest version is available at http://www.w3.org/TR/xml-names11/.
Document Object Model (DOM) Level 3 Core Specification
Document Object Model (DOM) Level 3 Core Specification , Jonathan Robie, Steve Byrne, Philippe Le Hégaret, et. al. , Editors. World Wide Web Consortium, 07 Apr 2004. This version is http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407. The latest version is available at http://www.w3.org/TR/DOM-Level-3-Core/.
Document Object Model (DOM) Level 3 Events Specification
Document Object Model (DOM) Level 3 Events Specification , Björn Höhrmann, Tom Pixley, and Philippe Le Hégaret, Editors. World Wide Web Consortium, 13 Apr 2006. This version is http://www.w3.org/TR/2006/WD-DOM-Level-3-Events-20060413. The latest version is available at http://www.w3.org/TR/DOM-Level-3-Events/.
Document Object Model (DOM) Level 2 HTML Specification
Document Object Model (DOM) Level 2 HTML Specification , Johnny Stenback, Philippe Le Hégaret, and Arnaud Le Hors, Editors. World Wide Web Consortium, 09 Jan 2003. This version is http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030107. The latest version is available at http://www.w3.org/TR/DOM-Level-2-HTML/.
Cascading Style Sheets, level 2 revision 1 CSS 2.1 Specification
Cascading Style Sheets, level 2 revision 1 CSS 2.1 Specification , Håkon Wium Lie, Tantek Çelik, Bert Bos, and Ian Hickson, Editors. World Wide Web Consortium, 11 Apr 2006. This version is http://www.w3.org/TR/2006/WD-CSS21-20060411. The latest version is available at http://www.w3.org/TR/CSS21.
CSS Mobile Profile 2.0 Specification
CSS Mobile Profile 2.0 Specification , Robin Berjon, Editor.
Editorial note: JQ 15 June 2006
This document is not public at this time; the actual version number is subject to change.
Media Queries
Media Queries , Håkon Wium Lie, Tantek Çelik, and Daniel Glazman, Editors. World Wide Web Consortium, 08 Jul 2002. This version is http://www.w3.org/TR/2002/CR-css3-mediaqueries-20020708. The latest version is available at http://www.w3.org/TR/css3-mediaqueries/.
HTML 4.01 Specification
HTML 4.01 Specification , David Raggett, Arnaud Le Hors, and Ian Jacobs, Editors. World Wide Web Consortium, 24 Dec 1999. This version is http://www.w3.org/TR/1999/REC-html401-19991224. The latest version is available at http://www.w3.org/TR/html401.
XHTML™ Basic 1.1
XHTML™ Basic 1.1 , Shane McCarron, Mark Baker, Masayasu Ishikawa, Shinichi Matsui, Peter Stark, Ted Wugofski, Toshihiko Yamakami, Editors. World Wide Web Consortium, 5 Jul 2006. This version is http://www.w3.org/TR/2006/WD-xhtml-basic-20060705. The latest version is available at http://www.w3.org/TR/xhtml-basic/.
WebCGM 1.0 Second Release
WebCGM 1.0 Second Release , Lofton Henderson, Roy Platon, Dieter Weidenbrueck, et. al. , Editors. World Wide Web Consortium, 17 Dec 2001. This version is http://www.w3.org/TR/2001/REC-WebCGM-20011217/. The latest version is available at http://www.w3.org/TR/REC-WebCGM.
Mathematical Markup Language (MathML) Version 2.0 (Second Edition)
Mathematical Markup Language (MathML) Version 2.0 (Second Edition) , David Carlisle, Patrick Ion, Robert Miner, and Nico Poppelier, Editors. World Wide Web Consortium, 21 Oct 2003. This version is http://www.w3.org/TR/2003/REC-MathML2-20031021/. The latest version is available at http://www.w3.org/TR/MathML2/.
Portable Network Graphics (PNG) Specification (Second Edition)
Portable Network Graphics (PNG) Specification (Second Edition) , David Duce, Editor. World Wide Web Consortium, 10 Nov 2003. This version is http://www.w3.org/TR/2003/REC-PNG-20031110. The latest version is available at http://www.w3.org/TR/PNG.
XML Events
XML Events , T. V. Raman, Steven Pemberton, and Shane McCarron, Editors. World Wide Web Consortium, 14 Oct 2003. This version is http://www.w3.org/TR/2003/REC-xml-events-20031014. The latest version is available at http://www.w3.org/TR/xml-events.
Voice Extensible Markup Language (VoiceXML) Version 2.0
Voice Extensible Markup Language (VoiceXML) Version 2.0 , Jim Ferrans, Bruce Lucas, Ken Rehor, et. al. , Editors. World Wide Web Consortium, 16 Mar 2004. This version is http://www.w3.org/TR/2004/REC-voicexml20-20040316/. The latest version is available at http://www.w3.org/TR/voicexml20.
Architecture of the World Wide Web, Volume One
Architecture of the World Wide Web, Volume One , Norman Walsh and Ian Jacobs, Editors. World Wide Web Consortium, 15 Dec 2004. This version is http://www.w3.org/TR/2004/REC-webarch-20041215/. The latest version is available at http://www.w3.org/TR/webarch/.
Synchronized Multimedia Integration Language (SMIL 2.1)
Synchronized Multimedia Integration Language (SMIL 2.1) , Dick Bulterman, Guido Grassel, Jack Jansen, Antti Koivisto, Nabil Layaïda, Thierry Michel, Sjoerd Mullender, and Daniel Zucker, Editors. World Wide Web Consortium, 13 Dec 2005. This version is http://www.w3.org/TR/2005/REC-SMIL2-20051213/. The latest version is available at http://www.w3.org/TR/SMIL2/.
Scalable Vector Graphics (SVG) Tiny 1.2 Specification
Scalable Vector Graphics (SVG) Tiny 1.2 Specification , Ola Andersson, Robin Berfon, Erik Dahlström, Andrew Emmons, Jon Ferraiolo, Vincent Hardy, Scott Hayman, Dean Jackson, Chris Lilley, Andreas Neumann, Craig Northway, Antoine Quint, Nandini Ramani, Doug Schepers, and Andrew Shellshear, Editors. World Wide Web Consortium, 10 Aug 2006. This version is http://www.w3.org/TR/2006/CR-SVGMobile12-20060810/. The latest version is available at http://www.w3.org/TR/SVGMobile12/.
Compound Document by Reference Use Cases and Requirements Version 1.0
Compound Document by Reference Use Cases and Requirements Version 1.0 , Daniel Appelquist, Timur Mehrvarz, and Antoine Quint, Editors. World Wide Web Consortium, 19 Dec 2005. This version is http://www.w3.org/TR/2005/NOTE-CDRReqs-20051219/. The latest version is available at http://www.w3.org/TR/CDRReqs/.
Compound Document by Reference Framework 1.0
Compound Document by Reference Framework 1.0 , Timur Mehrvarz, Daniel Appelquist, Lasse Pajunen, and Julien Quint, Editors. World Wide Web Consortium, 11 Aug 2006. This version is http://www.w3.org/TR/2006/WD-CDR-20060811/. The latest version is available at http://www.w3.org/TR/CDR/.
WICD Core 1.0
WICD Core 1.0 , Timur Mehrvarz, Daniel Appelquist, Lasse Pajunen, and Julien Quint, Editors. World Wide Web Consortium, 11 Aug 2006. This version is http://www.w3.org/TR/2006/WD-WICD-20060811/. The latest version is available at http://www.w3.org/TR/WICD/.
WICD Full 1.0
WICD Full 1.0 , Timur Mehrvarz, Daniel Appelquist, Lasse Pajunen, and Julien Quint, Editors. World Wide Web Consortium, 11 Aug 2006. This version is http://www.w3.org/TR/2006/WD-WICDFull-20060811/. The latest version is available at http://www.w3.org/TR/WICDFull/.
Web Content Accessibility Guidelines 1.0
Web Content Accessibility Guidelines 1.0 , Wendy Chisholm, Gregg Vanderheiden, and Ian Jacobs, Editors. World Wide Web Consortium, 05 May 1999. This version is http://www.w3.org/TR/1999/WAI-WEBCONTENT-19990505/. The latest version is available at http://www.w3.org/TR/WAI-WEBCONTENT.
Authoring Tool Accessibility Guidelines 1.0
Authoring Tool Accessibility Guidelines 1.0 , Ian Jacobs, Jutta Treviranus, Charles McCathieNevile, and Jan Richards, Editors. World Wide Web Consortium, 03 Feb 2000. This version is http://www.w3.org/TR/2000/REC-ATAG10-20000203. The latest version is available at http://www.w3.org/TR/ATAG10.
User Agent Accessibility Guidelines 1.0
User Agent Accessibility Guidelines 1.0 , Jon Gunderson, Eric Hansen, and Ian Jacobs, Editors. World Wide Web Consortium, 17 Dec 2002. This version is http://www.w3.org/TR/2002/REC-UAAG10-20021217/. The latest version is available at http://www.w3.org/TR/UAAG10/.
Mobile Web Best Practices 1.0
Mobile Web Best Practices 1.0 , Charles McCathieNevile and Jo Rabin, Editors. World Wide Web Consortium, 27 Jun 2006. This version is http://www.w3.org/TR/2006/CR-mobile-bp-20060627/. The latest version is available at http://www.w3.org/TR/mobile-bp/.
XHTMLMP+SVGT
XHTMLMP+SVGT Combined Markup for Mobile Browsing - Recommended Practice. Vodafone Group.
ECMAScript Language Specification 3rd Edition
ECMAScript Language Specification 3rd Edition Compact Profile (ES-CP) , European Computer Manufacturers Association, December 1999. Also available as ISO/IEC 16262: 199
Scripting Media Types
Scripting Media Types , IETF RFC 4329, April 2006
OMG IDL Syntax and Semantics
OMG IDL Syntax and Semantics , defined in The Common Object Request Broker: Architecture and Specification, version 2, Object Management Group.

D Acknowledgements (Non-Normative)

The editors would like to thank the contributors:

E Changes Log (Non-Normative)

2006-08-11
  • Upgraded XHTML Basic support to 1.1. (MI)
  • Updated references. (MI)
2006-06-15
  • Changed CDF acronym to CDRF throughout the spec. (JQ)
  • Added missing editors for SVGT1.2 spec. (JQ)
  • Re-upgraded CSS Mobile support to 2.0 [CSS Mobile Profile 2.0 Specification]. (JQ)
  • Added Julien as editor. (JQ)
2006-03-30
  • Downgraded requirement to support XHTML Basic 1.0 and CSS Mobile 1.0. (TM)
  • Outremarked the "Authoring Guidelines". (TM)
2006-03-18
  • Moved 4.2.1 "Keyboard Event Naming" to WICD Core (TM)".
  • Moved 4.3 "Intended Layout" to WICD Core (TM)".
2006-03-07
  • Fixed typo "style sheet" in 4.3 "Intended Layout" (TM)".
2006-02-21
2006-02-07
  • Marked nine testable assertions according to Scott's list.
2006-01-29