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

ASF GitHub Bot commented on ANY23-308:
--------------------------------------

Github user ansell commented on a diff in the pull request:

    https://github.com/apache/any23/pull/42#discussion_r126826866
  
    --- Diff: 
core/src/test/java/org/apache/any23/extractor/yaml/YAMLExtractorTest.java ---
    @@ -93,4 +92,17 @@ public void nullTest()
             RepositoryResult<Statement> docs = getStatements(null, null, 
RDF.NIL);
             Assert.assertTrue(Iterations.asList(docs).size() == 2);
         }
    +
    +    /**
    +     * Comma separated values are parsed as well.
    +     *
    +     * @throws Exception
    +     */
    +    @Test
    +    public void csvTest()
    +            throws Exception {
    +        assertExtract("/org/apache/any23/extractor/csv/test-comma.csv");
    --- End diff --
    
    I am not familiar with YAML, but is CSV (RFC 4180 Section 2 and all other 
variations) a strict subset of YAML or is it incidental that this test file 
works with the YAML parser? If it is only incidental we shouldn't be testing it 
here.


> Adding option "-d" to yaml file parsing gives error
> ---------------------------------------------------
>
>                 Key: ANY23-308
>                 URL: https://issues.apache.org/jira/browse/ANY23-308
>             Project: Apache Any23
>          Issue Type: Bug
>          Components: rover
>    Affects Versions: 2.0
>            Reporter: Jacek
>            Assignee: Jacek
>            Priority: Minor
>             Fix For: 2.1
>
>
> Command 
> {code:none}
> any23 rover -e yaml -d "urn:test#" -f turtle some_yaml_file.yaml
> {code}
> gives `No suitable extractors found`.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to