XML parser parses plain text?


i am new to Haxe and like it very much. I have a question on the XML parser. Parsing a plain text string does not throw an exception. Should for example

xml = Xml.parse(“Hello World”);

not throw an exception? Tested with version 3.4.4 on Windows.

Thanks + Greetings

Open an issue on Issues · HaxeFoundation/haxe · GitHub

Play with Try Haxe !