commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <>
Subject [jira] Commented: (SANDBOX-206) backslash before quote character gives an error
Date Sat, 05 Jan 2008 05:55:34 GMT


Henri Yandell commented on SANDBOX-206:

+1... quick scan of the patch looks good. 

> backslash before quote character gives an error
> -----------------------------------------------
>                 Key: SANDBOX-206
>                 URL:
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: CSV
>         Environment: Windows, SOLR 1.2
>            Reporter: Michael Lackhoff
>         Attachments: csv_escape.patch
> A CSV-field with the contents "This is text with a \""quoted"" string" gives the error
> "invalid  char between encapsualted token end delimiter". If the backslash is not immediately
before the double quote, everything is fine.
> The same error occurs when the backslash is the last character in the field (directly
before the delimiter), like:
> "This is a text with a backslash \".
> Here the reason might be that the backslash also works as an escape character like in
> "This is a field with a \"quoted\" text" (no error, just the quotes in the resulting

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message