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 2012/09/02 21:37:07 UTC

[jira] [Resolved] (JENA-314) RDFWriterFImpl.getWriter() does not work for all Lang values.

     [ https://issues.apache.org/jira/browse/JENA-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne resolved JENA-314.
--------------------------------

    Resolution: Not A Problem
      Assignee: Andy Seaborne

The error is correct. 

N-Quads and Trig are formats for datasets, not for models.

Because you can't read a general n -quads or trig file into a model, the system does not generate these formats.

You can create dataset with the model and write that - that includes being able to name the model in the output.

                
> RDFWriterFImpl.getWriter() does not work for all Lang values.
> -------------------------------------------------------------
>
>                 Key: JENA-314
>                 URL: https://issues.apache.org/jira/browse/JENA-314
>             Project: Apache Jena
>          Issue Type: Bug
>            Reporter: Claude Warren
>            Assignee: Andy Seaborne
>
> Model.getWriter( Lang.NQUADS ) and Model.getWriter( Lang.TRIG ) fail with NoWriterForLanguageException.
> Error appears to be in RDFWriterFImpl.getWriter()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira