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

David Szigecsan commented on CSV-272:
-------------------------------------

I checked the file at linked gist and I have some problems understanding what 
would be the expectation.
 # I can't see any delimiter (I mean there are spaces, but their count is 
different in each cell)
 # If I assume the whitespace is the delimiter, then what about "Product 1"? 
Does it count as one ("Product 1") or two ("Product" and "1")?
 # What do you mean about "fixed-width"? Every cell has the same amount of 
characters? What about "Pa wafer" following more space than the line starting 
"1"?

The only logic I could use is when there is one single whitespace, that is part 
of the data, but more consecutive whitespaces are delimiter.

For me, it does not seem like a CSV or its alternatives (with a tab or 
anything). Especially after checking the "test wafer" followed by 15 spaces. 
Tabs usually represent 4 or 8 spaces, not 15.

> Support fixed-width format
> --------------------------
>
>                 Key: CSV-272
>                 URL: https://issues.apache.org/jira/browse/CSV-272
>             Project: Commons CSV
>          Issue Type: Improvement
>          Components: Parser
>    Affects Versions: 1.8
>            Reporter: Holger Brandl
>            Priority: Major
>
> Although not strictly a delimiter format, fixed-width tables are still very 
> common. So it would be great if commons-csv would support fixed-width via a 
> dedicated format.
> Since jira does not render fixed-delim content correctly, I've deposited an 
> example under 
> https://gist.github.com/holgerbrandl/26298ae77d53b3393d9d22c73249ab72
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to