Perhaps the comment here should be "if we reach here there is probably a bug in find_xml_comment()"