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

From: Nikolai Grigoriev (grig@renderx.com)
Date: Tue Jan 20 2004 - 01:15:31 PST

  • Next message: Alexander Peshkov: "Re: [xep-support] XEPTask: BASE for resolving contained URLs?"

    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@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



    This archive was generated by hypermail 2.1.5 : Tue Jan 20 2004 - 01:21:10 PST