Re: Modifying MIME-TYPE with ImageReader

2009-10-23 Thread sac sha
Hi Gaurav/Anish Can you make sure that you are not passing the image info of source image into your code? You have to change the image info according to GIF image as well as you are converting JPG to GIF. Thanks Sac On Fri, Oct 23, 2009 at 1:40 AM, Luca Morandini wrote: > On 22/10/09 23:44, T

XHTML via Tidy not making it into XSLT

2009-10-23 Thread Peter Flynn
I have a resource in my sitemap which makes a web page available as XHTML: http://{1}"; type="html"/> I call this from within another XSLT file so that I can screenscrape the document for a specific element type by ensuring that it is Tidy'd to XHTML first. The as-is.xsl is a plain

Re: Modifying MIME-TYPE with ImageReader

2009-10-23 Thread Anish
Hi Gaurav/Anish Can you make sure that you are not passing the image info of source image into your code? You have to change the image info according to GIF image as well as you are converting JPG to GIF. Thanks Sachin, it worked. :-) As we used ImageInfo object according to the GIF fo

Re: XHTML via Tidy not making it into XSLT

2009-10-23 Thread Alexander Daniel
On 23.10.2009, at 13:26, Peter Flynn wrote: Testing it from the command line with Saxon, I get this: Recoverable error on line 7 of file:/xsl/tools.xsl: FODC0005: java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd 503