Capturing offending XML content