diff 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
line wrap: on
line diff
--- a/Lib/IMPL/Web/View/Metadata/FormMeta.pm	Tue Feb 11 20:22:01 2014 +0400
+++ b/Lib/IMPL/Web/View/Metadata/FormMeta.pm	Wed Feb 12 13:36:24 2014 +0400
@@ -95,9 +95,8 @@
 
 sub _IsOwnError {
     my ($nodes,$source,$err) = @_;
-
-    #TODO: review filter
- 	return 1 if ($err->node && grep($err->node == $_, @$nodes)) || (not(@$nodes) && $err->schema == $source );
+    
+ 	return 1 if ($err->node && grep($err->node == $_, @$nodes)) || (not(@$nodes) && $err->schemaNode && $err->schemaNode == $source );
     
     return 0;
 }