"<?xml version=\"1.0\"?>"
+ "<methodResponse>"
+ "<fault>"
+ "<value>"
+ "<struct>"
+ "<member>"
+ "<name>faultCode</name>"
+ "<value>"
+ "<int>"
+ "-1"
+ "</int>"
+ "</value>"
+ "</member>"
+ "<member>"
+ "<name>faultString</name>"
+ "<value>"
+ "<string>"
+ "The element type value must be terminated by the matching end-tag </value>"
+ "</string>" + "</value>" + "</member>" + "</struct>"
+ "</value>" + "</fault>" + "</methodResponse>";
ここで、テキスト The element type value must be terminate by the matching end-tag を追加しようとすると、nullpointer 例外がスローされます。どうすればこれを処理できますか。次の部分でエラーが発生することを願っています。問題は「終了タグ」にあります。どうすればこれを処理できますか。
+ "<string>"
+ "The element type value must be terminated by the matching end-tag </value>"
+ "</string>" +