Nicolas Cannasse 19 yıl önce
ebeveyn
işleme
b1c7f74f28
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      std/haxe/xml/Check.hx

+ 1 - 1
std/haxe/xml/Check.hx

@@ -278,7 +278,7 @@ class Check {
 	}
 
 	public static function checkNode( x : Xml, r : Rule ) {
-		var m = check(x,r);
+		var m = checkList([x].iterator(),r);
 		if( m == CMatch )
 			return;
 		throw makeError(m);