Copyright © 2008 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark and document use rules apply.
This document describes the Device Description Repository Core Vocabulary for Content Adaptation in the Mobile Web, described in the charter of the Device Descriptions Working Group, as well as the process by which the Vocabulary was defined.
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/.
Publication as a Working Group Note 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.
This document is a Working Group Note. It has been developed by the Mobile Web Initiative Device Description Working Group, as part of the W3C Mobile Web Initiative. Please send comments on this document to the Working Group's public email list [email protected], a publicly archived mailing list .
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.
1 Introduction
2 Process
2.1 Questionnaire
2.2 Assessment
3 Vocabulary, Property and Aspect
3.1 Aspects of the Core Vocabulary
3.2 Property Names and Property Value Types
4 Properties
4.1 Vendor
4.2 Model
4.3 Version
4.4 Display Width
4.5 Display Height
4.6 Display Color Depth
4.7 Input Devices
4.8 Markup Support
4.9 Stylesheet Support
4.10 Image Format Support
4.11 Input Mode Support
4.12 Cookie Support
4.13 Script Support
This document identifies properties that are considered essential for adaptation of content in the Mobile Web. Its intended use is to define a baseline Vocabulary for Device Description Repository (DDR) implementations.
The Vocabulary defined in this document is not intended to represent an exhaustive set of properties for content adaptation. DDR Implementations that require additional properties are free to make use of additional vocabularies. The process of creating a new Vocabulary can be modeled on the process described in this document. Implementors are encouraged to make use of the UWA ontology [UWA-Ontology] to suggest extensions to it.
Implementers of DDR solutions that are intended to support content adaptation for Mobile Web-enabled devices should, at a minimum, support the DDR Core Vocabulary as defined in this document.
This document is maintained by the MWI DDWG and arrangements will be made to assign a maintainer after the closure of the DDWG.
The DDWG established a lightweight process for accepting and evaluating contributions to the DDR Core Vocabulary, comprising the following:
A public questionnaire was launched to request proposals for inclusion in the Core Vocabulary, with the following data being obtained for each proposal:
Description: A brief description of the proposed Property.
Type: The data type associated with the Property.
Justification: An argument put forward to justify the Property being part of the Core Vocabulary. This should explain why the proposed Property is essential for basic adaptation of typical Web content, in the context of Mobile Web-enabled devices.
Measurement: A explanation of how this Property is evaluated, suggesting where appropriate the units of measurement.
Proposals submitted via the questionnaire were assessed to determine if they were appropriate for the Core Vocabulary. The following guidance was used to determine the main candidates:
The Property must be considered essential to achieve adaptation of Web content for mobile devices.
The Property must be objective, unambiguous and any measurements must be reliably repeatable.
The Property should not be derivable from other essential Properties.
There should be a reasonable expectation of acquiring values for the Property (e.g. from manufacturers).
The group voted on each proposed Property. Those Properties that were rejected were further assessed for the possibility of being useful in other domains, and where identified, external groups were informed of these Properties so that they may consider developing their own vocabularies.
The DDWG's work on modelling the Delivery Context has highlighted the desirability of identifying components of actual Delivery Contexts and classifying their types.
Components of the Delivery Context are, typically, a device, a user agent, a network connection, and possibly one or more proxies. The notion of "Aspect" captures the type of such components, and allows Properties of vocabularies to refer to specific Aspects of the Delivery Context, or to the Delivery Context as a whole.
The terms "Vocabulary", "Property" and "Aspect" are defined in [DDR-Simple-API], under Section 3. Vocabularies.
This Vocabulary defines two Aspects, webBrowser
and device
,
which serve to disambiguate the usage of Properties such as Vendor
.
Other Vocabularies may define other values for Aspects.
An apparatus through which a user can perceive and interact with the Web (see Device in [DIGLOSS])
A User Agent for Web pages (see User Agent in [DIGLOSS])
Refer to [DDR-Simple-API] Section 3. Vocabularies for allowable identifier syntax, for allowable value data types and how to represent enumerations in vocabularies that are to be used with the DDR Simple API.
The Property identifiers in this Vocabulary are associated with the namespace
http://www.w3.org/2008/01/ddr-core-vocabulary
. This
namespace will change if the Core Vocabulary is updated.
The enumerations described in this document contain initial values that should be supported by all implementations of the Core Vocabulary and which may be supplemented by further DDR specific values.
This is a list of the Properties in the DDR Core Vocabulary.
The Default Aspect for the Properties of the Core Vocabulary is device
where a Property applies to more than one Aspect.
The total number of addressable pixels in the horizontal direction of a rectangular display when held in its default orientation. The Property does not apply to displays that are not rectangular or square.
The pixels are counted from the top left corner to the top right corner, and the result expressed as an integer.
Needed to fit/crop images, text or other width-adaptable content to the screen. Especially useful for LTR and RTL content, where vertical scrolling would be the norm but horizontal scrolling is not desirable. Identified as an important Property by the DDWG in its Top N finding [TopN]. Present in UAProf [UAPROF]. Present (and used) in existing adaptation solutions.
The total number of addressable pixels in the vertical direction of a rectangular display when held in its default orientation. The Property does not apply to displays that are not rectangular or square.
The pixels are counted from the top left corner to the bottom left corner, and the result expressed as an integer.
Needed to fit/crop images, text or other width-adaptable content to the screen. Especially useful for LTR and RTL content, where vertical scrolling would be the norm but horizontal scrolling is not desirable. Identified as an important Property by the DDWG in its Top N finding. Present in UAProf. Present (and used) in existing adaptation solutions.
This Property described which input devices are available to the user. Normally most mobile devices such as mobile phones will have a keypad, it is common, though, to have a rocker, a stylus and a touch screen in PDAs, tablets and so on.
Enumeration of values as follows (or other values supported by individual DDRs:
Value | Description | Reference |
---|---|---|
keypad | classic 12 button mobile phone keypad | |
touchScreen | touch screen that allows pointing to an area on the screen | |
stylus | a stylus normally works in combination with a touch screen, the stylus provides higher precision | |
trackball | a little sphere that acts like a trackball mouse | |
clickWheel | a wheel that is normally placed either below the screen or on the side of the device that lets the user quickly move up and down and click on link or items on the screen |
Enumeration with values chosen from the following (or other values supported by individual DDRs):
Value | Description | Reference |
---|---|---|
xhtmlBasic10 | XHTML Basic 1.0 | [XHTMLBasic10] |
xhtmlBasic11 | XHTML Basic 1.1 | [XHTMLBasic11] |
xhtmlMP10 | XHTML-MP 1.0 | [XHTMLMP] |
Set of image formats a client supports as part of a Web page (as distinct from formats that may be downloaded).
The preferred ways of supporting specific formats for input type="text" fields. This can be done with the 'format' attribute, as a WCSS property or using the 'inputmode' attribute.
Enumeration with values chosen from the following (or other values supported by individual DDRs):
Value | Description | Reference |
---|---|---|
useFormatAttribute | Use the format attribute of the input
element - an extension to XHTML-MP. | [OpenWave-Format-Attribute] |
useWCSS | Use the WCSS -wap-input-format property. | [WCSS] |
useInputmodeAttribute | Use the inputmode attribute. | [XHTMLBasic11] |
Enumeration with values chosen from the following list (or other values supported by individual DDRs):
Value | Description | Reference |
---|---|---|
ecmascript-MP | Supports ECMAScript Mobile Profile | [ECMAScript-MP] |