Browse Source

default value fix

Simon Krajewski 11 years ago
parent
commit
204daef1a5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/haxe/rtti/XmlParser.hx

+ 1 - 1
std/haxe/rtti/XmlParser.hx

@@ -575,7 +575,7 @@ class XmlParser {
 					name : a,
 					opt : opt,
 					t : xtype(e),
-					value : v
+					value : v == "" ? null : v
 				});
 			}
 			var ret = args.last();