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

Bruno P. Kinoshita commented on JENA-285:
-----------------------------------------

I think this issue has been fixed in the code already and can be closed. I used 
the following example from http://www.w3.org/TR/n-triples/

{noformat}
<http://one.example/subject1> <http://one.example/predicate1> 
<http://one.example/object1> . # comments here
# or on a line by themselves
_:subject1 <http://an.example/predicate1> "object1" .
_:subject2 <http://an.example/predicate2> "object2" .
{noformat}

And running the latest version of <code>rdfcat</code> as

{noformat}rdfcat -n /home/kinow/Desktop/1.n3 -out N3{noformat}

produces the following output

{noformat}
[]    <http://an.example/predicate1>
              "object1" .

[]    <http://an.example/predicate2>
              "object2" .

<http://one.example/subject1>
      <http://one.example/predicate1>
              <http://one.example/object1> .
{noformat}

> rdfcat does not respect -n flag
> -------------------------------
>
>                 Key: JENA-285
>                 URL: https://issues.apache.org/jira/browse/JENA-285
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Cmd line tools
>    Affects Versions: Jena 2.7.2
>            Reporter: Ian Dickinson
>
> -n flag (n-triples input syntax) is overridden by the file-extension guessing 
> heuristics in the FileManager



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to