Some of the characters previously replaced with character entities were still causing problems. Instead of converting the characters, add functions to help detecting whether the characters are present. These can be invoked in the workflow to send an error message when problem characters are found in the XML string.
Re issue https://github.com/elifesciences/issues/issues/7432
Some of the characters previously replaced with character entities were still causing problems. Instead of converting the characters, add functions to help detecting whether the characters are present. These can be invoked in the workflow to send an error message when problem characters are found in the XML string.