try to detect if input text changed manually is xml