Why are my images referred to by keydefs imported as resources?

You can set the format attribute to import the images correctly.

Symptom

Images imported as part of a keydef map are imported as resources instead of as images. For example:
<map>
<keydef href="image.png" keys="TestImage"/>
</map>

Problem

The IXIASOFT CCMS recognizes an image import based on the <image> element. When an image is referenced by a <keydef> element, the import does not know that it is an image so it imports it as a resource.

Solution

To import images referenced by a <keydef> element, set the format attribute to the value "image". For example:
<keydef href="image.png" keys="TestImage" format="image"/>