[xep-support] SVG error: MIME type ASCII-US?

Nikolai Grigoriev grig at renderx.com
Tue Jan 20 01:15:31 PST 2004


Bob,

> I'm trying to use an SVG file generated by 
> "Adobe Illustrator 10.0, SVG Export Plug-In . SVG 
> Version: 3.0.0 Build 77".
>  ... skip ...
> xlink:href="data:;base64,/9j/4AAQSkZJR...

According to RFC 2397 (http://www.ietf.org/rfc/rfc2397.txt),
a 'data:' URL with no explicit MIME type should behave as
if "text/plain;charset=US-ASCII" were specified. That's what 
you see. To fix, you should set the MIME type in the URL 
to its real value, something like this:

   xlink:href="data:image/jpeg;base64,/9j/4AAQSkZJR...

This is a seasoned bug in the Adobe SVG export, present since 
Illustrator 9.0. Adobe admitted it in August 2000:

http://lists.w3.org/Archives/Public/www-svg/2000Aug/0016.html

but  it looks like nothing changed since that.

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