Clone URL (Committers only): https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://jena.apache.org/documentation%2Fio%2Frdfxml_howto.mdtext
Ian Dunlop Index: trunk/content/documentation/io/rdfxml_howto.mdtext =================================================================== --- trunk/content/documentation/io/rdfxml_howto.mdtext (revision 1823266) +++ trunk/content/documentation/io/rdfxml_howto.mdtext (working copy) @@ -250,7 +250,7 @@ properties so that it behaves exactly as required in your application, and then to do all subsequent I/O through it. - Model m = Modelfactory.createDefaultModel(); + Model m = ModelFactory.createDefaultModel(); RDFWriter writer = m.getRDFWriter(); m = null; // m is no longer needed. writer.setErrorHandler(myErrorHandler); @@ -342,7 +342,7 @@ data that uses unqualified RDF attributes such as "about" instead of "rdf:about", then the following code is appropriate: - Model m = Modelfactory.createDefaultModel(); + Model m = ModelFactory.createDefaultModel(); RDFReader arp = m.getReader(); m = null; // m is no longer needed. // initialize arp @@ -379,7 +379,7 @@ InputStream in = ... ; String baseURI = ... ; - Model model = Modelfactory.createDefaultModel(); + Model model = ModelFactory.createDefaultModel(); RDFReader r = model.getReader("RDF/XML"); r.setProperty("iri-rules", "strict") ; r.setProperty("error-mode", "strict") ; // Warning will be errors.