XMLCoder icon indicating copy to clipboard operation
XMLCoder copied to clipboard

Easy XML parsing using Codable protocols in Swift

Results 65 XMLCoder issues
Sort by recently updated
recently updated
newest added

This PR adds a new public type, `XMLPositionIndexed`. This type can be used within a decoding tree to retain the indexing information of the private type `KeyedStorage`. ## Why is...

The existing implementation was wrong, when the element is empty we set an empty xml tag. We should simply not set it. Example : ` structure Test { var Title:...

Does this library support multiple attributes? Decoding something like this throws an error. ``` Hello Goodbye ``` The error thrown is `"Error Domain=NSXMLParserErrorDomain Code=111 "(null)""` Any ideas?

A couple of the `XMLDecoder.DateDecodingStrategy` cases describe themselves as the default: https://github.com/CoreOffice/XMLCoder/blob/394ddf67af04d2221735fa67ea0a374f3473ddf6/Sources/XMLCoder/Decoder/XMLDecoder.swift#L17-L23 The actual default is `.secondsSince1970`: https://github.com/CoreOffice/XMLCoder/blob/394ddf67af04d2221735fa67ea0a374f3473ddf6/Sources/XMLCoder/Decoder/XMLDecoder.swift#L241-L242 I'm wondering if just the comment or the default value is wrong....

I used to use 0.8.0 which decoded fine XML attributes, with enum CodingKeys ... case value. With latest, it does not work anymore. Needed to write case value = ""...

Moving away from **NSXMLParser** (Objective-c) in my app to **Decodable** makes this library very handy. Thank you for forking and maintaining it. I have a **Goodreads XML** response which I'm...

I hava a .xsd with this type. I've tried to decode the elements from ##other into an array but without success. There are several types with ##other or ##any namespaces....

Hey, at first thanks a lot for making this library, great work! I am rather new to the XML game and trying to decode WebDAV responses. So I have the...

This might be more general Codable related problem. Please let me know if you think it's beyond the scope of this project. I have some xml data that looks like...

Hi, first of all, thanks for this project. I'm just starting with Swift and so far this library hasn't been hard to understand. However, I'm having a problem when it...