cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <jheini...@virbus.de>
Subject Re: wsproxy and request parameters
Date Tue, 23 Sep 2003 19:36:59 GMT
Jeff Ramsdale wrote:
> 
>>The first is from the "src" attribute, like so:
>>
>><map:generate
>>    type="wsproxy"
>>    src="http://foo.bar/endpoint?parm1=val1&parm2=val2"/>
> 
> Early on I noticed trouble here when testing and manually changed all the &
> characters to &amp; in my src string. The example you show didn't do
> that--does it work for you as written above? Just checked--I get the error:
>    The reference to entity "dev-t" must end with the ';' delimiter.
> 
> So it would seem that manual encoding is necessary in the src attribute? I
> even get the error while editing my sitemap in Eclipse with the SunBow
> plug-in, so this is enforced by the schema, it seems...

That's a must in XML, it has nothing to do with the sitemap, a dtd or a 
schema. & is a reserved character in XML (for entities => so your error 
message) and must be escaped by &amp;.

Joerg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message