Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 40042 invoked from network); 14 Jul 2005 07:48:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jul 2005 07:48:27 -0000 Received: (qmail 3569 invoked by uid 500); 14 Jul 2005 07:46:36 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 3483 invoked by uid 500); 14 Jul 2005 07:46:36 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 3420 invoked by uid 99); 14 Jul 2005 07:46:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2005 00:46:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [195.144.64.135] (HELO smtp1.xs4all.be) (195.144.64.135) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2005 00:46:31 -0700 Received: from [193.74.195.109] (vip.schaubroeck.be [193.75.212.66]) (authenticated bits=0) by smtp1.xs4all.be (8.12.10/8.12.10) with ESMTP id j6E7kToD011345 for ; Thu, 14 Jul 2005 09:46:29 +0200 Message-ID: <42D61850.3090205@outerthought.org> Date: Thu, 14 Jul 2005 09:46:24 +0200 From: Marc Portier Organization: Outerthought User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: typo for mime-type image[s]/gif -- might be wise to check docos X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N funny, noticed some strange behaviour in firefox the other day on gif's returned by cocoon turns out that a typo in the mime-type for gifs over at src/webapp/sitemap.xmap was causing it it says images/gif versus image/gif (see http://www.iana.org/assignments/media-types/ ) I can't really explain why we haven't noticed this earlier (or did we?) but the typo surely made it's cut-and-paste way through our code-base (see below) and documentation (see google) > > mpo@lamancha:~/projects/apache/cocoon$ find src -name sitemap.xmap | xargs grep -l "images/gif" > src/blocks/faces/trunk/samples/cardemo/sitemap.xmap > src/blocks/forms/trunk/samples/dreamteam/sitemap.xmap > src/blocks/petstore/trunk/samples/sitemap.xmap > src/webapp/sitemap.xmap luckily: > mpo@lamancha:~/projects/apache/cocoon$ find src -name sitemap.xmap | xargs grep -l "image/gif" > src/blocks/lucene/trunk/samples/sitemap.xmap > src/blocks/scratchpad/trunk/samples/sitemap-viewer/sitemap.xmap > src/blocks/scratchpad/trunk/samples/othello/sitemap.xmap > src/blocks/mail/trunk/samples/mail/sitemap.xmap > src/blocks/portal/trunk/samples/sitemap.xmap > src/blocks/slop/trunk/samples/yapt/sitemap.xmap > src/webapp/samples/aggregation/sitemap.xmap > src/webapp/samples/catalog/sitemap.xmap > src/webapp/samples/i18n/sitemap.xmap > src/webapp/samples/modules/sitemap.xmap > src/webapp/samples/sites/sitemap.xmap I'll take care of the sitemap.xmap files that need fixing on trunk and 2_1_x branch in svn, please be all invited to track occurances in our docos as well regards, -marc= -- Marc Portier http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center Read my weblog at http://blogs.cocoondev.org/mpo/ mpo@outerthought.org mpo@apache.org