[ 
https://issues.apache.org/jira/browse/JENA-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446983#comment-13446983
 ] 

Andy Seaborne commented on JENA-312:
------------------------------------

Patch applied.

Warning 1: Jena does not have a full N3 parser - for convenience, "N3" is added 
but it is really Turtle.

N3 includes:
  Abbreviations
  Graph paths
  rules and related directive
  Formulae and graph literals

none of which are support by the Turtle parser currently.

Warning 2: This area is due to change.

See https://svn.apache.org/repos/asf/jena/Experimental/riot-reader/

In particular the replace Lang (Lang2 in that codebase) is not an enum.  We 
need to have an open ended language names (e.g. adding GRDDL) so a close java 
enum does not work.

Class Langs has a map from Lang2 to extension - similar functions added.
                
> Expose "default" file extensions in Lang enum.
> ----------------------------------------------
>
>                 Key: JENA-312
>                 URL: https://issues.apache.org/jira/browse/JENA-312
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: RIOT
>            Reporter: Claude Warren
>         Attachments: jena-arq-JENA-312.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Currently the Lang enum has a method guess() that will guess the language 
> type from a file name.  It does this by maintaining a list of possible 
> extensions for each Lang type.  I am looking for a method to return the first 
> extension listed in the list for a given Lang to assist in producing a file 
> name that will be parsed correctly.

--
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

Reply via email to