I have an XSL document which prints from my system. It should print the text entered into the one of the fields in the database.

I have a java program which gets the size of the line of text and another java program which prints the comments using the following code

int VectorSize = getInfo.getTestCommentSize();

Handler.startElement("Comments");

for (intCount=0; piCount<VectorSize; piCount++)
{
jHandler.startElement("Comment");
Handler.element("Text", getInfo.getTestComment(piCount) );
Handler.endElement("Comment");
}

Handler.endElement("TestComments");


This works as it prints the text which is stored in the database field however when it reached thes end of the line it cuts of the last letter. For example in the database it says

PRINT THIS COMMENT. PRINT THIS COMMENT. PRINT THIS COMMENT.

When it prints out on the document it shows as

PRINT THIS COMMENT. PRINT THIS COMMENT. PRIN
THIS COMMENT.

The T has been cut off. Does anyone have any ideas on how to fix this?

Thanks.