Re: JAX-RPC special character (like ampersand) encoding question

From: Bubble Lo <>
Date: Thu, 22 Jan 2004 11:19:16 -0800 (PST)

Since the returned java bean has a lot of properties and each property may contains those characters, the handler may take time to check and fix each element.
Can I get the patch? If not, can I get the build from CVS? When is the next official release?

Bobby Bissett - Javasoft <> wrote:
Bubble Lo wrote:
> Thanks Bobby. I would really appreciate if you can give me some ideas to
> work around this problem.

Hi again,

This has now been fixed in the jaxrpc si. It only occurred when handlers
were used, and I think only affected the ampersand, less than, greater
than, and double quote characters.

As for a workaround....hmmm.... Until you get the fix, the only thing I
can think of is either not use "&" when using handlers or, since you
have a handler anyway, have the handler step through the child nodes and
do a replace in any text nodes that contain the wrong thing. If you
already know the name(s) of the text elements in the request/response,
then hopefully this isn't too much of a burden. Sorry there's not an
easier workaround at the client end, but the fix will be in the binary
builds on once we start putting them up (but they won't be
tested/supported like an official release).

Thanks though for letting us know about this issue.


To unsubscribe, e-mail:
For additional commands, e-mail:

Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!