Ah, that makes sense now.  Thanks, Chris!

Harry

-----Original Message-----
From: Christian Haul [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 2:18 AM
To: [EMAIL PROTECTED]
Subject: Re: trouble getting return values from an Action Map


On 09.Jul.2002 -- 05:39 PM, Lai, Harry wrote:
> If you're planning to pass multiple parameters, though, I think someone
> posted something about a bug with escaping the ampersand
> (http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101828372801806&w=2)

Harry, this "bug" stems from the fact that a sitemap is XML and "&" is
used to start an XML entity. Just like "<"s are not usable in XML as
characters.
However, using the XML entity "&amp;" and "&lt;" instead works
fine. E.g. <map:redirect-to uri="some_page?foo=abc&amp;bar=def"/>

        Chris.
-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to