Thank you very much for your answer, I totally agree with you, that malformed documents should be used. But unfortunatly in this case it's beyond my power. Thanks, Christian