CoreOffice / XMLCoder

Easy XML parsing using Codable protocols in Swift
https://coreoffice.github.io/XMLCoder/
MIT License
793 stars 104 forks source link

Fix decoding of types conforming to XMLNodeDecoding #266

Closed Alkenso closed 1 year ago

Alkenso commented 1 year ago

Fix case when XMLNodeDecoding wants to decode elementOrAttribute, but value is not present in XML Was: silently treat missing of XML child as default value for string Now: throws error

Fix error reporting when key not found for element or attribute #254

Alkenso commented 1 year ago

FYI: @Joannis

Joannis commented 1 year ago

I've added some extra tests so that it covers unkeyed containers too