commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gayatri Deshpande (JIRA)" <j...@apache.org>
Subject [jira] Updated: (VFS-273) Files with lines containing whitespace characters trailing as well as embedded in between are not transferred correctly
Date Tue, 11 Aug 2009 01:24:15 GMT

     [ https://issues.apache.org/jira/browse/VFS-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gayatri Deshpande updated VFS-273:
----------------------------------

    Affects Version/s: 1.1

> Files with lines containing whitespace characters trailing as well as embedded in between
are not transferred correctly
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: VFS-273
>                 URL: https://issues.apache.org/jira/browse/VFS-273
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Windows, AIX, JDK 1.5 
>            Reporter: Gayatri Deshpande
>
> I was trying to transfer a plain text file with fixed length fields. The length of any
line in the file must be fixed. For this whitespace characters are used to pad within the
line as well as at the end whenever remaining length of a field is unused or in case of field
with null values.
> On AIX, where the length should have been 401 characters, only 93 characters are transferred
(seemingly first 93)
> On Windows, for the same file, only 75 charatcers are transferred (seemingly first 75)
> This is the string in the file (without the quotes):
> "XY000010123456789011123TEST TESTTEST                                               
            000 N. APACHE STREET                                                         
   OPENSOURCE          NY 12345123456  00001234567890000                    00          XXXXX00000000000000000
                                            0000123                                      
                          "

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


Mime
View raw message