flash xml parser failure

91 views
Skip to first unread message

Michael Baczynski

unread,
Dec 21, 2012, 2:06:21 PM12/21/12
to haxe...@googlegroups.com
Hi,

anyone knows why this fails:

var str = "<foo attr='<'></foo>";
var xml = Xml.parse(str);

TypeError: Error #1095: XML parser failure: Unterminated attribute.

at Xml$/parse()[C:\Motion-Twin\Haxe3/std/flash/_std/Xml.hx:53]
at T$/main()[src/T.hx:7]
at boot_3fa8/init()[?:1]
at flash::Boot/start()[C:\Motion-Twin\Haxe3/std/flash/Boot.hx:70]
at boot_3fa8()[C:\Motion-Twin\Haxe3/std/flash/Boot.hx:38]

works in other targets.. is the less-than character reserved in some way?

best,
Michael
Reply all
Reply to author
Forward
0 new messages