Subject: Problem with longer strings and automaticly added new lines/enters (LotusScript and JAVA)
Feedback Type: Problem
Product Area: Domino Server
Technical Area: Application development
Platform: Windows XP client
I have a strange problem when creating a html report from daily database usage. The result is being sent to particular users as HTML email (created using NotesStream class). Things work nice unless I have many items and the entire report is long. The entire report is HTML so I keep it in string variable(its created from many documents) and, at the end, I write this HTML to stream using NotesStream.writeText. And here comes my problem. The string with HTML contains randomly inserted 'char couples' of 'new line' and 'white space'. And this breaks html on many places. I found that this happens when the string is longer then just a few lines. In this case the final string contains such automaticly added chars and report is visualy broken. I also found that it has nothing to do with email itself, the string with content has these chars already. The string with html report is being created very simply with loops over documents and adding text to this string. But at the end the string contains these enters and white spaces randomly inserted. Is there something wrong, or are there any limits in Notes in this area? I tried to rewrite the part of code in java but having the same issues here.
(running on Domino server 8.5.3 FP1)
Thanks for any advice ...
Feedback number WEBB8TNHUM created by David Marko484 on 04/24/2012