Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
I have a schema that is delimited by newline. When doing a convertToString from the schema generated document it always add an extra line.
I want this:
RecordLine1 RecordLine2 RecordLine3
Instead I get:
RecordLine1
RecordLine2
RecordLine3
What gives?
Well, I feel stupid. There isn’t a problem after all. The issue was with the developer IDE. When I actually copied the contents of my output string to wordpad it appears correctly. The developer IDE will wrap the contents and in this case it was wrapping the filler spaces at the end of each record make it appear as it was two lines.