checkExpected();
}
public void testBadBaseParamError() throws IOException {
Model m = createMemModel();
RDFReader rdr = m.getReader();
FileInputStream fin = new FileInputStream(
"testing/wg/rdfms-difference-between-ID-and-about/test1.rdf");
rdr.setErrorHandler(this);
expected = new int[] { WARN_MALFORMED_URI,
WARN_MALFORMED_URI,
// WARN_RELATIVE_URI, ERR_RESOLVING_AGAINST_MALFORMED_BASE};
ERR_RESOLVING_AGAINST_MALFORMED_BASE};
rdr.read(m, fin, "http://jjc^3.org/demo.mp3");
fin.close();
Model m1 = createMemModel();
assertTrue("Bad base URI should produce no URIs in model.["
+ m.toString() + "]", m.isIsomorphicWith(m1));
checkExpected();