I am Parsing one xml file and after parsing I have to enter the data into the database using hibernate. The problem is while parsing some elements, its not getting the complete data, rather some of the characters gets truncated. Has anyone faced this issue nad what is the cause of this issue. While debugging with eclipse whatever i could understand was while calling the event handler of the SAX Parser i.e. characters (char ch, int start, int length) its not getting the whole string in the node in the ch array.