add xmlParseResetEvent to control the xml_parse can stay until call access avls/sql function