fix XmlDocument::LoadStr bug