(CC/PP)结构和词汇 1.0[18]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 ljp19820721 的 blog

evel client profile. </rdfs:comment> </ccpp:structure> <ccpp:structure rdf:about='&ns-ccpp;defaults'> <rdfs:label xml:lang="en">cc/pp default properties</rdfs:label> <rdfs:domain rdf:resource='&ns-ccpp;component'/> <rdfs:range rdf:resource='&ns-ccpp;component'/> <rdfs:comment xml:lang="en"> this property indicates a component that contains default properties for some other component. that is, any attributes that are not found in the subject resource but are present in the object resource may be incorporated from the object into the resulting cc/pp profile. </rdfs:comment> </ccpp:structure> <ccpp:structure rdf:about='&ns-ccpp;defaults'> <rdfs:label xml:lang="en">cc/pp default properties</rdfs:label> <rdfs:subpropertyof rdf:resource='&ns-ccpp;defaults'/> <rdfs:domain rdf:resource='&ns-ccpp;component'/> <rdfs:range rdf:resource='&ns-ccpp;component'/> <rdfs:comment xml:lang="en"> same as 'defaults'. defined as sub-property for backwards compatibility with uaprof use of this is deprecated: use 'defaults' instead. </rdfs:comment> </ccpp:structure> </rdf:rdf>

附录c:打印和显示cc/pp属性词汇表

本附录是可选的,为读者提供一些信息。

对那些需要用到这样的特征的cc/pp应用的设计者,我们推荐使用本词汇表,而非定义新的术语。本词汇表是部分基于ietf媒体特征注册(conneg)工作组所做的工作[rfc2534]

下面定义的客户属性名可能被用于识别与打印或显示可视化信息的客户设备相关的一些共同的特性,如文本或图表。他们是使用xml 命名空间局部部分描述的,并在在xml 命名空间标识符http://www.w3.org/2002/11/08-ccpp-client中有进一步限制。(这些属性可应用于客户的呈现能力,而非客户系统的具体内部组件或方面)

deviceidentifier:
(值数据类型:字符串) 一个用来标识客户设备或用户代理类型的uri。
type:
(值数据类型:字符串集) 一个客户可接受的并可表现的mime内容类型。理论上与http 'accept:'包头相似,但是只指明一个单一的mime内容类型,没有与内容类型参数联合。可以用一组内容类型字符串值来描述的多重接受的内容类型。当需要时,内容类型参数可以用另外的cc/pp属性表达。
schema:
(值数据类型:字符串集) 一个用来标识那识别客户可识别的schema的uri。这个schema可以是xml dtd [xml],xml schema [xmlschema-1],rdf schema [rdfschema] 或任何其他可由uri识别的适当文档结构。一个schema值对任何由type属性标识的可接受的文档类型进行改进,但是其意义不能依赖于type的值。代表性地来说,这将被用于指明文档类型为text/xmlapplication/xml的特殊xml dtds或schema。
charwidth:
(值数据类型:整数) 对于一个文本显示设备(type="text/*"),其字符显示宽度。对于差异比例字体显示,其显示单元数目。对于以东亚为代表的差异比例字体显示,一半宽度的显示单元数目(象形文字和其他全副字符占用两个显示单元)。对于同比例字符显示,n字数目表示的显示宽度(n字是排字的单位,相当于一个短破折号或字母'n'的宽度)。
charheight:
(值数据类型:整数) 对于文本显示设备(type="text/*"),可显示的文本行数(如以字符来衡量的显示高度)。
charset:
(值数据类型:字符串集,per [rfc2278]) 对于文本处理设备,可处理的字符编码(内容类型为"text/*"的每个mime 'charset'参数值)。注意:术语"charset" 是历史性的不当用词,并没有必要指出可以显示的字符清单,而只需要编码。虽然在某些情况下,编码可能暗指一个清单。
pix-x:
(值数据类型:整数) 对于图像显示设备(type="image/*"),其可显示的水平像素的个数。
pix-y:
(值数据类型:整数) 对于图像显示设备(type="image/*"),其可显示的垂直像素的个数。
color:
(值数据类型:字符串,per [rfc2534]) 对于文本和图像显示设备,指明其颜色能力(rfc 2534[rfc2534],可能的值为"binary","grey","limited","mapped"和"full")。注意:color属性只是对颜色能力的一个很粗糙的表示,对一系列简单的应用已经足够,可以通过额外的可以更细节地描述能力的属性来完善。

客户属性参数(ccpp:attribute的实体)

图 c-1:cc/pp客户词汇参数
ccpp-client:deviceidentifier domain=ccpp:component,   range=ccpp:string
ccpp-client:type             domain=ccpp:component,   range=rdf:bag
ccpp-client:schema           domain=ccpp:component,   range=ccpp:string
ccpp-client:charwidth        domain=ccpp:component,   range=ccpp:integer
ccpp-client:charheight       domain=ccpp:component,   range=ccpp:integer
ccpp-client:charset          domain=ccpp:component,   range=rdf:bag
ccpp-client:pix-x            domain=ccpp:component,   range=ccpp:integer
ccpp-client:pix-y            domain=ccpp:component,   range=ccpp:integer
ccpp-client:color            domain=ccpp:compon

本文关键:(CC/PP)结构和词汇 1.0
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top