Decodes an XLIFF unit type into a MsgFormat. Accepts msg:MF1 (canonical) and bare MF1 for resilience.
type
msg:MF1
MF1
undefined when type is missing or not a recognized format
Decodes an XLIFF unit
typeinto a MsgFormat. Acceptsmsg:MF1(canonical) and bareMF1for resilience.