[xquery-talk] escape-uri() not escaping special characters

Per Bothner per at bothner.com
Wed Jul 6 13:39:12 PDT 2005

Lars Burgess wrote:
> I am having trouble getting the fn:escape-uri() function to work 
> properly for a particular uri.
 > ...
> It appears that the special characters in the URI are not being escaped 
> at all.

That's not the issue.  The problem is parsing the string literal.
It contains &showData which looks like the start of an invalid character 
entity reference.

Use "...partnerKey=RijXtgaXlG0&showData...".
	--Per Bothner
per at bothner.com   http://per.bothner.com/

More information about the talk mailing list