Filter out invalid XML characters before XML parsing. Relying on XML parse recovery mode is not sufficient, since invalid characters in an attribute makes the parser skip the remaining attributes, which leads to silently dropped fields.
Filter out invalid XML characters before XML parsing. Relying on XML
parse recovery mode is not sufficient, since invalid characters in an
attribute makes the parser skip the remaining attributes, which leads
to silently dropped fields.

KimiNewt/pyshark