Return-Path: X-Original-To: apmail-incubator-any23-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-any23-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 96030D906 for ; Thu, 30 Aug 2012 12:51:09 +0000 (UTC) Received: (qmail 90134 invoked by uid 500); 30 Aug 2012 12:51:09 -0000 Delivered-To: apmail-incubator-any23-dev-archive@incubator.apache.org Received: (qmail 90052 invoked by uid 500); 30 Aug 2012 12:51:08 -0000 Mailing-List: contact any23-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: any23-dev@incubator.apache.org Delivered-To: mailing list any23-dev@incubator.apache.org Received: (qmail 90020 invoked by uid 99); 30 Aug 2012 12:51:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 12:51:08 +0000 Date: Thu, 30 Aug 2012 23:51:08 +1100 (NCT) From: "Kai Eckert (JIRA)" To: any23-dev@incubator.apache.org Message-ID: <415744302.16349.1346331068185.JavaMail.jiratomcat@arcas> In-Reply-To: <1258289151.1148.1346073847565.JavaMail.jiratomcat@arcas> Subject: [jira] [Comment Edited] (ANY23-116) Empty values are skipped when reading tab separated CSV. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ANY23-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444918#comment-13444918 ] Kai Eckert edited comment on ANY23-116 at 8/30/12 11:49 PM: ------------------------------------------------------------ I attached a test file (test-missing.csv). I currently can't provide the code for the test case. The current expected (wrong) behaviour is that in the second record, "http://g10.net" is is assigned as value to the property "last name". Correct would be null or empty string as value for "last name" and "http://g10.net" as value for the property "http://xmlns.org/foaf/01/knows". was (Author: kaiec): I attached a test file (test-missing.csv). I currently can't provide the code for the test case. The current expected (wrong) behaviour is that in the second record, "http://g10.net" is assigned to "last name". Correct would be null or empty string for "last name" and "http://g10.net" for " http://xmlns.org/foaf/01/knows". > 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, test-missing.csv > > > 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