You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2016/04/22 21:51:12 UTC
[jira] [Updated] (JENA-1168) RIOT RDFWriter does not pass on
properties.
[ 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)