diff Lib/IMPL/DOM/Schema/ComplexNode.pm @ 105:a6e9759ff88a

Fixed a validation errors parameters
author wizard
date Tue, 11 May 2010 02:59:49 +0400
parents 16ada169ca75
children 76515373dac0
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Schema/ComplexNode.pm	Tue May 11 02:42:59 2010 +0400
+++ b/Lib/IMPL/DOM/Schema/ComplexNode.pm	Tue May 11 02:59:49 2010 +0400
@@ -25,9 +25,9 @@
 }
 
 sub Validate {
-    my ($this,$node) = @_;
+    my ($this,$node,$ctx) = @_;
     
-    map $_->Validate($node), @{$this->childNodes};
+    map $_->Validate($node,$ctx), @{$this->childNodes};
 }
 
 1;