[xep-support] Error with SVG background image using FTP

From: Sartorelli, Kevin <Kevin.Sartorelli@openpolytechnic.ac.nz>
Date: Tue Jun 17 2008 - 17:22:05 PDT

In one of our files we have:
<fo:table-cell
background-image="url(ftp://ftp.xxxx.xx.xx/pub/xml/xep/icons/newcircle-4
mm-empty.svg)" background-repeat="no-repeat" />

This is giving an error of:
     [error] Failed to create image
ftp://ftp.xxxx.xx.xx/pub/xml/xep/icons/newcircle-4mm-empty.svg of type
application/xml
     [error] com.renderx.graphics.UnregisteredMIMETypeException: MIME
type 'application/xml' is not registered

My understanding is that FTP doesn't 'do' MIME types (only ASCII or
BINARY transfers). We are using proFTPd on the FTP server.

How do we tell XEP that this file should be 'image/svg+xml' rather than
'application/xml'?

Thanks in advance
Kevin

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@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/terms-of-service.html
Received on Tue Jun 17 17:51:15 2008

This archive was generated by hypermail 2.1.8 : Tue Jun 17 2008 - 17:51:20 PDT