From cziegeler@sundn.de Thu Aug 3 13:12:46 2000 Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 44847 invoked from network); 3 Aug 2000 13:12:46 -0000 Received: from sundn.pb.teuto.net (HELO viruswall.ynes.de) (212.8.194.130) by locus.apache.org with SMTP; 3 Aug 2000 13:12:46 -0000 Received: from 10.10.1.10 by viruswall.ynes.de (InterScan E-Mail VirusWall NT); Thu, 03 Aug 2000 15:12:15 +0200 (Westeuropaeische Sommerzeit) Received: from hw0230 (fw-dmz.ynes.de [10.10.1.1]) by mail.ynes.de (8.9.3/8.9.3/NoSpam) with SMTP id OAA12065 for ; Thu, 3 Aug 2000 14:12:11 +0200 From: "Carsten Ziegeler" To: Subject: C2: Bug in ResourcePipeline.java - Serializer mimeType setting Date: Thu, 3 Aug 2000 15:15:48 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hello, the process() method of the ResourcePipeline class has a bug regarding = the mimeType handling of the serializer. Here is the diff: Index: ResourcePipeline.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: = /home/cvspublic/xml-cocoon/src/org/apache/cocoon/sitemap/Attic/ResourcePi= peline.java,v retrieving revision 1.1.2.11 diff -r1.1.2.11 ResourcePipeline.java 155,156c159,161 < if (serializerMimeType !=3D null) < environment.setContentType (readerMimeType);=20 --- > if (serializerMimeType !=3D null) { > environment.setContentType (serializerMimeType);=20 > } Together with my other patch from today, the mimeType handling of the = serializer works according to the sitemap draft (if I understood it = right....) Regards Carsten Ziegeler Open Source Group sunShine - Lighting up e:Business =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn www.sundn.de mailto:cziegeler@sundn.de=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ------------------------------------------------------------------------------------------ ...this mail was scanned for viruses by mailserver...