diff Lib/IMPL/DOM/Schema/Validator/Compare.pm @ 236:2904da230022

DOM refactoring
author sergey
date Mon, 15 Oct 2012 04:23:01 +0400
parents 4d0e1962161c
children b8c724f6de36
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Schema/Validator/Compare.pm	Fri Oct 12 02:08:51 2012 +0400
+++ b/Lib/IMPL/DOM/Schema/Validator/Compare.pm	Mon Oct 15 04:23:01 2012 +0400
@@ -129,20 +129,20 @@
         }
         
         push @result, new IMPL::DOM::Schema::ValidationError(
-            Node => $node,
-            ForeignNode => $foreignNode,
-            Value => $value,
-            Source => $Source,
-            Schema => $this->parentNode,
-            Message => $this->message
+            node => $node,
+            foreignNode => $foreignNode,
+            value => $value,
+            source => $Source,
+            schema => $this->parentNode,
+            message => $this->message
         ) unless $this->op->(_resovleProperty($node,$this->targetProperty),$value);
     } elsif (not $this->optional) {
         push @result,  new IMPL::DOM::Schema::ValidationError(
-            Node => $node,
-            Value => '',
-            Source => $Source,
-            Schema => $this->parentNode,
-            Message => $this->message
+            node => $node,
+            value => '',
+            source => $Source,
+            schema => $this->parentNode,
+            message => $this->message
         );
     }