On 29 May, Ferenc Gémesi wrote: > How can I catch the error in my 'XML' file, if it is not consistent whi= t my > 'DTD' file? If I understand your question right, you'r asking for XML validation. Expat only checks for wellformedness, it doesn't validate. But just wait a few days. Then, there should be an example avaliable about how to do validation on top of expat. rolf