[xep-support] Re: x-png not registered message

Michael Sulyaev msulyaev at renderx.com
Fri Apr 29 12:50:17 PDT 2011


On 04/29/2011 08:49 PM, Martin, Brendan A. (Contractor) wrote:
> [error] com.renderx.graphics.UnregisteredMIMETypeException: MIME type
> 'image/x-png' is not registered
>
> I can send more detail, but it seems like it’s not a valid type to
> RenderX or something.

Hello Brendan,

I believe "image/x-png" is non-standard[1], so XEP is correct that it 
does not support it.

I suppose this type value comes to XEP from an http server on 'maxp' 
reply, and not from the source FO. If this is the case, you can either 
fix the server to make it say "image/png", or set

    content-type="content-type:image/png"

in your FO for this image. Barely there is anything to fix in XEP here.

Regards,
Michael Sulyaev
RenderX

[1] http://tools.ietf.org/html/rfc2045#section-6.3

P.S. You'd need to accept the invitation to subscribe to this list if 
you want to post questions here and receive replies.


More information about the Xep-support mailing list