Don't enumerate SASL mechanisms
It's impossible to know at compile time the list of mechanisms that are available at runtime, not least because SASL is designed to be readily extended by new mechanisms.
If xmpp-parsers wants to check mechanism names for validity it could however check if they match [A-Z0-9-_]{1,20}
as per RFC2222.