Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 63998 invoked by uid 500); 15 Jan 2003 21:16:44 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 63984 invoked from network); 15 Jan 2003 21:16:44 -0000 Message-ID: <3E25D01F.7020900@yahoo.de> Date: Wed, 15 Jan 2003 22:18:23 +0100 From: "J.Pietschmann" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: & in url [WAS: file generator error] References: In-Reply-To: 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 Geoff Howard wrote: > Sorry for being an idiot. & is valid in the html as delimeter, but the > browser should take it out so that ... > The reason I was confused was because I remembered a problem I encountered > in the past with & as the delimeter in html being passed through, but I > believe the problem there was more complicated - javascript was passing the > & literally IIRC. You are in dire need to read the HTML and XML specs at W3C and get rid of the mental baggage of the Tag Soup approach early browsers imposed on unsuspecting users. If you want to have an ampersand in user data transported in any HTML or XML document, like the Cocoon site map, you have to escape it as &. Proper HTML and XML parsers will deliver an ampersand to the application. Those nasty exceptions introduced in JavaScript embedded in HTML are actually bugs which sloppy developers who don't even know where to find specs got used to. J.Pietschmann --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: