Fixed a bug with the isXMLDoc test - also made sure that isXMLDoc was handling the...