Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 16278 invoked from network); 1 Dec 2004 18:59:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Dec 2004 18:59:14 -0000 Received: (qmail 67158 invoked by uid 500); 1 Dec 2004 18:57:48 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 67087 invoked by uid 500); 1 Dec 2004 18:57:48 -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 67045 invoked by uid 99); 1 Dec 2004 18:57:48 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=FROM_ENDS_IN_NUMS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.inf.tu-dresden.de (HELO mail.inf.tu-dresden.de) (141.76.2.1) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Dec 2004 10:57:43 -0800 Received: from localhost (localhost [127.0.0.1]) by mail.inf.tu-dresden.de (8.12.10/8.12.10) with ESMTP id iB1IveSX029784 for ; Wed, 1 Dec 2004 19:57:40 +0100 (CET) Received: from mail.inf.tu-dresden.de ([127.0.0.1]) by localhost (mail.inf.tu-dresden.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28857-05 for ; Wed, 1 Dec 2004 19:57:40 +0100 (CET) Received: from blackdragon4 ([212.91.237.79]) (authenticated bits=0) by mail.inf.tu-dresden.de (8.12.10/8.12.10) with ESMTP id iB1IvZfJ029767 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Wed, 1 Dec 2004 19:57:36 +0100 (CET) Message-Id: <200412011857.iB1IvZfJ029767@mail.inf.tu-dresden.de> From: "Stefan Pietschmann" To: Subject: XMLSerializer replaces whitespaces with Date: Wed, 1 Dec 2004 19:57:36 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcTX158czvy3rbJMSY2CnLDSA8XM8g== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at inf.tu-dresden.de X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, i'm having a problem with the XMLSerializer: Instead of the correct indentation of my xml files it inserts for each whitespace (after linebreaks I think). The source of an xHTML-file which is returned now looks like this: . . Of course this messes up everything (apart from the fact that the browser don't interpret those xhtml files right anymore). I've neither had this behaviour with JDK 1.4.2 and Cocoon 2.1.5 or JDK 1.5 and Cocoon 2.1.6, so it must be the combination of Java 5 and Cocoon 2.1.6. I've tried this on another computer and it's reproducible. Here's the configuration in the sitemap: -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ISO-8859-1 yes Can anyone help? Is it some parameter for the XMLSerializer? (I already tried with yes and no for the indent parameter) Thanx a lot, Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org
User: