diff Lib/IMPL/DOM/Schema/ComplexNode.pm @ 8:fffb153be599

DOM Schema
author Sergey
date Tue, 25 Aug 2009 17:36:37 +0400
parents 94d47b388442
children 5899df8c289e
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Schema/ComplexNode.pm	Mon Aug 24 01:05:34 2009 +0400
+++ b/Lib/IMPL/DOM/Schema/ComplexNode.pm	Tue Aug 25 17:36:37 2009 +0400
@@ -33,15 +33,7 @@
         my @errors;
         push @errors, $_->Validate foreach @{$this->childNodes};
         
-        if (@errors and $this->Message) {
-            return {
-                Error => 1,
-                Message => $this->formatMessage($node),
-                InnerErrors => \@errors
-            };
-        } else {
-            return @errors;
-        }
+        return @errors;
     }
 }