You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Glen Daniels <gd...@macromedia.com> on 2001/06/13 15:32:28 UTC

String echo test

Hi folks:

In test.encoding.TestString, we have the following:

    public void testStringWithEntities() throws Exception {
        runtest("&amp;&lt;&gt;&apos;&quot;", "&<>'\"");
    }

I think this is broken, in that if you pass a String as an argument to an
RPC call, Axis should take care of encoding it so that it is delivered
exactly as specified.  I propose we make this change to the library, and
then replace this test with:

    public void testStringWithEntities() throws Exception {
        runtest("&amp;&lt;&gt;&apos;&quot;", "&amp;&lt;&gt;&apos;&quot;");
    }
    public void testStringWithSpecialChars() throws Exception {
        runtest("&<>'\"", "&<>'\"");
    }

Glen Daniels
Macromedia
http://www.macromedia.com/
                                Building cool stuff for web developers