Hi,
a small remark here that's probably not the solution to you original problem, but what the hell...
In SAX a DefaultHandler doesn't garantee to read the characters between a start and end tag in one go. For example, if you've got '<moviename>The Terminator</moviename>', depending on the parser implementation, you can have one characters()-event giving you "The Terminator" but you can just as well have 6 character()-events that give you "Th", "e T", "erm", "in", "a", "tor".
Bottom line: don't perform your
string adding in the characters()event but just append it to a StringBuffer there and the process the content of the buffer in the endElement()-event.
Just something I wanted to say,
Raf
The Angry Belgian