When dealing with XML or PDF generation, newline characters might not be interpreted correctly. Replace newline characters with HTML break tags, such as using string.replace(/\n/g, ' ') .
In PowerBuilder , if you are using TEXT fields, they might crash the application if not handled correctly. Ensure your database parameters ( DBPARM ) are set to correctly handle large text columns. IXWare Builder.exe
If a text box or field has a character limit, it can cause text to be cut off. To handle this, you can check the maximum allowable length (e.g., 2000 characters in Oracle) and ensure the application designer is set to use a multi-line text box. Techniques for Managing Long Text When dealing with XML or PDF generation, newline
Once I have this context, I can provide a more tailored solution. Ensure your database parameters ( DBPARM ) are