[
https://issues.apache.org/jira/browse/JENA-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15254364#comment-15254364
]
ASF subversion and git services commented on JENA-1168:
-------------------------------------------------------
Commit 0b506715c64a086b85565e8b01c0a87ef5e4d044 in jena's branch
refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=0b50671 ]
JENA-1168 : Add support for old-style writer properties.
This applied to writers run by RIOT via an adapter.
Currently that's the XML writers.
> 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
>
> {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);
> }
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)