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 19:38:12 UTC

[jira] [Created] (JENA-1168) RIOT RDFWriter does not pass on properties.

Andy Seaborne created JENA-1168:
-----------------------------------

             Summary: 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)