update xml_encoder, only negatives are failures