Re: [xep-support] Linking to image

From: Alexander Peshkov <peshkov@renderx.com>
Date: Fri Oct 29 2004 - 07:55:16 PDT

Hello Anders,

XEP recognize only a limited set of image MIME-types approved by IANA.
The 'image/pjpeg' is not among them (you can check it here: http://www.iana.org/assignments/media-types/image/)
However this MIME type is rather wide-used and refers to progressive
JPEG which are supported be XEP. Thus this restriction is seems to be
overly restrictive. We will consider including 'image/pgpeg' as a
synonym for 'image/jpeg' MIME type in the future versions of XEP.
In the meantime you can workaround this problem by forcing server to
return standard 'image/jpeg' MIME type for your image.

Best regards,
Alexander Peshkov mailto:peshkov@renderx.com
RenderX

APOS> I get the following error when I use the formatter to insert an image:

APOS> Exception:Failed to create image C:\Program
APOS> Files\RenderX\XEP.NET 3.8\tmp\cache0\0.tmp of type image/pjpeg; MIME type 'image/pjpeg'
APOS> is not registered.

APOS> The .Fo document looks like this:

APOS> <fo:external-graphic space-before.optimum="4pt" space-after.optimum="4pt"
APOS> src="url('http://webservice.oxygenekatalog.dk/getpic.aspx?ImgSize=3&amp;ImgID=6817')"/>

APOS> Go ahead and try the

APOS> http://webservice.oxygenekatalog.dk/getpic.aspx?ImgSize=3&ImgID=6817

APOS> link – it works fine in my browser. Antennahouse XSL-Formatter
APOS> does not generate this problem – how can I work around with the XEP?

APOS> Best regards

APOS> Anders Pedersen
APOS> Oxygen Software ApS
APOS> Forskerparken 10
APOS> DK-5230 Odense M
APOS> +45 63 15 70 48
APOS> http://www.oxygensoftware.dk

-------------------
(*) 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
Received on Fri Oct 29 08:39:25 2004

This archive was generated by hypermail 2.1.8 : Fri Oct 29 2004 - 08:39:25 PDT