Hi everybody, I am working under WSAD 5, using JDK 1.3.1, and FOP 0.20.3, and I get a ClassCastException when using the fo:external-graphic
The exception is about the class sun.net.www.http.KeepAliveStream, which is contained only in the rt.jar of my JDK, ie. it is not duplicated in other jars in my classpath. I don't have the problem under WebSphere 4.0.3, and I didn't have it under VisualAge 3.5, when I was using JDK 1.2 and FOP 0.20.3. Ie, I get the problem ONLY when I run FOP on my local test machine. Here is the trace: Error in XObject : Error while loading image http://localhost:8080/Prepar-Diagnostic/img/BRED.gif : class java.lang.ClassCastException - sun.net.www.http.KeepAliveStream Here is the XSL which I use: <xsl:template match="logos/logo"> <fo:external-graphic> <xsl:attribute name="height"> <xsl:value-of select="@hauteur"/> </xsl:attribute> <xsl:attribute name="width"> <xsl:value-of select="@largeur"/> </xsl:attribute> <xsl:attribute name="src"> http://localhost:8080/Prepar-Diagnostic/img/BRED.gif </xsl:attribute> </fo:external-graphic> </xsl:template> Does anybody have an idea ? Thanks in advance, Marc. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais ! Yahoo! Mail : http://fr.mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
