public void testLang() throws Exception {
Model m = ModelFactory.createDefaultModel();
Model m2 = ModelFactory.createDefaultModel();
InputStream in = new FileInputStream(
"testing/wg/rdfms-xmllang/test004.rdf");
RDFEHArray eh = new RDFEHArray();
RDFReader w = m.getReader();
w.setErrorHandler(eh);
w.read(m, in, "http://example.org/");
in.close();
in = new FileInputStream("testing/wg/rdfms-xmllang/test003.rdf");
RDFEHArray eh2 = new RDFEHArray();
XMLReader saxParser = new SAXParser();
SAX2Model handler = SAX2Model.create("http://example.org/", m2,
"fr");
SAX2RDF.installHandlers(saxParser, handler);