Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 17037 invoked from network); 14 Feb 2007 19:00:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2007 19:00:00 -0000 Received: (qmail 66082 invoked by uid 500); 14 Feb 2007 18:59:55 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 66053 invoked by uid 500); 14 Feb 2007 18:59:55 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 66037 invoked by uid 99); 14 Feb 2007 18:59:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 10:59:55 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of dns4@cornell.edu designates 128.253.83.141 as permitted sender) Received: from [128.253.83.141] (HELO authusersmtp.mail.cornell.edu) (128.253.83.141) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 10:59:44 -0800 Received: from [10.0.0.38] (rrcs-24-39-95-246.nys.biz.rr.com [24.39.95.246]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.13.1/8.12.10) with ESMTP id l1EIxJe4005328 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 14 Feb 2007 13:59:22 -0500 (EST) Message-ID: <45D35C08.6070201@cornell.edu> Date: Wed, 14 Feb 2007 13:59:20 -0500 From: David Smith User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: ampersand (&) handling in jspx - any workaround? References: <45D328F3.4020800@telig.de> <327858f40702140924l5fa7a4f5ue39625389da4eb68@mail.gmail.com> In-Reply-To: <327858f40702140924l5fa7a4f5ue39625389da4eb68@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ok... you are wrong. An & by itself is wrong. It's a hack, but you end up having to do &amp; Seems like these should be preserved instead of decoded when the output is x/html. I can see it getting real ugly if you have to process a document through several transforms. But that's just my opinion. -David Leon Rosenberg wrote: > correct me if i wrong, but isn't & forbidden in xml anyway? > Leon > > On 2/14/07, Stefan wrote: >> Hello, >> >> for sure, the problem is well known. jspx pages turn the "&" in >> simple "&" which causes a lot of problems. See >> http://www.lunatech-research.com/archives/2006/01/20/jsp-xml-rant >> for details. >> >> How to avoid this problems? Or just live with it? >> >> Thanks >> >> -- >> Stefan >> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> >> > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org