cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject C2: Bug in ResourcePipeline.java - Serializer mimeType setting
Date Thu, 03 Aug 2000 13:15:48 GMT
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
===================================================================
RCS file: /home/cvspublic/xml-cocoon/src/org/apache/cocoon/sitemap/Attic/ResourcePipeline.java,v
retrieving revision 1.1.2.11
diff -r1.1.2.11 ResourcePipeline.java
155,156c159,161
<             if (serializerMimeType != null)
<                     environment.setContentType (readerMimeType); 
---
>             if (serializerMimeType != null) {
>                     environment.setContentType (serializerMimeType); 
>             }

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
================================================================
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de                           mailto:cziegeler@sundn.de 
================================================================

------------------------------------------------------------------------------------------
...this mail was scanned for viruses by mailserver...

Mime
View raw message