Copyright © 2006 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark and document use rules apply.
This document specifies WICD Full 1.0, a Compound Document profile based on XHTML, CSS and SVG, targeted at desktop agents.
Compound Document is the W3C term for a document that combines multiple formats.
WICD stands for Web Integration Compound 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 Full 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.
1 Introduction
2 Compound Document by Reference
Framework Compliancy
3 Document Formats
3.1 XHTML
1.1
3.1.1 XHTML MIME Type
3.2 ECMAScript 3rd Edition
3.2.1 ECMAScript MIME Type
3.3 CSS
2.1
3.4 SVG Tiny
1.2
3.5 Bitmap
formats
3.6 Audio
formats
3.7 Video
formats
4 User Agent Requirements
4.1 Identification
4.2 DOM Level
3
A Definitions
B Conformance
C References
D Authoring Guidelines
(Non-Normative)
E Acknowledgements
(Non-Normative)
F Changes Log (Non-Normative)
(This section is informative)
The WICD Full 1.0 profile is designed to enable rich multimedia content on desktop and high capability handheld agents. These are agents with:
[assert-implement1: Conformant WICD Full 1.0 user agents must implement the
including the extended DOM API's and additional Events. ][assert-implement2: Conformant WICD Full 1.0 user agents must implement
][assert-implement3: WICD Full 1.0 is a superset of WICD Mobile 1.0. ]
The image below shows the relation between WICD and CDRF documents.
[assert-root1: Conformant WICD Full 1.0 user agents must support XHTML 1.1 - Module-based XHTML as root document. ]
[assert-scripting1: Conformant WICD Full 1.0 user agents must support ECMAScript 3rd Edition as a scripting language. ]
[assert-css: Conformant WICD Full 1.0 user agents must support Cascading Style Sheets, level 2 revision 1 [CSS21] specification. ]
[assert-svg: Conformant WICD Full 1.0 user agents must support Scalable Vector Graphics Tiny 1.2 [SVGT12] specification. ]
[assert-bitmap1: The conformant user agents must support JPEG/JFIF [JPEG][JFIF] and PNG [PNG] raster image formats. Other image formats may be supported in addition. ]
[assert-bitmap2: For JPEG, the subset defined in [SVGT12] SHALL be supported. ]
[assert-bitmap3: 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. ]
Audio may be incorporated into WICD Full 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 Full 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 Full 1.0 user agents should profile the option of switching off audio. [UAAG].
Some audio formats may be 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.
Video may be incorporated into WICD Full 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 Full 1.0 user agents must provide the option of pausing, rewinding, or stopping video.
Some video formats may be 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.
[assert-identification: When declaring support for WICD Full 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"
[assert-dom1: Conformant WICD Full 1.0 user agents must support Document Object Model (DOM) Level 3 Core Specification. ]
[assert-dom2: Conformant WICD Full 1.0 user agents must support Document Object Model (DOM) Level 3 Events Specification. ]
The terms used in this document are specified in Compound Document by Reference Framework 1.0.
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 Full 1.0 User Agent Conformance:
Conformant WICD Full 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.
Conformant WICD Full 1.0 user agents must implement WICD Core 1.0.
WICD Full 1.0 is a superset of WICD Mobile 1.0.
Conformant WICD Full 1.0 user agents must support XHTML 1.1 - Module-based XHTML as root document.
Conformant WICD Full 1.0 user agents must support ECMAScript 3rd Edition as a scripting language.
Conformant WICD Full 1.0 user agents must support Cascading Style Sheets, level 2 revision 1 [CSS21] specification.
Conformant WICD Full 1.0 user agents must support Scalable Vector Graphics Tiny 1.2 [SVGT12] specification.
The conformant user agent 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 [SVGT12] 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.
When declaring support for WICD Full 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".
Conformant WICD Full 1.0 user agents must support Document Object Model (DOM) Level 3 Core Specification.
Conformant WICD Full 1.0 user agents must support Document Object Model (DOM) Level 3 Events Specification.
WICD Full 1.0 Document Conformance:
XHTML documents authored for the WICD Full 1.0 profile should be associated with the "application/xhtml+xml" mime type.
ECMAScript documents authored for the WICD Full 1.0 profile should be associated with the "application/ecmascript" mime type.
WICD Full 1.0 authoring is similar than authoring any other XHTML, CSS, and SVG based content except that conformant user agents are guaranteed to show this content properly together. Therefore, authors are encouraged to take advantages of each individual languages while designing content.
To enable largest possible audience for the content, authors should make content scalable and test it with different sizes of windows and screens. All WICD Full 1.0 user agents have same visualization capabilities, but the physical screen sizes (and their resolutions) may differ a lot.
The editors would like to thank the contributors: