Optional
The level of entities to support.
EntityLevel.XML
Decoding mode. If Legacy, will support legacy entities not terminated with a semicolon (;).
Legacy
;
Always Strict for XML. For HTML, set this to true if you are parsing an attribute value.
Strict
true
The deprecated decodeStrict function defaults this to Strict.
decodeStrict
DecodingMode.Legacy
The level of entities to support.