DatabaseResources ga = new DatabaseResources(pool); Validator va = new Validator(pool); ValidationReport veh = va.validate( new StringReader(ADDRESSBOOK_DOCUMENT) ); Assert.assertFalse( veh.hasErrorsAndWarnings() ); System.out.println(veh.getErrorReport());
    public void testValidateValidDocument() {        System.out.println(">>> testValidateValidDocument");        DatabaseResources ga = new DatabaseResources(pool);        Validator va = new Validator(pool);        ValidationReport veh = va.validate( new StringReader(ADDRESSBOOK_DOCUMENT) );        Assert.assertFalse( veh.hasErrorsAndWarnings() );        System.out.println(veh.getErrorReport());        System.out.println("<<<");    }