made autocomplete addon support nxml mode