codegen: Verify that we're generating valid XML

We should output valid XML even when getting an iffy annotation.
15 jobs for ebassi/issue-2601 in 26 minutes and 1 second (queued for 7 seconds)