-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: ODF 1.2
-
Fix Version/s: ODF 1.3
-
Component/s: Graphics, Part 3 (Schema) [1.2: 1]
-
Labels:None
-
Proposal:
ODF allows to give several representation of the same content, so that a consumer can decide, which fits best to its capabilities. You can give an image as svg-graphic and in addition as png-graphic, for example. But currently there is no easy way to detect the type of the image. Consumers have to read all content and inspect it. Such is not even possible, if you use an XSLT to transform a flat ODF file to e.g. XHTML. Therefore I suggest to add the draw:mime-type attribute to the <draw:image> element.
The MIME type is a standardized identifier. Therefore it is preferable over the implementation-dependent filter name.
This attribute would be useful for <draw:object-ole> and <draw:object> as well, but that is not in this issue. However, I have separated the attribute in the schema, so that such addition is easily possible.