Open
Description
Hi,
I'm trying to parse the following XML:
<Model int="123" bool="true"> <![CDATA[string]> </Model>
Into this struct:
struct Model: Codable { let string: String let int: Int let bool: Bool enum CodingKeys: String, CodingKey { case int case bool case string = "" } }
But string stays empty. If I replace <![CDATA[string]> with string all things work as expected.