Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 12669 invoked from network); 20 Oct 2003 10:22:04 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 20 Oct 2003 10:22:04 -0000 Received: (qmail 46084 invoked by uid 500); 20 Oct 2003 10:21:42 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 46058 invoked by uid 500); 20 Oct 2003 10:21:42 -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 Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 46045 invoked from network); 20 Oct 2003 10:21:41 -0000 Received: from unknown (HELO mailgate2.uea.ac.uk) (139.222.230.101) by daedalus.apache.org with SMTP; 20 Oct 2003 10:21:41 -0000 Received: from [139.222.130.17] (helo=mailserver2.uea.ac.uk) by mailgate2.uea.ac.uk with esmtp (Exim 3.02 #1) id 1ABXAh-000zMp-00 for dev@cocoon.apache.org; Mon, 20 Oct 2003 11:21:55 +0100 Received: from [139.222.132.57] (helo=oscar) by mailserver2.uea.ac.uk with esmtp (Exim 3.02 #1) id 1ABXAh-0005H0-00 for dev@cocoon.apache.org; Mon, 20 Oct 2003 11:21:55 +0100 Received: from savs (helo=localhost) by oscar with local-esmtp (Exim 3.36 #1 (Debian)) id 1ABX9K-0000U6-00 for ; Mon, 20 Oct 2003 11:20:30 +0100 Date: Mon, 20 Oct 2003 11:20:30 +0100 (BST) From: Andrew Savory X-X-Sender: savs@oscar To: Cocoon-Dev Subject: Re: [vote] Changing the mime type setting of a reader [was [RT]...] In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Andrew Savory X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mon, 20 Oct 2003, Carsten Ziegeler wrote: > Description: > >>> ...The suggestion is to change the behaviour to (or the order > >>> to determine the mime type): > >>> > >>> - MIME type declared on the reader instance > >>> - Ask the Reader for a MIME type. A *.doc reader could peek > >> into the file > >>> and return either text/plain or application/vnd.msword. > >>> - MIME type declared for the reader component > >>> - MIME type declared in WEB-INF/web.xml or by the server. > >>> > >>> Because, *if* I set a mime type for the reader instance I will > >>> overide > >>> the information with this. +1 with 2nd and 3rd swapped, so: > >>> - MIME type declared on the reader instance > >>> - MIME type declared for the reader component > >>> - Ask the Reader for a MIME type. A *.doc reader could peek > >> into the file > >>> and return either text/plain or application/vnd.msword. > >>> - MIME type declared in WEB-INF/web.xml or by the server. Andrew. -- Andrew Savory Email: andrew@luminas.co.uk Managing Director Tel: +44 (0)870 741 6658 Luminas Internet Applications Fax: +44 (0)700 598 1135 Orixo alliance: http://www.orixo.com/ Web: www.luminas.co.uk