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

Sartorelli, Kevin Kevin.Sartorelli at openpolytechnic.ac.nz
Tue Jun 17 17:22:05 PDT 2008


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 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/terms-of-service.html



More information about the Xep-support mailing list