LibXML - ParseDoc fails

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

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Snap :-p
SuperStrict

Framework bah.libxml
Import brl.standardio

Const BOM_UTF8:String = Chr(239) + Chr(187) + Chr(191)

Local s:String = "<?xml version=~q1.0~q?><root/>"

Local doc:TxmlDoc = TxmlDoc.ParseDoc(BOM_UTF8 + s)

...
Entity: line 1: parser error : Start tag expected, '<' not found
<?xml version="1.0"?><root/>