You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by bu...@apache.org on 2002/05/21 00:10:33 UTC
DO NOT REPLY [Bug 7064] -
CSVParser.java doesn't handle empty fields
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7064>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7064
CSVParser.java doesn't handle empty fields
------- Additional Comments From martin@isallineed.org 2002-05-20 22:10 -------
I fixed this. There are however some things that need attention :
- I assume that empty fields are not added to the ValueParser
so if you have a file like :
field1,field2,field3
1,,3
The ValueParser will only contain field1 and field3, with the correct values.
If that needs to be addressed, let me know, the fix should be quite quick..
I also need a tester in the real world, since I don't actually have turbine
running here, I had to change the code, so it doesn't call any TurbineResource
stuff anymore, so I could actually test the chanages.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>