Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 70705 invoked from network); 13 Dec 2003 10:53:48 -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:53:48 -0000 Received: (qmail 89845 invoked by uid 500); 13 Dec 2003 10:53:19 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 89698 invoked by uid 500); 13 Dec 2003 10:53:19 -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 89670 invoked from network); 13 Dec 2003 10:53:18 -0000 Received: from unknown (HELO smtp.hispeed.ch) (62.2.95.247) by daedalus.apache.org with SMTP; 13 Dec 2003 10:53:18 -0000 Received: from wyona.com (217-162-168-81.dclient.hispeed.ch [217.162.168.81]) by smtp.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with ESMTP id hBDArKPG013337 for ; Sat, 13 Dec 2003 11:53:21 +0100 Message-ID: <3FDAF050.1080508@wyona.com> Date: Sat, 13 Dec 2003 11:56:16 +0100 From: Michael Wechner User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: StreamGenerator doesn't accept text/html References: <1071310748.17638.98.camel@samson.rkunet.org> In-Reply-To: <1071310748.17638.98.camel@samson.rkunet.org> Content-Type: text/plain; charset=us-ascii; format=flowed 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 Rolf Kulemann wrote: > 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? Daniel's remarks might also be of interest http://article.gmane.org/gmane.comp.cms.lenya.devel/2071 Michi > > (I use Cocoon 2.1.2) > > Thanks. > > -- Michael Wechner Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http://cocoon.apache.org/lenya/ michael.wechner@wyona.com michi@apache.org