LibXML - ParseDoc fails

BlitzMax Modules Forums/Brucey's Modules/LibXML - ParseDoc fails

Could be an issue related to my conversion of the string from Max 16-bit format to UTF-8, which mangles the BOM.