Set need_xml_base attr if xml base needed when parsing