COMMUNITY

XML parser parses plain text?

std

#1

Hello,

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
Stefan


#2

Open an issue on https://github.com/HaxeFoundation/haxe/issues

Play with https://try.haxe.org/#3e5d7