xml_for_http prolog bug fixed