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

XMLDecoder facilitates the decoding of XML into semantic Decodable types.

Enumeration Cases

`throw`

case `throw`

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

convert​From​String

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

Decode the values from the given representation strings.