Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 23905 invoked from network); 2 Apr 2004 14:13:51 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Apr 2004 14:13:51 -0000 Received: (qmail 95241 invoked by uid 500); 2 Apr 2004 14:13:35 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 95212 invoked by uid 500); 2 Apr 2004 14:13:35 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 95194 invoked from network); 2 Apr 2004 14:13:34 -0000 Received: from unknown (HELO grerelint01.net.external.hp.com) (192.6.111.88) by daedalus.apache.org with SMTP; 2 Apr 2004 14:13:34 -0000 Received: from garonne.grenoble.hp.com (garonne.grenoble.hp.com [15.128.14.138]) by grerelint01.net.external.hp.com (Postfix) with ESMTP id 526C037E1C; Fri, 2 Apr 2004 16:13:34 +0200 (CEST) Received: by garonne.grenoble.hp.com with Internet Mail Service (5.5.2657.72) id ; Fri, 2 Apr 2004 16:13:34 +0200 Message-ID: <41C5A8B7E05BD411902700D0B77FBBDE0B253793@fermi.italy.hp.com> From: "CLEMENTE,GRAZIA (HP-Italy,ex1)" To: "'users@cocoon.apache.org'" Cc: "'signore29@yahoo.com'" , "BORDET,SIMONE (HP-Torino)" , "D'ANGELO,MASSIMO (HP-Italy,ex1)" Subject: problem in map:read version 2.1.4 Date: Fri, 2 Apr 2004 16:13:24 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" 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 We are having a problem porting our application from cocoon 2.0 to 2.1.4. JDK 1.4.2 HW Sun Solaris The application worked perfectly on the older release that used JDK 1.3.1.07. PROBLEM DESCRIPTION The problem is summarized as follows: 1. We have match that uses the xslt transformer to generate HTML. 2. We have an other match that does a map:read to call the match as above. The problem we have is that the second match, will send to the browser an XML page rather than an HTML page. If you call from your browser http://somedomain/wifi/internal the result will the an HELLO WORLD message as expected If you call from your browser http://somedomain/wifi/prova the browser will detect an XML parsing error on the META TAG. Obviously the content type is set to XML rather than HTML. The very same test runs perfectly on cocoon 2.0. It does not work on 2.1.4. It looks like the second matcher uses the XML serializer rather than the HTMLserializer QUESTIONS 1. Is this a bug in the latest version or it was a bug in the older version and we just got lucky before and not any again in the latest release? 2. Could it be simply that something changed in the syntax and we need just to make some adjustments to avoid to generate XML? If so, what is the syntax to use? We will appreciate a response as prompt as possible because of the strict deadlines of our project. TEST CASE FILES PROVA.XML hello PROVA.XSL HELLO WORLD! SITEMAP.XMAP true true true xalan true true true true xalan true true true true xsltc true 1024 org.apache.cocoon.SessionState referer Best Regards Grazia Clemente HP Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org