comparison Lib/IMPL/Web/View/Metadata/FormMeta.pm @ 389:5aff94ba842f

DOM Schema refactoring complete
author cin
date Wed, 12 Feb 2014 13:36:24 +0400
parents 4cc6cc370fb2
children
comparison
equal deleted inserted replaced
388:648dfaf642e0 389:5aff94ba842f
93 return $errors; 93 return $errors;
94 } 94 }
95 95
96 sub _IsOwnError { 96 sub _IsOwnError {
97 my ($nodes,$source,$err) = @_; 97 my ($nodes,$source,$err) = @_;
98 98
99 #TODO: review filter 99 return 1 if ($err->node && grep($err->node == $_, @$nodes)) || (not(@$nodes) && $err->schemaNode && $err->schemaNode == $source );
100 return 1 if ($err->node && grep($err->node == $_, @$nodes)) || (not(@$nodes) && $err->schema == $source );
101 100
102 return 0; 101 return 0;
103 } 102 }
104 103
105 sub _IsErrorRelates { 104 sub _IsErrorRelates {