parse

Parse a CoT XML event string into a TakPacketV2Data.

Throws

if the XML contains a prohibited DOCTYPE or ENTITY declaration (XXE / entity-expansion guard) or is otherwise unparseable.