You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by Marcel Schelvis <ma...@instill.com> on 2000/11/30 18:29:00 UTC

[PATCH] for generating proper escape sequences

We try to use Apache SOAP2.0 as a largely transparent RPC mechanism for a
real commercial application.

We believe it is the responsibility of the SOAP runtime to properly
serialize a Java String like "Proctor & Gamble" into an XML element value ..
>Proctor &amp; Gamble<.. which then gets deserialized back into a Java
String "Proctor & Gamble". (Same thing for <,>,',")

The latter works fine thanks to xerces, the former doesn't happen. IMHO this
should NOT be the responsibility of the application, which should not have
to be aware of any XML idiosyncracies.

If anybody has a different opinion, I'd be happy to discuss this.

In the meantime, here is a patch we for one can't do without...

Cheers,

-Marcel