Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 64808 invoked from network); 13 Dec 2003 10:19:22 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 13 Dec 2003 10:19:22 -0000 Received: (qmail 75326 invoked by uid 500); 13 Dec 2003 10:18:56 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 74854 invoked by uid 500); 13 Dec 2003 10:18:53 -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 74818 invoked from network); 13 Dec 2003 10:18:52 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by daedalus.apache.org with SMTP; 13 Dec 2003 10:18:52 -0000 Received: (qmail 12345 invoked by uid 65534); 13 Dec 2003 10:19:05 -0000 Received: from pD4B9E16A.dip.t-dialin.net (EHLO samson.rkunet.org) (212.185.225.106) by mail.gmx.net (mp027) with SMTP; 13 Dec 2003 11:19:05 +0100 X-Authenticated: #382625 Subject: StreamGenerator doesn't accept text/html From: Rolf Kulemann Reply-To: mail@rolf-kulemann.com To: Cocoon-Dev Content-Type: text/plain Message-Id: <1071310748.17638.98.camel@samson.rkunet.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Sat, 13 Dec 2003 11:19:08 +0100 Content-Transfer-Encoding: 7bit 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 Hello List, I'm currently integrating the Epoz editor into Lenya. This editor sends text/html as content-type in a PUT request when the document is being saved. I thought it is a good idea to use the StreamGenerator to generate my XML within a xmap. The StreamGenerator complains about a not supported content-type. Do you think it makes sense that the StreamGenerator should accept text/html since html is a subset of xml ? I already made a tiny change to StreamGenerator to support text/html and it works fine, but I dunno, if this is a misuse. If so, can anybody give me a hint how to generate XML out of Epoz's PUT request? (I use Cocoon 2.1.2) Thanks. -- Rolf Kulemann Day of inquiry. You will be subpoenaed. PGP/GPG public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA