Printing XML format error
<pre><code>"&lt;?xml version=\"1.0\"?&gt;"
                + "&lt;methodResponse&gt;"
                + "&lt;fault&gt;"
                + "&lt;value&gt;"
                + "&lt;struct&gt;"
                + "&lt;member&gt;"
                + "&lt;name&gt;faultCode&lt;/name&gt;"
                + "&lt;value&gt;"
                + "&lt;int&gt;"
                + "-1"
                + "&lt;/int&gt;"
                + "&lt;/value&gt;"
                + "&lt;/member&gt;"
                + "&lt;member&gt;"
                + "&lt;name&gt;faultString&lt;/name&gt;"
                + "&lt;value&gt;"
                + "&lt;string&gt;"
                + "The element type value must be terminated by the matching end-tag &lt;/value&gt;"
                + "&lt;/string&gt;" + "&lt;/value&gt;" + "&lt;/member&gt;" + "&lt;/struct&gt;"
                + "&lt;/value&gt;" + "&lt;/fault&gt;" + "&lt;/methodResponse&gt;";
</code></pre>

<p>Here, When i try to add the text The element type value must be terminated by the matching end-tag , it is throwing nullpointer exception. How can i handle this. I hope the following part throwing the error. The problem is with "end-tag ". How can i handle this.</p>

<pre><code>+ "&lt;string&gt;"
                    + "The element type value must be terminated by the matching end-tag &lt;/value&gt;"
                    + "&lt;/string&gt;" +
</code></pre>
