comparison 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
comparison
equal deleted inserted replaced
104:196bf443b5e1 105:a6e9759ff88a
23 sub _setContent { 23 sub _setContent {
24 $_[0]->firstChild($_[1]); 24 $_[0]->firstChild($_[1]);
25 } 25 }
26 26
27 sub Validate { 27 sub Validate {
28 my ($this,$node) = @_; 28 my ($this,$node,$ctx) = @_;
29 29
30 map $_->Validate($node), @{$this->childNodes}; 30 map $_->Validate($node,$ctx), @{$this->childNodes};
31 } 31 }
32 32
33 1; 33 1;
34 34
35 __END__ 35 __END__