bji / libs3

Other
154 stars 151 forks source link

tinyxml2 #71

Open jonsmirl opened 6 years ago

jonsmirl commented 6 years ago

tinyxml2 would make a lot of your XML woes go away. It is what Amazon uses in their C++ SDK. I poked around adding it but the changes are very invasive - half of the code in libs3 will disappear. It also removes the external dependency on 8MB libxml2 which is important for embedded systems.

https://github.com/leethomason/tinyxml2

I do wish libs3 was MIT or Apache licensed so that I can directly link to it. I can't direct link LGPL3 since it conflicts with the license of other code I link to. I would have to leave it as a shared object which complicates things. When direct linking the linker can eliminate unused functions making things smaller.