Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 70261 invoked from network); 10 Feb 2005 07:18:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Feb 2005 07:18:00 -0000 Received: (qmail 9541 invoked by uid 500); 10 Feb 2005 07:17:59 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 9506 invoked by uid 500); 10 Feb 2005 07:17:58 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: user@forrest.apache.org Delivered-To: mailing list user@forrest.apache.org Received: (qmail 9492 invoked by uid 99); 10 Feb 2005 07:17:58 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO hcltech.hcltech.co.jp) (221.249.96.203) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 09 Feb 2005 23:17:55 -0800 Received: from exch-jp.jp.hcltech.com (exch [10.122.2.5]) by hcltech.hcltech.co.jp (8.12.8/8.12.8) with ESMTP id j1A7GvbQ017721 for ; Thu, 10 Feb 2005 16:16:58 +0900 Received: by exch-jp.jp.hcltech.com with Internet Mail Service (5.5.2650.21) id ; Thu, 10 Feb 2005 16:16:58 +0900 Message-ID: <282F934A8EF8744D9DB23EF6044AD8081FA7A0@exch-jp.jp.hcltech.com> From: "Bhatia Praveen, HCLT-Japan" To: user@forrest.apache.org Subject: RE: mapping .svg files for document2pdf Date: Thu, 10 Feb 2005 16:16:58 +0900 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I have diagonized more details on the problem, but am yet unable to comprehend the workaround. The further diagnosis that I have is: The intermediate .fo file generated has which is then sent to fo2pdf serializer. fo2pdf has no idea that charts/bar3d.png was supposed to be serialized through charts, hence expects the bar3d.png to be present in the respective directory. Hence the file not found error comes. Similarly for images/boxes.svg direction, the file generated is which is sent to fo2pdf serilizer, which in turns doesnt know that boxes.svg was to be mapped to boxes.png, hence complaints about non-existence of the file. Can someone please guide me how to workaround this problem? regards Praveen Hi, I am able to get mapped .png files in the webpage but not in the pdf from .svg files and chart files of fin. The error it gives for generating pdf is that respective .png files are not found (though the path is correct for where the .svg and .xml chart files are placed). I am trying to get the following figures to appear from document like index.xml: 1) "charts/area.png" (Should map from an charts/area.xml file through JFreeChart/Fins module to a .png file) 2) "images/boxes.png" (Should map from a charts/boxes.svg file through svg2png serializer) Both show correctly on the html page ie localhost:8888/index.html However, when I look at the pdf file localhost:8888/index.pdf (and the core logger errors) it says that 1)charts/area.png file not found 2)images/boxes.png file not found >From my limited understanding, I feel that, while for index.html mapping and pipelies are working correctly, but for index.pdf (which uses xml2fo and fo2pdf serializer): 1)charts/area.xml did not get mapped through JFreechart/fins to charts/area.png 2)images/boxes.svg did not get mapped through svg2png serializer to images/boxes.png. Additionaly, for charts, I have added the following in the project's sitemap.xmap transformer: and the following mapper What should I add to make the pipeline do similar things for index.pdf also? regards Praveen