<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Another validation process that would help when doing XML exploration<br>
(i.e you don't know what is in the data and are trying to find out)<br>
would be to throw an exception of the string is null and not use the<br>
"null pointer" exception.<br></blockquote><div><br></div><div>Why not? NullPointerException is designed to handle just that.</div><div><br></div><div>Regards,</div><div>Grzegorz</div></div>