Sanitize invalid PCDATA characters before parsing validator output