@Test
    public void testExceptionContainingLineNumberAndColumnNumber() {
        final String invalidXml = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n" +
                "<foo";
        try {
            XML.getDocument(new StringReader(invalidXml));
            fail("Did not get expected exception");
        } catch (IllegalArgumentException e) {
            System.out.println(e.getMessage());
            assertTrue(e.getMessage().contains("Could not parse '"));
            assertTrue(e.getMessage().contains("error at line 2, column 5"));
        }
    }
@author Bjorn Borud
@author Steinar Knutsen
vespajlib/src/test/java/com/yahoo/text/XMLTestCase.java