[ https://issues.apache.org/jira/browse/JENA-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne updated JENA-1168: -------------------------------- Description: {noformat} public static void main(String... args) throws Exception { Model model = RDFDataMgr.loadModel("/home/afs/tmp/D.ttl") ; //RDFWriter rdfWriter = new org.apache.jena.rdfxml.xmloutput.impl.Abbreviated() ; RDFWriter rdfWriter = model.getWriter("RDF/XML-ABBREV"); rdfWriter.setProperty("showXmlDeclaration", "true"); rdfWriter.setProperty("showDoctypeDeclaration", "true"); rdfWriter.write(model, System.out, null); } {noformat} was: {noformat} public static void main(String... args) throws Exception { Model model = RDFDataMgr.loadModel("/home/afs/tmp/D.ttl") ; //RDFWriter rdfWriter = new org.apache.jena.rdfxml.xmloutput.impl.Abbreviated() ; RDFWriter rdfWriter = model.getWriter("RDF/XML-ABBREV"); rdfWriter.setProperty("showXmlDeclaration", "true"); rdfWriter.setProperty("showDoctypeDeclaration", "true"); rdfWriter.write(model, System.out, null); } > RIOT RDFWriter does not pass on properties. > ------------------------------------------- > > Key: JENA-1168 > URL: https://issues.apache.org/jira/browse/JENA-1168 > Project: Apache Jena > Issue Type: Bug > Components: RIOT > Affects Versions: Jena 3.0.1 > Reporter: Andy Seaborne > Fix For: Jena 3.1.0 > > > {noformat} > public static void main(String... args) throws Exception { > Model model = RDFDataMgr.loadModel("/home/afs/tmp/D.ttl") ; > //RDFWriter rdfWriter = new > org.apache.jena.rdfxml.xmloutput.impl.Abbreviated() ; > RDFWriter rdfWriter = model.getWriter("RDF/XML-ABBREV"); > rdfWriter.setProperty("showXmlDeclaration", "true"); > rdfWriter.setProperty("showDoctypeDeclaration", "true"); > rdfWriter.write(model, System.out, null); > } > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)