[xep-support] Embedded SVG Error

From: Betty Harvey <harvey@eccnet.com>
Date: Thu May 22 2008 - 14:25:48 PDT

Hi All!

I have the following inline SVG. The SVG was exported from InDesign, then
manipulated in Inkscape. The <image> originally looked like this:

<image xlink:href="data:;base64,iVBORw

Originally was getting a MIMEtype error.

I found a posting that said that Adobe was export SVG wrong so I changed
it to:

<image xlink:href="data:image/jpeg;base64,iVBORw

The error that I am getting now says:

Premature end of file or corrupt data in JPEG image [instream]

I have run the file both ways through Antenna House and it gets rendered
perfectly.

There are also a few other SVG's that I 'hand-cranked' that works in
Antenna House but not in RenderX.

Any insight would be appreciated.

I have attached the code below eith the <image> truncated.

<fo:instream-foreign-object>
    <svg xmlns:xlink="http://www.w3.org/1999/xlink"
        xmlns:svg="http://www.w3.org/2000/svg"
        xmlns="http://www.w3.org/2000/svg" version="1.0" width="270"
        height="45" id="svg11927">
        <defs id="defs11929">
            <clipPath id="clp4">
                <path
                    d="M 803.5,19 L 803.5,67 L 1032.59,67 L 1032.59,19 L
803.5,19 z "
                    style="stroke:#000000" id="path2190"/>
            </clipPath>
            <clipPath id="clp3">
                <path
                    d="M 803.502,18.999 L 803.502,66.996 L 1032.498,66.996
L 1032.498,18.999 L 803.502,18.999"
                    style="stroke:#000000" id="path2185"/>
            </clipPath>
        </defs>
        <g id="layer1">
            <g transform="translate(-778.043,-17.999998)"
                style="fill:none" clip-path="url(#clp3)" id="g2187">
                <clipPath id="clipPath11850">
                    <path
                        d="M 803.5,19 L 803.5,67 L 1032.59,67 L 1032.59,19
L 803.5,19 z "
                        style="stroke:#000000" id="path11852"/>
                </clipPath>
                <g clip-path="url(#clp4)" id="g2192">
                    <image
                        xlink:href="data:image/jpeg;base64,iVBORw0<!--Stuff
Deleted-->5CYII="
                        width="234" height="48"
                        transform="matrix(0.979,0,0,1,803.5,19)"
                        id="img1"/>
                </g>
            </g>
        </g>
    </svg>
</fo:instream-foreign-object>

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey | Phone: 410-787-9200 FAX: 9830
Electronic Commerce Connection, Inc. |
harvey@eccnet.com | Washington,DC SGML/XML Users Grp
URL: http://www.eccnet.com | http://www.eccnet.com/xmlug/
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
Help Mac fight MLD (http://www.macsteam.org)
Mark your calendar for October 28th (http://www.macsteam.org/BullROast.aspx)

-------------------
(*) 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 Thu May 22 15:44:51 2008

This archive was generated by hypermail 2.1.8 : Thu May 22 2008 - 15:44:56 PDT