issue 1126: Better handling of bad RSML