Ensure DS digest_type is a string for XML.