At the moment, generate_hash_secret_salt uses fallback code when high quality sources of entropy fail to serve entropy. For the future we could propagate errors upwards so that XML_Parse/XML_ParseBuffer fails with an error, instead. We may need a new error code and consider pros and cons of that approach.
The call tree is:
XML_Parse/XML_ParseBuffer
startParsing
generate_hash_secret_salt