XMLCoder
XMLCoder copied to clipboard
Easy XML parsing using Codable protocols in Swift
XMLCoder should have publicly visible docs for its API. First option to consider for auto-generated docs is [Jazzy](https://github.com/realm/jazzy). Generated docs could be published with GitHub Pages.
This would allow us to remove `.xcodeproj` and to avoid conflicts as mentioned in #19. This would probably require moving benchmark baselines to a separate directory and to add a...
Hello! @MaxDesiatov thanks for this great tool. Is it possible to decode object with attribute and child element with same name but different values? For example xml: ``` ```
I'm try to decode an XML returned by an API. the result is an error: Fatal error: 'try!' expression unexpectedly raised an error: Swift.DecodingError.keyNotFound(CodingKeys(stringValue: "ns2:body", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "ns2:body",...
This test output seemed to be pretty stable up to this point, and I haven't found a different way to test the error context functionality end-to-end without being exposed to...
See comments in #246
this is likely a user issue, using the wrong method or something. Pointers appreciated. This is the XML file I want to decode ``` afaag afa ag326 wges bike ```...
There seems to be a problem decoding annotated struct members into arrays. When decoding a struct with the DynamicNodeDecoding protocol, it decodes correctly, but when using @ Element, it doesn't....
I have this element: ``, how can I read its value? It looks like `@Attribute` doesn't support namespaces?
## Tests are failing in **XCode 15** with error messages: ``` Test Suite 'XMLCoderTests.xctest' failed at 2023-09-29 21:06:45.391. Executed 330 tests, with 1 failure (0 unexpected) in 13.231 (13.339) seconds...