Fix issue #86, use ByteArray instead of String to convert XdmNodes to InputSources.
Use XdmNode .asSource() instead of my own kludgy hack
Fix issue #84 remove memory leak
Fix issue #81 treat namespace nodes like attribute nodes