LPX-00014: context is not clean Cause: An operation was performed on a context that has already been used (so is not "clean"). Action: Some functions must be performed on a newly initialized context before being used for parsing. For example, setting a shared DTD. Change the code and do the call before parsing.