> I think this error should be corrected somewhere else and not in my > code, but I don't know where and I hope that I will address maintainers > here, too. The bug is in your code, not in the expatreader. After parsing has started, you must not call setContentHandler anymore. The behaviour is undefined if you do. Regards, Martin