This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6820 - moki: the imageInfo element should appear for not supported objects as well
Summary: moki: the imageInfo element should appear for not supported objects as well
Status: NEW
Alias: None
Product: mobileOK Basic checker
Classification: Unclassified
Component: Java Library (show other bugs)
Version: unspecified
Hardware: Other Windows 3.1
: P2 enhancement
Target Milestone: ---
Assignee: Dominique Hazael-Massieux
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 6821
  Show dependency treegraph
 
Reported: 2009-04-16 12:13 UTC by fd
Modified: 2012-12-04 00:53 UTC (History)
0 users

See Also:


Attachments

Description fd 2009-04-16 12:13:05 UTC
Description
-----
Object descriptions in a moki representation contain an imageInfo element with information about the decoded content of the underlying image.

This element does not appear when the image type is not supported.

This is inconsistent with images descriptions that still include the imageInfo element when the image type is not supported.

At the code level, the Resource class should stay agnostic (at least as agnostic as possible) of the different implementations of decoded content that may be represented. This exception-to-the-rule requires the Resource class to know about objects and not supported images.


Solution
-----
For consistency reasons, authorize imageInfo elements in objects representations even for images that are not supported.