tinkertim
01-01-2008, 10:42 PM
I'm putting the finishing touches on some free & open source GNU/Linux utilities that I've been working on and I want to start using XML for configuration and start up files. The stuff that I'm writing is designed to work on very limited systems (appliances, small VMs, etc).
I'm looking for a very, very shrunken set of XML handlers (very basic) that I could statically link in the build and still keep things rather small. I won't be using 3/4 of what's available in libxml / expat and others. Part of the appeal of the programs that I'm making is that they don't depend on the kernel or shared objects beyond basic glibc, yet they're tiny.
When I added encryption I had to hack the heck out of beecrypt to take out so much stuff that I'm not using (and statically link blowfish stuff while keeping the executable tiny). I'm hoping to not have to gut libxml / expat in a similar fashion.
It would take me just about as long to write the half dozen functions that I'd need as it would take to grab just what I need out of the bigger libraries. Prior to doing either, I figured I'd post around a bit to see if anyone happened to stumble across something that's already done. I found a few things, but all Windows-centric.
Thanks in advance :) I hate re-inventing wheels needlessly.
I'm looking for a very, very shrunken set of XML handlers (very basic) that I could statically link in the build and still keep things rather small. I won't be using 3/4 of what's available in libxml / expat and others. Part of the appeal of the programs that I'm making is that they don't depend on the kernel or shared objects beyond basic glibc, yet they're tiny.
When I added encryption I had to hack the heck out of beecrypt to take out so much stuff that I'm not using (and statically link blowfish stuff while keeping the executable tiny). I'm hoping to not have to gut libxml / expat in a similar fashion.
It would take me just about as long to write the half dozen functions that I'd need as it would take to grab just what I need out of the bigger libraries. Prior to doing either, I figured I'd post around a bit to see if anyone happened to stumble across something that's already done. I found a few things, but all Windows-centric.
Thanks in advance :) I hate re-inventing wheels needlessly.
