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

Lewis John McGibbney commented on ANY23-116:
--------------------------------------------

Can you please upload an example of the csv you were having problems with Kai.

{bq} I looked if I can quickly compile a test case, but I didn't understand 
your test infrastructure quickly enough.{bq}
Basically as you point out test resources are located in trunk/test-resources/ 
and tes tests which use these resources are contained within the relative src 
directory e.g. the tests for CSVExtractor.java as located in the test 
directory[0] of the relative module directory. 

[0] 
https://svn.apache.org/repos/asf/incubator/any23/trunk/core/src/test/java/org/apache/any23/extractor/csv/CSVExtractorTest.java
                
> Empty values are skipped when reading tab separated CSV.
> --------------------------------------------------------
>
>                 Key: ANY23-116
>                 URL: https://issues.apache.org/jira/browse/ANY23-116
>             Project: Apache Any23
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.7.0
>         Environment: Linux
>            Reporter: Kai Eckert
>              Labels: CSV
>         Attachments: any23-fix-csv.diff
>
>
> I have a tab separated CSV file without text delimiters, like this:
> val1\tval2\tval3
> When values are missing, this looks like this:
> val1\t\tval3
> The missing val2 is skipped and instead, val3 ist added to the RDF as value 
> for property2.
> EDIT: The same is true for a comma separated file with string delimiters, like
> "val1",,"val3"

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