You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devicemap.apache.org by "Werner Keil (JIRA)" <ji...@apache.org> on 2014/07/29 23:17:39 UTC

[jira] [Commented] (DMAP-46) Pixel density

    [ https://issues.apache.org/jira/browse/DMAP-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14078373#comment-14078373 ] 

Werner Keil commented on DMAP-46:
---------------------------------

To do this, we'll have to extend the vocabulary. 
The core vocabulary is defined by W3C
<!-- DDR Core Vocabulary description -->
    <VocabularyDescription target="http://www.w3.org/2008/01/ddr-core-vocabulary">
(coreVocabulary.xml)

OpenDDR extended this
    <!-- ODDR Vocabulary description -->
    <VocabularyDescription target="http://www.openddr.org/oddr-vocabulary">
(oddrVocabulary.xml)

In theory (see the "vocabulary" package in the SimpleDDR module) one could add a whole new vocabulary like "dmapVocabulary" but we may want to add a new property to oddrVocabulary.xml for now, in a new section
<!-- DeviceMap property -->
like 
<!-- ODDR property -->	

See an example like
<Property name="displayWidth" datatype="xs:nonNegativeInteger" aspects="device, webBrowser" defaultAspect="device"/>

Could you please specify the suggested Property here in JIRA so it can be applied to the XML file(s)?
Including aspects, most likely that'll follow the default for other custom properties.

I can't see where the classifier reads any of the existing vocabulary files, but if it does, such new property will be instantly available. If it simply reads the deviceData file, just like a "schema" the vocabulary must still be defined, then selected device data may use the new property.

> Pixel density
> -------------
>
>                 Key: DMAP-46
>                 URL: https://issues.apache.org/jira/browse/DMAP-46
>             Project: DeviceMap
>          Issue Type: Improvement
>          Components: Device data
>            Reporter: Reza Naghibi
>
> Add pixel density attribute to the device data



--
This message was sent by Atlassian JIRA
(v6.2#6252)