Comment 3 for bug 1973060

Revision history for this message
Jason Stephenson (jstephenson) wrote :

Yes, I think we could make the changes without affecting Evergreen.

To clarify my thoughts from the bug description, we could use the code attribute if it is still present and if it isn't, then look up the error_condition and get the code using the table of suggested values in XEP-0086. If the error_condition element isn't listed, we could fallback to undefined-condition.

I was thinking that a new function could be implemented for the error_condition to code lookup. Though, I suppose that a hash map data structure could be implemented.