struct-cond-204-t

FAIL

raster image of struct-cond-204-t

Required Formats Attribute

A series of switches are used to determine which Internet Media types ('MIME types') are supported, using the 'requiredFormats' attribute, displaying a 'yes' or 'no' as appropriate. The test is passed if there is text in the second row of each column, and that text is only green (in the top table) or blueviolet (in the bottom table); no red text is displayed.

The SVG Tiny 1.2 specification mandates certain formats, so these must be supported: image/jpeg, image/png, image/svg+xml. It is an error not to support them, therefore 'yes' is green and 'no' is red.

This test also checks for support of Internet Media types which are assumed to not exist and are unlikely to ever be registered: garbage/garbage. Therefore, 'yes' is red and 'no' is green.

Lastly, most media types are optional. For example, image/tiff may be supported but support is not mandated by the SVG Tiny 1.2 specification. The second table examines these optional formats. Both 'yes' and 'no' are displayed in blueviolet. Whether the particular Internet Media type is supported or not does not affect whether the test is passed or failed, but does provide useful information about the optional capabilities of a particular implementation.