I am not sure I clear understand your question. At which point you get "validity errors"? During "xmlParseMemory" call? During "xmlParseDTD"?
It's very difficult to help you w/o having the file and DTD. I would suggest to print out the file from memory just before "xmlParseMemory" call and look at it. You might have mistakes in your dynamic document construction that results in these errors. Aleksey _______________________________________________ xmlsec mailing list [EMAIL PROTECTED] http://www.aleksey.com/mailman/listinfo/xmlsec
