XMLCoder Documentation

Enumeration XMLDecoder.​Non​Conforming​Float​Decoding​Strategy

public enum NonConformingFloatDecodingStrategy  

The strategy to use for non-XML-conforming floating-point values (IEEE 754 infinity and NaN).

Member Of


XMLDecoder facilitates the decoding of XML into semantic Decodable types.

Enumeration Cases


case `throw`

Throw upon encountering non-conforming values. This is the default strategy.


case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String) 

Decode the values from the given representation strings.