[xep-support] XEP 3.2: Error in MIME type interpretation

Nikolai Grigoriev grig at renderx.com
Sat Feb 1 06:49:26 PST 2003


Hi Werner,

> When loading images with an external-graphic, the MIME type 
> interpretation fails if it includes parameters. This can occur, 
> for example, with an HTTP url for which the response contains 
> a Content-Type header with such a MIME type. The url
> http://www.w3.org/TR/rdf-primer/fig1dec16.png, for example, 
> has the MIME type "image/png; qs=0.7". XEP says this is not a 
> registered MIME type. Parameters should be ignored when checking this. 
> They are only additional information for processing purposes.

Yes, it is indeed an error in XEP. We will fix it in the next maintenance 
release. As a workaround, you can specify MIME type explicitly:

<fo:external-graphic src="http://www.w3.org/TR/rdf-primer/fig1dec16.png"
          content-type="content-type:image/png"/>

Thank you for the info.

Best regards,
Nikolai Grigoriev
RenderX


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list