Remove the content-type attribute (It's not properly implemented AFAIK). FOP should be able to correctly identify that your file is JPEG.
On 10.02.2003 14:43:26 Jiri_Nejedly wrote: > Some function (which I cannot modify) in my appliaction generates picture > files in jpg format, but the files don't have .jpg extension. Am I able > somehow to render them in fop ? > > I tried this: > > <fo:external-graphic width="2cm" height="2.5cm" content-type="image/jpeg"> > <xsl:attribute name="src"><xsl:value-of select="Photo"/></xsl:attribute> > </fo:external-graphic> > > , but it reports this exception : > > Error in content-type property value 'image/jpeg': > org.apache.fop.fo.expr.PropertyException: illegal character Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]