strdup not available on every platform
Merge branch 'master' of github.com:simsong/dfxml