[
https://issues.apache.org/jira/browse/JENA-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16379461#comment-16379461
]
ASF subversion and git services commented on JENA-1168:
-------------------------------------------------------
Commit e9eb97fdfe7f9e3e738ff5fbac2f53ddee5c15ad in jena's branch
refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=e9eb97f ]
Examples RDF/XML handling.
JENA-1168, JENA-1494.
> 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
> Assignee: Andy Seaborne
> Priority: Major
> 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
(v7.6.3#76005)