Fix undesirable overriding of xmlns value

This fixes and error that is caused by an xmlns:tns property defined in that is being overriden by the same xmlns:tns property defined in with a different value.

Fixes issue #203 and #204