// also check that we have a mimetype set, as don't know what transcoder
// to create without it!
EmbedMIMEType mimeType = (EmbedMIMEType)getAttribute(EmbedAttribute.MIME_TYPE);
if (mimeType == null)
{
problems.add(new EmbedUnrecogniedFileTypeProblem(location, source));
return false;
}
Workspace workspace = project.getWorkspace();
switch (mimeType)