Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 46916 invoked from network); 5 Dec 2004 05:42:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Dec 2004 05:42:00 -0000 Received: (qmail 33959 invoked by uid 500); 5 Dec 2004 05:41:59 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 33829 invoked by uid 500); 5 Dec 2004 05:41:59 -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 33801 invoked by uid 99); 5 Dec 2004 05:41:59 -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; Sat, 04 Dec 2004 21:41:56 -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 iB55fQbQ030949; Sun, 5 Dec 2004 14:41:26 +0900 Received: by exch-jp.jp.hcltech.com with Internet Mail Service (5.5.2650.21) id ; Sun, 5 Dec 2004 14:41:27 +0900 Message-ID: <282F934A8EF8744D9DB23EF6044AD808028043@exch-jp.jp.hcltech.com> From: "Bhatia Praveen, HCLT-Japan" To: "'David Crossley '" , "'user@forrest.apache.org '" Subject: RE: Trouble with forrest's SVGSerializer from cocoon Date: Sun, 5 Dec 2004 14:41:23 +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 David and Ross, Thanks. It worked by deleting my snippet and letting the default mapping from the resource.xmap of forrest work on it as adviced by Ross. boxes.svg got displayed correctly. Thanks again Praveen -----Original Message----- From: David Crossley To: user@forrest.apache.org Sent: 2004/12/05 13:15 Subject: Re: Trouble with forrest's SVGSerializer from cocoon Bhatia Praveen, HCLT-Japan wrote: > Ross: > Thats a good information. I will also try to use > FORREST_HOME/main/webapp/resources.xmap and see if it works. No. I think that you are not understanding. Ross was saying that Forrest does this svn2png automatically, You do not need a special project sitemap. The resources.xmap is part of main forrest. Everything should just work out-of-the box if you put files in xdocs/images/foo.svg and refer to the output documents as images/foo.png > Regarding the boxes.svg I have made it work in FOP, in batik, soddipodi > and Acrobats svg, so the format should be ok I believe. Did you see issue FOR-229 http://issues.cocoondev.org/browse/FOR-229 Some SVG files (but not all) need the DTD declaration to be commented-out. --David > Praveen > > There should be no need to create a project specific match to create > images from svg as Forrest already does this (see > FORREST_HOME/main/webapp/resources.xmap). Furthermore, this match will > prevent you serving any "images/*.png" files that are png sources - be > careful (the resources.xmap shows how to deal with this issue). > > However, given that you have created one, lets find your problem. Where > What is project.images-dir set to (if anything) in forrest.properties > and where is your boxes.svg file (I've not look at your SVG I trust it > is good, I'm no expert with that format). > > Ross >