On 17.May.2002 -- 03:31 PM, Enrico Gulfi wrote: > Hi everybody, > > I'm new to Cocoon so forgive me if my problem seems trivial to you :-) I'm > using C2 with Tomcat 4.0.3 on Win2000. > > I'm trying to pass a request parameter to a transformation as following: > > <map:match pattern="test?par1=*&par2=*"> > <map:generate src="{1}.xml" /> > <map:transform src="{2}.xsl" /> > <map:serialize /> > </map:match> > > As soon as I request a page, in the Cocoon servlet I get the following > org.xml.sax.SAXParseException: > > "The reference to entity "par2" must end with the ';' delimiter". > > In other words, the ampersand is looked at as a starting entity... I tried > with a backslash in front of &, but nothing changes.
Escaping in XML -> character entities -> & 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/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>