LiveUI / XMLCoding

XMLEncoder & XMLDecoder using the Codable protocol in Swift 4.2
MIT License
10 stars 8 forks source link

Add additional unit tests. Refined behavior around empty elements. #11

Closed tachyonics closed 6 years ago

tachyonics commented 6 years ago

Added some refinement around how empty XML elements are handled, specifically a empty string ("") and empty Data will be seen as empty elements. These changes will cause the decoder to

Added some more test cases to validate this behavior and some other generate decoding/encoding behavior. Verified the tests work on max and Linux.